Class InsertTabletStatement
- 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.InsertTabletStatement
-
public class InsertTabletStatement 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 InsertTabletStatement()
-
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)org.apache.iotdb.tsfile.utils.BitMap[]getBitMaps()java.lang.Object[]getColumns()java.util.List<org.apache.iotdb.commons.path.PartialPath>getPaths()intgetRowCount()java.util.List<org.apache.iotdb.common.rpc.thrift.TTimePartitionSlot>getTimePartitionSlots()long[]getTimes()booleanisEmpty()Returns true when this statement is empty and no need to write into the servervoidsetBitMaps(org.apache.iotdb.tsfile.utils.BitMap[] bitMaps)voidsetColumns(java.lang.Object[] columns)voidsetRowCount(int rowCount)voidsetTimes(long[] times)-
Methods inherited from class org.apache.iotdb.db.mpp.plan.statement.crud.InsertBaseStatement
getDataTypes, getDevicePath, getMeasurements, isAligned, setAligned, setDataTypes, setDevicePath, setMeasurements
-
-
-
-
Method Detail
-
getRowCount
public int getRowCount()
-
setRowCount
public void setRowCount(int rowCount)
-
getColumns
public java.lang.Object[] getColumns()
-
setColumns
public void setColumns(java.lang.Object[] columns)
-
getBitMaps
public org.apache.iotdb.tsfile.utils.BitMap[] getBitMaps()
-
setBitMaps
public void setBitMaps(org.apache.iotdb.tsfile.utils.BitMap[] bitMaps)
-
getTimes
public long[] getTimes()
-
setTimes
public void setTimes(long[] times)
-
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
-
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
-
-