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(String value) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(BasicString o) |
boolean |
equals(Object o) |
Entity.DATA_CATEGORY |
getDataCategory() |
Entity.DATA_TYPE |
getDataType() |
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) |
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
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 static int hashBucket(String str, int buckets)
protected void writeScalarToOutputStream(ExtendedDataOutput out) throws IOException
writeScalarToOutputStream in class AbstractScalarIOExceptionpublic int compareTo(BasicString o)
compareTo in interface Comparable<BasicString>Copyright © 2020 DolphinDB. All rights reserved.