Class TimeColumnDef
- java.lang.Object
-
- com.zendesk.maxwell.schema.columndef.ColumnDef
-
- com.zendesk.maxwell.schema.columndef.ColumnDefWithLength
-
- com.zendesk.maxwell.schema.columndef.TimeColumnDef
-
- All Implemented Interfaces:
Cloneable
public class TimeColumnDef extends ColumnDefWithLength
-
-
Field Summary
-
Fields inherited from class com.zendesk.maxwell.schema.columndef.ColumnDefWithLength
columnLength, threadLocalBuilder
-
-
Constructor Summary
Constructors Constructor Description TimeColumnDef(String name, String type, short pos, Long columnLength)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
formatValue(Object value, MaxwellOutputConfig config)
-
Methods inherited from class com.zendesk.maxwell.schema.columndef.ColumnDefWithLength
appendFractionalSeconds, asJSON, getColumnLength, setColumnLength, toSQL
-
-
-
-
Method Detail
-
formatValue
protected String formatValue(Object value, MaxwellOutputConfig config) throws ColumnDefCastException
- Specified by:
formatValue
in classColumnDefWithLength
- Throws:
ColumnDefCastException
-
-