use of org.apache.hyracks.dataflow.common.comm.util.ByteBufferInputStream in project asterixdb by apache.
the class FrameDebugUtils method prettyPrint.
/**
* Debugging method
* @param fta
* @param recordDescriptor
* @param tIdx
* @param recordFields
* @throws IOException
*/
public void prettyPrint(IFrameTupleAccessor fta, RecordDescriptor recordDescriptor, int tIdx, int[] recordFields) throws IOException {
try (ByteBufferInputStream bbis = new ByteBufferInputStream();
DataInputStream dis = new DataInputStream(bbis)) {
StringBuilder sb = new StringBuilder();
prettyPrint(fta, recordDescriptor, tIdx, bbis, dis, sb, recordFields);
System.err.println(sb.toString());
}
}
Aggregations