Class InsertRowStatement
- 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.InsertRowStatement
-
public class InsertRowStatement 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 InsertRowStatement()
-
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)voidfillValues(java.nio.ByteBuffer buffer)java.util.List<org.apache.iotdb.commons.path.PartialPath>getPaths()longgetTime()java.util.List<org.apache.iotdb.common.rpc.thrift.TTimePartitionSlot>getTimePartitionSlots()java.lang.Object[]getValues()booleanisEmpty()Returns true when this statement is empty and no need to write into the serverbooleanisNeedInferType()voidsetNeedInferType(boolean needInferType)voidsetTime(long time)voidsetValues(java.lang.Object[] values)-
Methods inherited from class org.apache.iotdb.db.mpp.plan.statement.crud.InsertBaseStatement
getDataTypes, getDevicePath, getMeasurements, isAligned, setAligned, setDataTypes, setDevicePath, setMeasurements
-
-
-
-
Method Detail
-
getPaths
public java.util.List<org.apache.iotdb.commons.path.PartialPath> getPaths()
- Overrides:
getPathsin classInsertBaseStatement
-
getTime
public long getTime()
-
setTime
public void setTime(long time)
-
getValues
public java.lang.Object[] getValues()
-
setValues
public void setValues(java.lang.Object[] values)
-
isNeedInferType
public boolean isNeedInferType()
-
setNeedInferType
public void setNeedInferType(boolean needInferType)
-
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
-
fillValues
public void fillValues(java.nio.ByteBuffer buffer) throws QueryProcessException- Throws:
QueryProcessException
-
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
-
-