Class StringColumnDef
- java.lang.Object
-
- com.zendesk.maxwell.schema.columndef.ColumnDef
-
- com.zendesk.maxwell.schema.columndef.StringColumnDef
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectasJSON(Object value, MaxwellOutputConfig config)static StringColumnDefcreate(String name, String type, short pos, String charset)booleanequals(Object o)StringgetCharset()inthashCode()StringtoSQL(Object value)StringColumnDefwithCharset(String charset)StringColumnDefwithDefaultCharset(String charset)-
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 StringColumnDef create(String name, String type, short pos, String charset)
-
getCharset
public String getCharset()
-
withCharset
public StringColumnDef withCharset(String charset)
-
withDefaultCharset
public StringColumnDef withDefaultCharset(String charset)
-
asJSON
public Object asJSON(Object value, MaxwellOutputConfig config) throws ColumnDefCastException
- Overrides:
asJSONin classColumnDef- Throws:
ColumnDefCastException
-
-