Class SetTTLStatement
- 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.SetTTLStatement
-
- All Implemented Interfaces:
IConfigStatement
- Direct Known Subclasses:
UnSetTTLStatement
public class SetTTLStatement extends Statement implements IConfigStatement
-
-
Field Summary
Fields Modifier and Type Field Description protected org.apache.iotdb.commons.path.PartialPathstorageGroupPathprotected longttl-
Fields inherited from class org.apache.iotdb.db.mpp.plan.statement.Statement
isDebug, statementType
-
-
Constructor Summary
Constructors Constructor Description SetTTLStatement()
-
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.util.List<org.apache.iotdb.commons.path.PartialPath>getPaths()QueryTypegetQueryType()Determine whether the operation to be performed is read or writeorg.apache.iotdb.commons.path.PartialPathgetStorageGroupPath()longgetTTL()voidsetStorageGroupPath(org.apache.iotdb.commons.path.PartialPath storageGroupPath)voidsetTTL(long ttl)
-
-
-
Method Detail
-
getStorageGroupPath
public org.apache.iotdb.commons.path.PartialPath getStorageGroupPath()
-
getTTL
public long getTTL()
-
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(long ttl)
-
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
-
-