|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Record
the record interface
| Method Summary | |
|---|---|
int |
getIndex()
get the record index |
byte[] |
getKeyBlob(java.lang.String fieldName)
get the key content of byte[] type |
byte |
getKeyByte(java.lang.String fieldName)
get the key content of byte type |
int |
getKeyCount()
get the key field num |
double |
getKeyDouble(java.lang.String fieldName)
get the key content of double type |
float |
getKeyFloat(java.lang.String fieldName)
get the key content of float type |
int |
getKeyInt(java.lang.String fieldName)
get the key content of int type |
long |
getKeyLong(java.lang.String fieldName)
get the key content of long type |
short |
getKeyShort(java.lang.String fieldName)
get the key content of short type |
java.lang.String |
getKeyString(java.lang.String fieldName)
get the key content of String type |
long |
getLastAccessTime()
return the last access time |
byte[] |
getValueBlob(java.lang.String fieldName)
get the value content of byte[] type |
byte |
getValueByte(java.lang.String fieldName)
get the value content of byte type |
int |
getValueCount()
get the value field num |
double |
getValueDouble(java.lang.String fieldName)
get the value content of double type |
float |
getValueFloat(java.lang.String fieldName)
get the value content of float type |
int |
getValueInt(java.lang.String fieldName)
get the value content of int type |
long |
getValueLong(java.lang.String fieldName)
get the value content of long type |
short |
getValueShort(java.lang.String fieldName)
get the value content of short type |
java.lang.String |
getValueString(java.lang.String fieldName)
get the value content of String type |
int |
getVersion()
get the record version |
void |
setKeyBlob(java.lang.String fieldName,
byte[] value)
set the key content of byte[] type |
void |
setKeyByte(java.lang.String fieldName,
byte value)
set the key content of byte type |
void |
setKeyDouble(java.lang.String fieldName,
double value)
set the key content of double type |
void |
setKeyFloat(java.lang.String fieldName,
float value)
set the key content of float type |
void |
setKeyInt(java.lang.String fieldName,
int value)
set the key content of int type |
void |
setKeyLong(java.lang.String fieldName,
long value)
set the key content of long type |
void |
setKeyShort(java.lang.String fieldName,
short value)
set the key content of short type |
void |
setKeyString(java.lang.String fieldName,
java.lang.String value)
set the key content of String type |
void |
setValueBlob(java.lang.String fieldName,
byte[] value)
set the value content of byte[] type |
void |
setValueByte(java.lang.String fieldName,
byte value)
set the value content of byte type |
void |
setValueDouble(java.lang.String fieldName,
double value)
set the value content of double type |
void |
setValueFloat(java.lang.String fieldName,
float value)
set the value content of float type |
void |
setValueInt(java.lang.String fieldName,
int value)
set the value content of int type |
void |
setValueLong(java.lang.String fieldName,
long value)
set the value content of long type |
void |
setValueShort(java.lang.String fieldName,
short value)
set the value content of short type |
void |
setValueString(java.lang.String fieldName,
java.lang.String value)
set the value content of String type |
void |
setVersion(int version)
set the record version |
java.lang.String |
toString()
visualize the content of the record |
| Method Detail |
|---|
void setVersion(int version)
throws com.tencent.tcaplus.util.TCaplusException
int - version: record version, when <=0 means the version is not
used.
com.tencent.tcaplus.util.TCaplusException
int getVersion()
throws com.tencent.tcaplus.util.TCaplusException
com.tencent.tcaplus.util.TCaplusException
java.lang.String toString()
throws com.tencent.tcaplus.util.TCaplusException
toString in class java.lang.Objectcom.tencent.tcaplus.util.TCaplusException
void setKeyByte(java.lang.String fieldName,
byte value)
throws com.tencent.tcaplus.util.TCaplusException
String - fieldName: filedName, max size 32 bytesbyte - value: field content
com.tencent.tcaplus.util.TCaplusException
void setKeyShort(java.lang.String fieldName,
short value)
throws com.tencent.tcaplus.util.TCaplusException
String - fieldName: filedName, max size 32 bytesshort - value: field content
com.tencent.tcaplus.util.TCaplusException
void setKeyInt(java.lang.String fieldName,
int value)
throws com.tencent.tcaplus.util.TCaplusException
String - fieldName: filedName, max size 32 bytesint - value: field content
com.tencent.tcaplus.util.TCaplusException
void setKeyLong(java.lang.String fieldName,
long value)
throws com.tencent.tcaplus.util.TCaplusException
String - fieldName: filedName, max size 32 byteslong - value: field content
com.tencent.tcaplus.util.TCaplusException
void setKeyFloat(java.lang.String fieldName,
float value)
throws com.tencent.tcaplus.util.TCaplusException
String - fieldName: filedName, max size 32 bytesfloat - value: field content
com.tencent.tcaplus.util.TCaplusException
void setKeyDouble(java.lang.String fieldName,
double value)
throws com.tencent.tcaplus.util.TCaplusException
String - fieldName: filedName, max size 32 bytesdouble - value: field content
com.tencent.tcaplus.util.TCaplusException
void setKeyString(java.lang.String fieldName,
java.lang.String value)
throws com.tencent.tcaplus.util.TCaplusException
String - fieldName: filedName, max size 32 bytesString - value: field content
com.tencent.tcaplus.util.TCaplusException
void setKeyBlob(java.lang.String fieldName,
byte[] value)
throws com.tencent.tcaplus.util.TCaplusException
String - fieldName: filedName, max size 32 bytesbyte[] - value: field content
com.tencent.tcaplus.util.TCaplusException
void setValueByte(java.lang.String fieldName,
byte value)
throws com.tencent.tcaplus.util.TCaplusException
String - fieldName: filedName, max size 32 bytesbyte - value: field content
com.tencent.tcaplus.util.TCaplusException
void setValueShort(java.lang.String fieldName,
short value)
throws com.tencent.tcaplus.util.TCaplusException
String - fieldName: filedName, max size 32 bytesshort - value: field content
com.tencent.tcaplus.util.TCaplusException
void setValueInt(java.lang.String fieldName,
int value)
throws com.tencent.tcaplus.util.TCaplusException
String - fieldName: filedName, max size 32 bytesint - value: field content
com.tencent.tcaplus.util.TCaplusException
void setValueLong(java.lang.String fieldName,
long value)
throws com.tencent.tcaplus.util.TCaplusException
String - fieldName: filedName, max size 32 byteslong - value: field content
com.tencent.tcaplus.util.TCaplusException
void setValueFloat(java.lang.String fieldName,
float value)
throws com.tencent.tcaplus.util.TCaplusException
String - fieldName: filedName, max size 32 bytesfloat - value: field content
com.tencent.tcaplus.util.TCaplusException
void setValueDouble(java.lang.String fieldName,
double value)
throws com.tencent.tcaplus.util.TCaplusException
String - fieldName: filedName, max size 32 bytesdouble - value: field content
com.tencent.tcaplus.util.TCaplusException
void setValueString(java.lang.String fieldName,
java.lang.String value)
throws com.tencent.tcaplus.util.TCaplusException
String - fieldName: filedName, max size 32 bytesString - value: field content
com.tencent.tcaplus.util.TCaplusException
void setValueBlob(java.lang.String fieldName,
byte[] value)
throws com.tencent.tcaplus.util.TCaplusException
String - fieldName: filedName, max size 32 bytesbyte[] - value: field content
com.tencent.tcaplus.util.TCaplusException
byte getKeyByte(java.lang.String fieldName)
throws com.tencent.tcaplus.util.TCaplusException
String - fieldName: filedName, max size 32 bytes
com.tencent.tcaplus.util.TCaplusException
short getKeyShort(java.lang.String fieldName)
throws com.tencent.tcaplus.util.TCaplusException
String - fieldName: filedName, max size 32 bytes
com.tencent.tcaplus.util.TCaplusException
int getKeyInt(java.lang.String fieldName)
throws com.tencent.tcaplus.util.TCaplusException
String - fieldName: filedName, max size 32 bytes
com.tencent.tcaplus.util.TCaplusException
long getKeyLong(java.lang.String fieldName)
throws com.tencent.tcaplus.util.TCaplusException
String - fieldName: filedName, max size 32 bytes
com.tencent.tcaplus.util.TCaplusException
float getKeyFloat(java.lang.String fieldName)
throws com.tencent.tcaplus.util.TCaplusException
String - fieldName: filedName, max size 32 bytes
com.tencent.tcaplus.util.TCaplusException
double getKeyDouble(java.lang.String fieldName)
throws com.tencent.tcaplus.util.TCaplusException
String - fieldName: filedName, max size 32 bytes
com.tencent.tcaplus.util.TCaplusException
java.lang.String getKeyString(java.lang.String fieldName)
throws com.tencent.tcaplus.util.TCaplusException
String - fieldName: filedName, max size 32 bytes
com.tencent.tcaplus.util.TCaplusException
byte[] getKeyBlob(java.lang.String fieldName)
throws com.tencent.tcaplus.util.TCaplusException
String - fieldName: filedName, max size 32 bytes
com.tencent.tcaplus.util.TCaplusException
int getKeyCount()
throws com.tencent.tcaplus.util.TCaplusException
com.tencent.tcaplus.util.TCaplusException
byte getValueByte(java.lang.String fieldName)
throws com.tencent.tcaplus.util.TCaplusException
String - fieldName: filedName, max size 32 bytes
com.tencent.tcaplus.util.TCaplusException
short getValueShort(java.lang.String fieldName)
throws com.tencent.tcaplus.util.TCaplusException
String - fieldName: filedName, max size 32 bytes
com.tencent.tcaplus.util.TCaplusException
int getValueInt(java.lang.String fieldName)
throws com.tencent.tcaplus.util.TCaplusException
String - fieldName: filedName, max size 32 bytes
com.tencent.tcaplus.util.TCaplusException
long getValueLong(java.lang.String fieldName)
throws com.tencent.tcaplus.util.TCaplusException
String - fieldName: filedName, max size 32 bytes
com.tencent.tcaplus.util.TCaplusException
float getValueFloat(java.lang.String fieldName)
throws com.tencent.tcaplus.util.TCaplusException
String - fieldName: filedName, max size 32 bytes
com.tencent.tcaplus.util.TCaplusException
double getValueDouble(java.lang.String fieldName)
throws com.tencent.tcaplus.util.TCaplusException
String - fieldName: filedName, max size 32 bytes
com.tencent.tcaplus.util.TCaplusException
java.lang.String getValueString(java.lang.String fieldName)
throws com.tencent.tcaplus.util.TCaplusException
String - fieldName: filedName, max size 32 bytes
com.tencent.tcaplus.util.TCaplusException
byte[] getValueBlob(java.lang.String fieldName)
throws com.tencent.tcaplus.util.TCaplusException
String - fieldName: filedName, max size 32 bytes
com.tencent.tcaplus.util.TCaplusException
int getValueCount()
throws com.tencent.tcaplus.util.TCaplusException
com.tencent.tcaplus.util.TCaplusExceptionint getIndex()
long getLastAccessTime()
throws com.tencent.tcaplus.util.TCaplusException
com.tencent.tcaplus.util.TCaplusExceptionfuntion is only used when the operation are :Get, Replace,
TableTraverse, GetByPartKey
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||