/** * Build the datatype representation of a complex UDT type, to include in a schema builder * statement. * * <p>As of Cassandra 2.1, this method is not strictly necessary because {@link Create} and {@link * Alter} provide specialized methods to express simple collections of UDTs, but future versions * will make it possible to use types such as <code> * map<text, map<text, frozen<user>>></code>. * * @param literal the type literal as it will appear in the final CQL statement. * @return the type. */ public static UDTType udtLiteral(String literal) { return UDTType.literal(literal); }
/** * Build the datatype representation of a complex UDT type, to include in a schema builder statement. * <p/> * As of Cassandra 2.1, this method is not strictly necessary because {@link Create} and {@link Alter} * provide specialized methods to express simple collections of UDTs, but future versions will make it * possible to use types such as <code>map<text, map<text, frozen<user>>></code>. * * @param literal the type literal as it will appear in the final CQL statement. * @return the type. */ public static UDTType udtLiteral(String literal) { return UDTType.literal(literal); }
/** * Build the datatype representation of a complex UDT type, to include in a schema builder statement. * <p/> * As of Cassandra 2.1, this method is not strictly necessary because {@link Create} and {@link Alter} * provide specialized methods to express simple collections of UDTs, but future versions will make it * possible to use types such as <code>map<text, map<text, frozen<user>>></code>. * * @param literal the type literal as it will appear in the final CQL statement. * @return the type. */ public static UDTType udtLiteral(String literal) { return UDTType.literal(literal); }
/** * Build the datatype representation of a complex UDT type, to include in a schema builder statement. * <p/> * As of Cassandra 2.1, this method is not strictly necessary because {@link Create} and {@link Alter} * provide specialized methods to express simple collections of UDTs, but future versions will make it * possible to use types such as <code>map<text, map<text, frozen<user>>></code>. * * @param literal the type literal as it will appear in the final CQL statement. * @return the type. */ public static UDTType udtLiteral(String literal) { return UDTType.literal(literal); }