Class StringLiteral
- java.lang.Object
-
- org.apache.iotdb.db.mpp.plan.statement.StatementNode
-
- org.apache.iotdb.db.mpp.plan.statement.literal.Literal
-
- org.apache.iotdb.db.mpp.plan.statement.literal.StringLiteral
-
public class StringLiteral extends Literal
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.iotdb.db.mpp.plan.statement.literal.Literal
Literal.LiteralType
-
-
Constructor Summary
Constructors Constructor Description StringLiteral(java.lang.String value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)org.apache.iotdb.tsfile.utils.BinarygetBinary()java.lang.StringgetDataTypeString()java.lang.StringgetValue()inthashCode()booleanisDataTypeConsistency(org.apache.iotdb.tsfile.file.metadata.enums.TSDataType dataType)voidserialize(java.io.DataOutputStream stream)voidserialize(java.nio.ByteBuffer byteBuffer)-
Methods inherited from class org.apache.iotdb.db.mpp.plan.statement.literal.Literal
deserialize, getBoolean, getDouble, getFloat, getInt, getLong
-
Methods inherited from class org.apache.iotdb.db.mpp.plan.statement.StatementNode
accept
-
-
-
-
Method Detail
-
getValue
public java.lang.String getValue()
-
serialize
public void serialize(java.nio.ByteBuffer byteBuffer)
-
serialize
public void serialize(java.io.DataOutputStream stream) throws java.io.IOException
-
isDataTypeConsistency
public boolean isDataTypeConsistency(org.apache.iotdb.tsfile.file.metadata.enums.TSDataType dataType)
- Specified by:
isDataTypeConsistencyin classLiteral
-
getDataTypeString
public java.lang.String getDataTypeString()
- Specified by:
getDataTypeStringin classLiteral
-
getBinary
public org.apache.iotdb.tsfile.utils.Binary getBinary()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-