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 Object
asJSON(Object value, MaxwellOutputConfig config)
static IntColumnDef
create(String name, String type, short pos, boolean signed)
boolean
equals(Object o)
int
hashCode()
boolean
isSigned()
String
toSQL(Object value)
IntColumnDef
withSigned(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:
toSQL
in classColumnDef
- Throws:
ColumnDefCastException
-
asJSON
public Object asJSON(Object value, MaxwellOutputConfig config) throws ColumnDefCastException
- Overrides:
asJSON
in classColumnDef
- Throws:
ColumnDefCastException
-
isSigned
public boolean isSigned()
-
withSigned
public IntColumnDef withSigned(boolean signed)
-
-