/** read data from given input stream, like deserialize */ public void importFrom(DataInputStream in) throws IOException { seqId = in.readInt(); nRows = info.isRowBlockEnabled() ? in.readInt() : 1; importFrom(in, primaryKey); for (int i = 0; i < info.colBlocks.length; i++) { ByteArray cb = cellBlocks[i]; importFrom(in, cb); } }
/** read data from given input stream, like deserialize */ public void importFrom(DataInputStream in) throws IOException { seqId = in.readInt(); nRows = info.isRowBlockEnabled() ? in.readInt() : 1; importFrom(in, primaryKey); for (int i = 0; i < info.colBlocks.length; i++) { ByteArray cb = cellBlocks[i]; importFrom(in, cb); } }