Class DateTimeColumnDef
- java.lang.Object
-
- com.zendesk.maxwell.schema.columndef.ColumnDef
-
- com.zendesk.maxwell.schema.columndef.ColumnDefWithLength
-
- com.zendesk.maxwell.schema.columndef.DateTimeColumnDef
-
- All Implemented Interfaces:
Cloneable
public class DateTimeColumnDef extends ColumnDefWithLength
-
-
Field Summary
-
Fields inherited from class com.zendesk.maxwell.schema.columndef.ColumnDefWithLength
threadLocalBuilder
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DateTimeColumnDef
create(String name, String type, short pos, Long columnLength)
protected String
formatValue(Object value, MaxwellOutputConfig config)
-
Methods inherited from class com.zendesk.maxwell.schema.columndef.ColumnDefWithLength
appendFractionalSeconds, asJSON, equals, getColumnLength, hashCode, toSQL, withColumnLength
-
Methods inherited from class com.zendesk.maxwell.schema.columndef.ColumnDef
asJSON, build, clone, cloneSelfAndSet, getInterner, getName, getPos, getType, unalias_type, withName, withPos
-
-
-
-
Method Detail
-
create
public static DateTimeColumnDef create(String name, String type, short pos, Long columnLength)
-
formatValue
protected String formatValue(Object value, MaxwellOutputConfig config) throws ColumnDefCastException
- Specified by:
formatValue
in classColumnDefWithLength
- Throws:
ColumnDefCastException
-
-