Class StringSchema
java.lang.Object
io.dingodb.sdk.common.serial.schema.StringSchema
- All Implemented Interfaces:
DingoSchema<String>
-
Field Summary
Fields inherited from interface io.dingodb.sdk.common.serial.schema.DingoSchema
NOTNULL, NULL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondecodeKeyPrefix(Buf buf) decodeKeyV2(Buf buf) decodeValue(Buf buf) decodeValueV2(Buf buf) voidvoidencodeKeyForUpdate(Buf buf, String data) voidencodeKeyForUpdateV2(Buf buf, String data) voidencodeKeyPrefix(Buf buf, String data) voidencodeKeyV2(Buf buf, String data) voidencodeValue(Buf buf, String data) intencodeValueV2(Buf buf, String data) intgetIndex()intgetType()intintbooleanbooleanisKey()voidsetAllowNull(boolean allowNull) voidsetIndex(int index) voidsetIsKey(boolean isKey) voidvoidvoidvoidskipValueV2(Buf buf) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.dingodb.sdk.common.serial.schema.DingoSchema
getPrecision, getScale, setPrecision, setScale
-
Constructor Details
-
StringSchema
public StringSchema() -
StringSchema
public StringSchema(int index)
-
-
Method Details
-
getType
- Specified by:
getTypein interfaceDingoSchema<String>
-
setIndex
public void setIndex(int index) - Specified by:
setIndexin interfaceDingoSchema<String>
-
getIndex
public int getIndex()- Specified by:
getIndexin interfaceDingoSchema<String>
-
setIsKey
public void setIsKey(boolean isKey) - Specified by:
setIsKeyin interfaceDingoSchema<String>
-
isKey
public boolean isKey()- Specified by:
isKeyin interfaceDingoSchema<String>
-
getLength
public int getLength()- Specified by:
getLengthin interfaceDingoSchema<String>
-
getWithNullTagLength
public int getWithNullTagLength()- Specified by:
getWithNullTagLengthin interfaceDingoSchema<String>
-
getValueLengthV2
public int getValueLengthV2()- Specified by:
getValueLengthV2in interfaceDingoSchema<String>
-
setAllowNull
public void setAllowNull(boolean allowNull) - Specified by:
setAllowNullin interfaceDingoSchema<String>
-
isAllowNull
public boolean isAllowNull()- Specified by:
isAllowNullin interfaceDingoSchema<String>
-
encodeKey
- Specified by:
encodeKeyin interfaceDingoSchema<String>
-
encodeKeyV2
- Specified by:
encodeKeyV2in interfaceDingoSchema<String>
-
encodeKeyForUpdate
- Specified by:
encodeKeyForUpdatein interfaceDingoSchema<String>
-
encodeKeyForUpdateV2
- Specified by:
encodeKeyForUpdateV2in interfaceDingoSchema<String>
-
decodeKey
- Specified by:
decodeKeyin interfaceDingoSchema<String>
-
decodeKeyV2
- Specified by:
decodeKeyV2in interfaceDingoSchema<String>
-
decodeKeyPrefix
- Specified by:
decodeKeyPrefixin interfaceDingoSchema<String>
-
skipKey
- Specified by:
skipKeyin interfaceDingoSchema<String>
-
skipKeyV2
- Specified by:
skipKeyV2in interfaceDingoSchema<String>
-
encodeKeyPrefix
- Specified by:
encodeKeyPrefixin interfaceDingoSchema<String>
-
encodeValue
- Specified by:
encodeValuein interfaceDingoSchema<String>
-
encodeValueV2
- Specified by:
encodeValueV2in interfaceDingoSchema<String>
-
decodeValue
- Specified by:
decodeValuein interfaceDingoSchema<String>
-
decodeValueV2
- Specified by:
decodeValueV2in interfaceDingoSchema<String>
-
skipValue
- Specified by:
skipValuein interfaceDingoSchema<String>
-
skipValueV2
- Specified by:
skipValueV2in interfaceDingoSchema<String>
-