Class InsertBaseStatement
- 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
-
- Direct Known Subclasses:
InsertMultiTabletsStatement,InsertRowsOfOneDeviceStatement,InsertRowsStatement,InsertRowStatement,InsertTabletStatement
public abstract class InsertBaseStatement extends Statement
-
-
Field Summary
Fields Modifier and Type Field Description protected org.apache.iotdb.tsfile.file.metadata.enums.TSDataType[]dataTypesprotected org.apache.iotdb.commons.path.PartialPathdevicePathif use id table, this filed is id form of device path
if not, this filed is device pathprotected booleanisAlignedprotected java.lang.String[]measurements-
Fields inherited from class org.apache.iotdb.db.mpp.plan.statement.Statement
isDebug, statementType
-
-
Constructor Summary
Constructors Constructor Description InsertBaseStatement()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract java.util.List<org.apache.iotdb.common.rpc.thrift.TEndPoint>collectRedirectInfo(org.apache.iotdb.commons.partition.DataPartition dataPartition)org.apache.iotdb.tsfile.file.metadata.enums.TSDataType[]getDataTypes()org.apache.iotdb.commons.path.PartialPathgetDevicePath()java.lang.String[]getMeasurements()java.util.List<org.apache.iotdb.commons.path.PartialPath>getPaths()booleanisAligned()abstract booleanisEmpty()Returns true when this statement is empty and no need to write into the servervoidsetAligned(boolean aligned)voidsetDataTypes(org.apache.iotdb.tsfile.file.metadata.enums.TSDataType[] dataTypes)voidsetDevicePath(org.apache.iotdb.commons.path.PartialPath devicePath)voidsetMeasurements(java.lang.String[] measurements)-
Methods inherited from class org.apache.iotdb.db.mpp.plan.statement.Statement
getType, isAuthenticationRequired, isDebug, isQuery, setDebug, setType
-
Methods inherited from class org.apache.iotdb.db.mpp.plan.statement.StatementNode
accept
-
-
-
-
Field Detail
-
devicePath
protected org.apache.iotdb.commons.path.PartialPath devicePath
if use id table, this filed is id form of device path
if not, this filed is device path
-
isAligned
protected boolean isAligned
-
measurements
protected java.lang.String[] measurements
-
dataTypes
protected org.apache.iotdb.tsfile.file.metadata.enums.TSDataType[] dataTypes
-
-
Method Detail
-
getDevicePath
public org.apache.iotdb.commons.path.PartialPath getDevicePath()
-
setDevicePath
public void setDevicePath(org.apache.iotdb.commons.path.PartialPath devicePath)
-
getMeasurements
public java.lang.String[] getMeasurements()
-
setMeasurements
public void setMeasurements(java.lang.String[] measurements)
-
getDataTypes
public org.apache.iotdb.tsfile.file.metadata.enums.TSDataType[] getDataTypes()
-
setDataTypes
public void setDataTypes(org.apache.iotdb.tsfile.file.metadata.enums.TSDataType[] dataTypes)
-
isAligned
public boolean isAligned()
-
setAligned
public void setAligned(boolean aligned)
-
isEmpty
public abstract boolean isEmpty()
Returns true when this statement is empty and no need to write into the server
-
getPaths
public java.util.List<org.apache.iotdb.commons.path.PartialPath> getPaths()
-
collectRedirectInfo
public abstract java.util.List<org.apache.iotdb.common.rpc.thrift.TEndPoint> collectRedirectInfo(org.apache.iotdb.commons.partition.DataPartition dataPartition)
-
-