Class SetStorageGroupStatement
- java.lang.Object
-
- org.apache.iotdb.db.mpp.plan.statement.StatementNode
-
- org.apache.iotdb.db.mpp.plan.statement.Statement
-
- org.apache.iotdb.db.mpp.plan.statement.metadata.SetStorageGroupStatement
-
- All Implemented Interfaces:
IConfigStatement
public class SetStorageGroupStatement extends Statement implements IConfigStatement
-
-
Field Summary
-
Fields inherited from class org.apache.iotdb.db.mpp.plan.statement.Statement
isDebug, statementType
-
-
Constructor Summary
Constructors Constructor Description SetStorageGroupStatement()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R,C>
Raccept(StatementVisitor<R,C> visitor, C context)Accessible forStatementVisitor, useStatementVisitor.process(StatementNode, Object)instead.java.lang.IntegergetDataReplicationFactor()java.util.List<org.apache.iotdb.commons.path.PartialPath>getPaths()QueryTypegetQueryType()Determine whether the operation to be performed is read or writejava.lang.IntegergetSchemaReplicationFactor()org.apache.iotdb.commons.path.PartialPathgetStorageGroupPath()java.lang.LonggetTimePartitionInterval()java.lang.LonggetTTL()voidsetDataReplicationFactor(java.lang.Integer dataReplicationFactor)voidsetSchemaReplicationFactor(java.lang.Integer schemaReplicationFactor)voidsetStorageGroupPath(org.apache.iotdb.commons.path.PartialPath storageGroupPath)voidsetTimePartitionInterval(java.lang.Long timePartitionInterval)voidsetTtl(java.lang.Long ttl)
-
-
-
Method Detail
-
getStorageGroupPath
public org.apache.iotdb.commons.path.PartialPath getStorageGroupPath()
-
accept
public <R,C> R accept(StatementVisitor<R,C> visitor, C context)
Description copied from class:StatementNodeAccessible forStatementVisitor, useStatementVisitor.process(StatementNode, Object)instead.- Overrides:
acceptin classStatementNode
-
setStorageGroupPath
public void setStorageGroupPath(org.apache.iotdb.commons.path.PartialPath storageGroupPath)
-
setTtl
public void setTtl(java.lang.Long ttl)
-
setSchemaReplicationFactor
public void setSchemaReplicationFactor(java.lang.Integer schemaReplicationFactor)
-
setDataReplicationFactor
public void setDataReplicationFactor(java.lang.Integer dataReplicationFactor)
-
setTimePartitionInterval
public void setTimePartitionInterval(java.lang.Long timePartitionInterval)
-
getQueryType
public QueryType getQueryType()
Description copied from interface:IConfigStatementDetermine whether the operation to be performed is read or write- Specified by:
getQueryTypein interfaceIConfigStatement- Returns:
- QueryType
-
getPaths
public java.util.List<org.apache.iotdb.commons.path.PartialPath> getPaths()
-
getTTL
public java.lang.Long getTTL()
-
getSchemaReplicationFactor
public java.lang.Integer getSchemaReplicationFactor()
-
getDataReplicationFactor
public java.lang.Integer getDataReplicationFactor()
-
getTimePartitionInterval
public java.lang.Long getTimePartitionInterval()
-
-