Class ScalarTypeBoolean.Native
java.lang.Object
io.ebean.core.type.ScalarTypeBase<Boolean>
io.ebeaninternal.server.type.ScalarTypeBoolean.BooleanBase
io.ebeaninternal.server.type.ScalarTypeBoolean.Native
- All Implemented Interfaces:
ScalarDataReader<Boolean>, ScalarType<Boolean>, StringFormatter, StringParser, ScalarTypeBool, ScalarTypeLogicalType
- Enclosing class:
ScalarTypeBoolean
-
Field Summary
Fields inherited from class ScalarTypeBase
jdbcNative, jdbcType, type -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbind(DataBinder binder, Boolean value) Return the DB literal value for false.Return the DB literal value for true.read(DataReader reader) toBeanType(Object value) toJdbcType(Object value) Methods inherited from class ScalarTypeBoolean.BooleanBase
docType, formatValue, getLogicalType, jsonRead, jsonWrite, parse, readData, writeDataMethods inherited from class ScalarTypeBase
jdbcNative, jdbcType, typeMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ScalarType
asVersion, binary, format, isDirty, jdbcNative, jdbcType, jsonMapper, length, mutable, type
-
Constructor Details
-
Native
public Native()Native Boolean database type.
-
-
Method Details
-
getDbFalseLiteral
Description copied from class:ScalarTypeBoolean.BooleanBaseReturn the DB literal value for false.- Specified by:
getDbFalseLiteralin interfaceScalarTypeBool- Specified by:
getDbFalseLiteralin classScalarTypeBoolean.BooleanBase
-
getDbTrueLiteral
Description copied from class:ScalarTypeBoolean.BooleanBaseReturn the DB literal value for true.- Specified by:
getDbTrueLiteralin interfaceScalarTypeBool- Specified by:
getDbTrueLiteralin classScalarTypeBoolean.BooleanBase
-
toBeanType
-
toJdbcType
-
bind
- Throws:
SQLException
-
read
- Throws:
SQLException
-