Java Code Examples for com.datastax.driver.core.DataType#time()
The following examples show how to use
com.datastax.driver.core.DataType#time() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: CassandraTypeConverterTest.java From debezium-incubator with Apache License 2.0 | 5 votes |
@Test public void testTime() { DataType timeType = DataType.time(); AbstractType<?> convertedType = CassandraTypeConverter.convert(timeType); TimeType expectedType = TimeType.instance; Assert.assertEquals(expectedType, convertedType); }
Example 2
Source File: JavaSqlTimeCodec.java From cassandra-jdbc-driver with Apache License 2.0 | 4 votes |
private JavaSqlTimeCodec() { super(DataType.time(), Time.class); }
Example 3
Source File: StringTimeCodec.java From cassandra-jdbc-driver with Apache License 2.0 | 4 votes |
private StringTimeCodec() { super(DataType.time(), String.class); }