/** * Factory method for {@link CqlIdentifier}. * * @since 2.0 */ public static CqlIdentifier of(CharSequence identifier) { return new CqlIdentifier(identifier); }
/** * Factory method for {@link CqlIdentifier}. * * @since 2.0 */ public static CqlIdentifier of(CharSequence identifier, boolean forceQuote) { return new CqlIdentifier(identifier, forceQuote); }
/** * Factory method for a force-quoted {@link CqlIdentifier}. Convenient if imported statically. * * @see #CqlIdentifier(CharSequence, boolean) * @deprecated since 2.0, use {@link #quoted(CharSequence)}. */ public static CqlIdentifier quotedCqlId(CharSequence identifier) { return new CqlIdentifier(identifier, true); }
/** * Factory method for a force-quoted {@link CqlIdentifier}. * * @since 2.0. */ public static CqlIdentifier quoted(CharSequence identifier) { return new CqlIdentifier(identifier, true); }
/** * Factory method for {@link CqlIdentifier}. Convenient if imported statically. * * @see #CqlIdentifier(CharSequence, boolean) * @deprecated since 2.0, use {@link #of(CharSequence, boolean)} */ @Deprecated public static CqlIdentifier cqlId(CharSequence identifier, boolean forceQuote) { return new CqlIdentifier(identifier, forceQuote); }
/** * Factory method for {@link CqlIdentifier}. Convenient if imported statically. * * @see #CqlIdentifier(CharSequence) * @deprecated since 2.0, use {@link #of(CharSequence)} */ @Deprecated public static CqlIdentifier cqlId(CharSequence identifier) { return new CqlIdentifier(identifier); }