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 Object
asJSON(Object value, MaxwellOutputConfig config)
static StringColumnDef
create(String name, String type, short pos, String charset)
boolean
equals(Object o)
String
getCharset()
int
hashCode()
String
toSQL(Object value)
StringColumnDef
withCharset(String charset)
StringColumnDef
withDefaultCharset(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:
asJSON
in classColumnDef
- Throws:
ColumnDefCastException
-
-