Interface CastDataProvider
- All Known Implementing Classes:
Database, JdbcConnection, JdbcXAConnection.PooledJdbcConnection, Session, SessionLocal, SessionRemote
public interface CastDataProvider
Provides information for type casts and comparison operations.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the current timestamp with maximum resolution.Returns the current time zone.Returns the custom Java object serializer, ornull.getMode()Returns the database mode.booleanReturns are ENUM values 0-based.
-
Method Details
-
currentTimestamp
ValueTimestampTimeZone currentTimestamp()Returns the current timestamp with maximum resolution. The value must be the same within a transaction or within execution of a command.- Returns:
- the current timestamp for CURRENT_TIMESTAMP(9)
-
currentTimeZone
-
getMode
-
getJavaObjectSerializer
JavaObjectSerializer getJavaObjectSerializer()Returns the custom Java object serializer, ornull.- Returns:
- the custom Java object serializer, or
null
-
zeroBasedEnums
boolean zeroBasedEnums()Returns are ENUM values 0-based.- Returns:
- are ENUM values 0-based
-