Class MetaFormatUtils
- java.lang.Object
-
- org.apache.iotdb.db.metadata.utils.MetaFormatUtils
-
public class MetaFormatUtils extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String[]RESERVED_NODE_NAMES
-
Constructor Summary
Constructors Constructor Description MetaFormatUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidcheckNodeName(java.lang.String name)check whether the node name is well formattedstatic voidcheckSchemaMeasurementNames(java.util.List<java.lang.String> measurements)check whether the measurement ids in schema is well formattedstatic voidcheckStorageGroup(java.lang.String storageGroup)check whether the storageGroup name uses illegal charactersstatic voidcheckTimeseries(org.apache.iotdb.commons.path.PartialPath timeseries)check whether the given path is well formattedstatic voidcheckTimeseriesProps(java.lang.String path, java.util.Map<java.lang.String,java.lang.String> props)check props when creating timeseries
-
-
-
Method Detail
-
checkTimeseries
public static void checkTimeseries(org.apache.iotdb.commons.path.PartialPath timeseries) throws org.apache.iotdb.commons.exception.IllegalPathExceptioncheck whether the given path is well formatted- Throws:
org.apache.iotdb.commons.exception.IllegalPathException
-
checkNodeName
public static void checkNodeName(java.lang.String name) throws org.apache.iotdb.commons.exception.MetadataExceptioncheck whether the node name is well formatted- Throws:
org.apache.iotdb.commons.exception.MetadataException
-
checkSchemaMeasurementNames
public static void checkSchemaMeasurementNames(java.util.List<java.lang.String> measurements) throws org.apache.iotdb.commons.exception.MetadataExceptioncheck whether the measurement ids in schema is well formatted- Throws:
org.apache.iotdb.commons.exception.MetadataException
-
checkStorageGroup
public static void checkStorageGroup(java.lang.String storageGroup) throws org.apache.iotdb.commons.exception.IllegalPathExceptioncheck whether the storageGroup name uses illegal characters- Throws:
org.apache.iotdb.commons.exception.IllegalPathException
-
checkTimeseriesProps
public static void checkTimeseriesProps(java.lang.String path, java.util.Map<java.lang.String,java.lang.String> props) throws IllegalParameterOfPathExceptioncheck props when creating timeseries- Throws:
IllegalParameterOfPathException
-
-