Package org.yamcs.yarch
Class TableDefinitionRepresenter
- java.lang.Object
-
- org.yaml.snakeyaml.representer.BaseRepresenter
-
- org.yaml.snakeyaml.representer.Representer
-
- org.yamcs.yarch.TableDefinitionRepresenter
-
public class TableDefinitionRepresenter extends org.yaml.snakeyaml.representer.Representer
Serializes TableDefinition to yaml format
-
-
Field Summary
Fields Modifier and Type Field Description protected Map<Class<? extends Object>,org.yaml.snakeyaml.nodes.Tag>
classTags
static String
K_COMPRESSED
static String
K_DATA_DIR
static String
K_ENUM_VALUE
static String
K_FORMAT_VERSION
static String
K_HISTOGRAM
static String
K_KEY_DEF
static String
K_PARTITION_STORAGE
static String
K_PARTITIONING_SPEC
static String
K_STORAGE_ENGINE
static String
K_TIME_COLUMN
static String
K_TIME_PARTITIONING_SCHEMA
static String
K_VALUE_COLUMN
static String
K_VALUE_DEF
static Pattern
MULTILINE_PATTERN
protected TimeZone
timeZone
-
Constructor Summary
Constructors Constructor Description TableDefinitionRepresenter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.yaml.snakeyaml.nodes.Tag
addClassTag(Class<? extends Object> arg0, org.yaml.snakeyaml.nodes.Tag arg1)
protected org.yaml.snakeyaml.nodes.Tag
getTag(Class<?> arg0, org.yaml.snakeyaml.nodes.Tag arg1)
TimeZone
getTimeZone()
void
setTimeZone(TimeZone arg0)
-
Methods inherited from class org.yaml.snakeyaml.representer.Representer
addTypeDescription, checkGlobalTag, getProperties, representJavaBean, representJavaBeanProperty, setPropertyUtils
-
Methods inherited from class org.yaml.snakeyaml.representer.BaseRepresenter
getDefaultFlowStyle, getDefaultScalarStyle, getPropertyUtils, isExplicitPropertyUtils, represent, representData, representMapping, representScalar, representScalar, representSequence, setDefaultFlowStyle, setDefaultScalarStyle
-
-
-
-
Field Detail
-
K_COMPRESSED
public static final String K_COMPRESSED
- See Also:
- Constant Field Values
-
K_KEY_DEF
public static final String K_KEY_DEF
- See Also:
- Constant Field Values
-
K_VALUE_DEF
public static final String K_VALUE_DEF
- See Also:
- Constant Field Values
-
K_DATA_DIR
public static final String K_DATA_DIR
- See Also:
- Constant Field Values
-
K_HISTOGRAM
public static final String K_HISTOGRAM
- See Also:
- Constant Field Values
-
K_ENUM_VALUE
public static final String K_ENUM_VALUE
- See Also:
- Constant Field Values
-
K_PARTITIONING_SPEC
public static final String K_PARTITIONING_SPEC
- See Also:
- Constant Field Values
-
K_TIME_COLUMN
public static final String K_TIME_COLUMN
- See Also:
- Constant Field Values
-
K_VALUE_COLUMN
public static final String K_VALUE_COLUMN
- See Also:
- Constant Field Values
-
K_TIME_PARTITIONING_SCHEMA
public static final String K_TIME_PARTITIONING_SCHEMA
- See Also:
- Constant Field Values
-
K_STORAGE_ENGINE
public static final String K_STORAGE_ENGINE
- See Also:
- Constant Field Values
-
K_PARTITION_STORAGE
public static final String K_PARTITION_STORAGE
- See Also:
- Constant Field Values
-
K_FORMAT_VERSION
public static final String K_FORMAT_VERSION
- See Also:
- Constant Field Values
-
timeZone
protected TimeZone timeZone
-
MULTILINE_PATTERN
public static Pattern MULTILINE_PATTERN
-
-
Method Detail
-
getTag
protected org.yaml.snakeyaml.nodes.Tag getTag(Class<?> arg0, org.yaml.snakeyaml.nodes.Tag arg1)
-
addClassTag
public org.yaml.snakeyaml.nodes.Tag addClassTag(Class<? extends Object> arg0, org.yaml.snakeyaml.nodes.Tag arg1)
-
getTimeZone
public TimeZone getTimeZone()
-
setTimeZone
public void setTimeZone(TimeZone arg0)
-
-