public class BasicString extends AbstractScalar implements Comparable<BasicString>
Entity.DATA_CATEGORY, Entity.DATA_FORM, Entity.DATA_TYPE, Entity.PARTITION_TYPE| Constructor and Description |
|---|
BasicString(ExtendedDataInput in) |
BasicString(ExtendedDataInput in,
boolean blob) |
BasicString(String value) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(BasicString o) |
boolean |
equals(Object o) |
Entity.DATA_CATEGORY |
getDataCategory() |
Entity.DATA_TYPE |
getDataType() |
String |
getJsonString() |
Number |
getNumber() |
String |
getString() |
Temporal |
getTemporal() |
int |
hashBucket(int buckets) |
static int |
hashBucket(String str,
int buckets) |
int |
hashCode() |
boolean |
isNull() |
void |
setNull() |
protected void |
setString(String value) |
protected void |
writeScalarToOutputStream(ExtendedDataOutput out) |
protected void |
writeScalarToOutputStream(ExtendedDataOutput out,
boolean blob) |
columns, getDataForm, rows, toString, writegetDataCategory, isChart, isChunk, isDictionary, isMatrix, isPair, isScalar, isTable, isVectorclone, finalize, getClass, notify, notifyAll, wait, wait, waitisChart, isChunk, isDictionary, isMatrix, isPair, isScalar, isTable, isVector, typeToCategorypublic BasicString(String value)
public BasicString(ExtendedDataInput in) throws IOException
IOExceptionpublic BasicString(ExtendedDataInput in, boolean blob) throws IOException
IOExceptionprotected void setString(String value)
public Entity.DATA_CATEGORY getDataCategory()
getDataCategory in interface Entitypublic Entity.DATA_TYPE getDataType()
getDataType in interface Entitypublic Temporal getTemporal() throws Exception
getTemporal in interface ScalarExceptionpublic int hashBucket(int buckets)
hashBucket in interface Scalarpublic String getJsonString()
getJsonString in interface Scalarpublic static int hashBucket(String str, int buckets)
protected void writeScalarToOutputStream(ExtendedDataOutput out) throws IOException
writeScalarToOutputStream in class AbstractScalarIOExceptionprotected void writeScalarToOutputStream(ExtendedDataOutput out, boolean blob) throws IOException
IOExceptionpublic int compareTo(BasicString o)
compareTo in interface Comparable<BasicString>Copyright © 2021 DolphinDB. All rights reserved.