示例#1
0
 @Override
 public void openRowGroup(StreamSources dataStreamSources) throws IOException {
   presentStream =
       dataStreamSources
           .getStreamSource(streamDescriptor, PRESENT, BooleanStream.class)
           .openStream();
   dataStream =
       dataStreamSources.getStreamSource(streamDescriptor, DATA, BooleanStream.class).openStream();
 }
示例#2
0
  @Override
  public void startRowGroup(StreamSources dataStreamSources) throws IOException {
    presentStreamSource =
        dataStreamSources.getStreamSource(streamDescriptor, PRESENT, BooleanStream.class);

    readOffset = 0;
    nextBatchSize = 0;

    presentStream = null;

    rowGroupOpen = false;

    for (StreamReader structField : structFields) {
      structField.startRowGroup(dataStreamSources);
    }
  }