Class StringColumnDef
- java.lang.Object
-
- com.zendesk.maxwell.schema.columndef.ColumnDef
-
- com.zendesk.maxwell.schema.columndef.StringColumnDef
-
-
Constructor Summary
Constructors Constructor Description StringColumnDef(String name, String type, short pos, String charset)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
asJSON(Object value, MaxwellOutputConfig config)
String
getCharset()
void
setCharset(String charset)
void
setDefaultCharset(String e)
String
toSQL(Object value)
-
-
-
Field Detail
-
charset
public String charset
-
-
Method Detail
-
getCharset
public String getCharset()
-
setCharset
public void setCharset(String charset)
-
setDefaultCharset
public void setDefaultCharset(String e)
-
asJSON
public Object asJSON(Object value, MaxwellOutputConfig config) throws ColumnDefCastException
- Overrides:
asJSON
in classColumnDef
- Throws:
ColumnDefCastException
-
-