Class InsertRowsOfOneDeviceStatement
- 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.crud.InsertBaseStatement
-
- org.apache.iotdb.db.mpp.plan.statement.crud.InsertRowsOfOneDeviceStatement
-
public class InsertRowsOfOneDeviceStatement extends InsertBaseStatement
-
-
Field Summary
-
Fields inherited from class org.apache.iotdb.db.mpp.plan.statement.crud.InsertBaseStatement
dataTypes, devicePath, isAligned, measurements
-
Fields inherited from class org.apache.iotdb.db.mpp.plan.statement.Statement
isDebug, statementType
-
-
Constructor Summary
Constructors Constructor Description InsertRowsOfOneDeviceStatement()
-
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.common.rpc.thrift.TEndPoint>collectRedirectInfo(org.apache.iotdb.commons.partition.DataPartition dataPartition)java.util.List<InsertRowStatement>getInsertRowStatementList()java.util.List<org.apache.iotdb.commons.path.PartialPath>getPaths()java.util.List<org.apache.iotdb.common.rpc.thrift.TTimePartitionSlot>getTimePartitionSlots()booleanisEmpty()Returns true when this statement is empty and no need to write into the servervoidsetInsertRowStatementList(java.util.List<InsertRowStatement> insertRowStatementList)-
Methods inherited from class org.apache.iotdb.db.mpp.plan.statement.crud.InsertBaseStatement
getDataTypes, getDevicePath, getMeasurements, isAligned, setAligned, setDataTypes, setDevicePath, setMeasurements
-
-
-
-
Method Detail
-
isEmpty
public boolean isEmpty()
Description copied from class:InsertBaseStatementReturns true when this statement is empty and no need to write into the server- Specified by:
isEmptyin classInsertBaseStatement
-
getInsertRowStatementList
public java.util.List<InsertRowStatement> getInsertRowStatementList()
-
setInsertRowStatementList
public void setInsertRowStatementList(java.util.List<InsertRowStatement> insertRowStatementList)
-
getTimePartitionSlots
public java.util.List<org.apache.iotdb.common.rpc.thrift.TTimePartitionSlot> getTimePartitionSlots()
-
collectRedirectInfo
public java.util.List<org.apache.iotdb.common.rpc.thrift.TEndPoint> collectRedirectInfo(org.apache.iotdb.commons.partition.DataPartition dataPartition)
- Specified by:
collectRedirectInfoin classInsertBaseStatement
-
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
-
getPaths
public java.util.List<org.apache.iotdb.commons.path.PartialPath> getPaths()
- Overrides:
getPathsin classInsertBaseStatement
-
-