Package org.apache.iotdb.db.conf
Class IoTDBDescriptor
- java.lang.Object
-
- org.apache.iotdb.db.conf.IoTDBDescriptor
-
public class IoTDBDescriptor extends java.lang.Object
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedIoTDBDescriptor()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description IoTDBConfiggetConfig()org.apache.iotdb.tsfile.file.metadata.enums.TSEncodinggetDefaultEncodingByType(org.apache.iotdb.tsfile.file.metadata.enums.TSDataType dataType)Get default encode algorithm by data typejava.nio.file.PathgetExternalPropsPath()get props url locationstatic IoTDBDescriptorgetInstance()java.net.URLgetPropsUrl()get props url locationvoidinitClusterSchemaMemoryAllocate()voidloadClusterProps(java.util.Properties properties)voidloadGlobalConfig(org.apache.iotdb.confignode.rpc.thrift.TGlobalConfig globalConfig)voidloadHotModifiedProps()voidloadHotModifiedProps(java.util.Properties properties)voidloadProperties(java.util.Properties properties)voidloadShuffleProps(java.util.Properties properties)
-
-
-
Method Detail
-
getInstance
public static IoTDBDescriptor getInstance()
-
getConfig
public IoTDBConfig getConfig()
-
getPropsUrl
public java.net.URL getPropsUrl()
get props url location- Returns:
- url object if location exit, otherwise null.
-
getExternalPropsPath
public java.nio.file.Path getExternalPropsPath()
get props url location- Returns:
- url object if location exit, otherwise null.
-
loadProperties
public void loadProperties(java.util.Properties properties)
-
loadHotModifiedProps
public void loadHotModifiedProps(java.util.Properties properties) throws QueryProcessException- Throws:
QueryProcessException
-
loadHotModifiedProps
public void loadHotModifiedProps() throws QueryProcessException- Throws:
QueryProcessException
-
loadClusterProps
public void loadClusterProps(java.util.Properties properties)
-
loadShuffleProps
public void loadShuffleProps(java.util.Properties properties)
-
getDefaultEncodingByType
public org.apache.iotdb.tsfile.file.metadata.enums.TSEncoding getDefaultEncodingByType(org.apache.iotdb.tsfile.file.metadata.enums.TSDataType dataType)
Get default encode algorithm by data type
-
loadGlobalConfig
public void loadGlobalConfig(org.apache.iotdb.confignode.rpc.thrift.TGlobalConfig globalConfig)
-
initClusterSchemaMemoryAllocate
public void initClusterSchemaMemoryAllocate()
-
-