@Override public StructuredReader structured() { assert(isStructured()) : "This data is not structured"; return structuredReader; }
public boolean isStructured() { return isStructured(this); }
@Override public StructuredReader structured() { assert(isStructured()) : "This data is not structured"; return structuredReader; }
public boolean isStructured() { return isStructured(this); }
public boolean isStructured() { return isStructured(this); }
/** * Reads long from specified field in pipe * @param association field association showing where to read * @return -1 when absent, else long */ public long readLong(Object association) { assert(channelReader.isStructured()) : "this data was not structured"; assert(DataInputBlobReader.getStructType(channelReader)!=-1) : "no type data found"; return readLong(Pipe.structRegistry(DataInputBlobReader.getBackingPipe(channelReader)).fieldLookupByIdentity(association, DataInputBlobReader.getStructType(channelReader))); }
/** * Reads long from specified field in pipe * @param association field association showing where to read * @return -1 when absent, else long */ public long readLong(Object association) { assert(channelReader.isStructured()) : "this data was not structured"; assert(DataInputBlobReader.getStructType(channelReader)!=-1) : "no type data found"; return readLong(Pipe.structRegistry(DataInputBlobReader.getBackingPipe(channelReader)).fieldLookupByIdentity(association, DataInputBlobReader.getStructType(channelReader))); }
if (data.isStructured()) { realDataSize += data.structured().fullIndexSizeInBytes(); if (data.isStructured()) { int fullIndexSizeInBytes = data.structured().fullIndexSizeInBytes(); str.writePackedInt(fullIndexSizeInBytes);
assert(inputStream.isStructured()) : "Structured stream is required for JSON";