Class 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 void checkNodeName​(java.lang.String name)
      check whether the node name is well formatted
      static void checkSchemaMeasurementNames​(java.util.List<java.lang.String> measurements)
      check whether the measurement ids in schema is well formatted
      static void checkStorageGroup​(java.lang.String storageGroup)
      check whether the storageGroup name uses illegal characters
      static void checkTimeseries​(org.apache.iotdb.commons.path.PartialPath timeseries)
      check whether the given path is well formatted
      static void checkTimeseriesProps​(java.lang.String path, java.util.Map<java.lang.String,​java.lang.String> props)
      check props when creating timeseries
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • RESERVED_NODE_NAMES

        public static java.lang.String[] RESERVED_NODE_NAMES
    • Constructor Detail

      • MetaFormatUtils

        public MetaFormatUtils()
    • Method Detail

      • checkTimeseries

        public static void checkTimeseries​(org.apache.iotdb.commons.path.PartialPath timeseries)
                                    throws org.apache.iotdb.commons.exception.IllegalPathException
        check 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.MetadataException
        check 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.MetadataException
        check 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.IllegalPathException
        check whether the storageGroup name uses illegal characters
        Throws:
        org.apache.iotdb.commons.exception.IllegalPathException