本文整理汇总了Java中org.apache.ignite.binary.BinaryReader.readObjectArray方法的典型用法代码示例。如果您正苦于以下问题:Java BinaryReader.readObjectArray方法的具体用法?Java BinaryReader.readObjectArray怎么用?Java BinaryReader.readObjectArray使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类org.apache.ignite.binary.BinaryReader
的用法示例。
在下文中一共展示了BinaryReader.readObjectArray方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: readBinary
import org.apache.ignite.binary.BinaryReader; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override public void readBinary(BinaryReader reader) throws BinaryObjectException {
Object arg = reader.readObject("arg");
setArguments(arg);
isVal = reader.readBoolean("isVal");
bVal = reader.readByte("bVal");
cVal = reader.readChar("cVal");
sVal = reader.readShort("sVal");
intVal = reader.readInt("intVal");
lVal = reader.readLong("lVal");
fltVal = reader.readFloat("fltVal");
dblVal = reader.readDouble("dblVal");
strVal = reader.readString("strVal");
arrVal = reader.readObjectArray("arrVal");
eVal = reader.readEnum("eVal");
}
示例2: readBinary
import org.apache.ignite.binary.BinaryReader; //导入方法依赖的package包/类
/** {@inheritDoc} */
@Override public void readBinary(BinaryReader reader) throws BinaryObjectException {
b = reader.readByte("_b");
s = reader.readShort("_s");
i = reader.readInt("_i");
l = reader.readLong("_l");
f = reader.readFloat("_f");
d = reader.readDouble("_d");
c = reader.readChar("_c");
bool = reader.readBoolean("_bool");
str = reader.readString("_str");
uuid = reader.readUuid("_uuid");
date = reader.readDate("_date");
ts = reader.readTimestamp("_ts");
time = reader.readTime("_time");
bArr = reader.readByteArray("_bArr");
sArr = reader.readShortArray("_sArr");
iArr = reader.readIntArray("_iArr");
lArr = reader.readLongArray("_lArr");
fArr = reader.readFloatArray("_fArr");
dArr = reader.readDoubleArray("_dArr");
cArr = reader.readCharArray("_cArr");
boolArr = reader.readBooleanArray("_boolArr");
strArr = reader.readStringArray("_strArr");
uuidArr = reader.readUuidArray("_uuidArr");
dateArr = reader.readDateArray("_dateArr");
timeArr = reader.readTimeArray("_timeArr");
objArr = reader.readObjectArray("_objArr");
col = reader.readCollection("_col");
map = reader.readMap("_map");
enumVal = reader.readEnum("_enumVal");
enumArr = reader.readEnumArray("_enumArr");
simple = reader.readObject("_simple");
binary = reader.readObject("_binary");
BinaryRawReader raw = reader.rawReader();
bRaw = raw.readByte();
sRaw = raw.readShort();
iRaw = raw.readInt();
lRaw = raw.readLong();
fRaw = raw.readFloat();
dRaw = raw.readDouble();
cRaw = raw.readChar();
boolRaw = raw.readBoolean();
strRaw = raw.readString();
uuidRaw = raw.readUuid();
dateRaw = raw.readDate();
tsRaw = raw.readTimestamp();
timeRaw = raw.readTime();
bArrRaw = raw.readByteArray();
sArrRaw = raw.readShortArray();
iArrRaw = raw.readIntArray();
lArrRaw = raw.readLongArray();
fArrRaw = raw.readFloatArray();
dArrRaw = raw.readDoubleArray();
cArrRaw = raw.readCharArray();
boolArrRaw = raw.readBooleanArray();
strArrRaw = raw.readStringArray();
uuidArrRaw = raw.readUuidArray();
dateArrRaw = raw.readDateArray();
timeArrRaw = raw.readTimeArray();
objArrRaw = raw.readObjectArray();
colRaw = raw.readCollection();
mapRaw = raw.readMap();
enumValRaw = raw.readEnum();
enumArrRaw = raw.readEnumArray();
simpleRaw = raw.readObject();
binaryRaw = raw.readObject();
}