Class IntColumnDef
- java.lang.Object
-
- com.zendesk.maxwell.schema.columndef.ColumnDef
-
- com.zendesk.maxwell.schema.columndef.IntColumnDef
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectasJSON(Object value, MaxwellOutputConfig config)static IntColumnDefcreate(String name, String type, short pos, boolean signed)booleanequals(Object o)inthashCode()booleanisSigned()StringtoSQL(Object value)IntColumnDefwithSigned(boolean signed)-
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 IntColumnDef create(String name, String type, short pos, boolean signed)
-
toSQL
public String toSQL(Object value) throws ColumnDefCastException
- Specified by:
toSQLin classColumnDef- Throws:
ColumnDefCastException
-
asJSON
public Object asJSON(Object value, MaxwellOutputConfig config) throws ColumnDefCastException
- Overrides:
asJSONin classColumnDef- Throws:
ColumnDefCastException
-
isSigned
public boolean isSigned()
-
withSigned
public IntColumnDef withSigned(boolean signed)
-
-