// set up the row reader
name = new StreamName(columnId, OrcProto.Stream.Kind.DATA);
reader = new RunLengthIntegerReader(streams.get(name), false, WriterImpl.INT_BYTE_SIZE);
InStream inDictionaryStream = streams.get(new StreamName(columnId, OrcProto.Stream.Kind.IN_DICTIONARY));
inDictionary = inDictionaryStream == null ? null : new BitFieldReader(inDictionaryStream);
directReader = streams.get(new StreamName(columnId, OrcProto.Stream.Kind.STRIDE_DICTIONARY));
InStream directLengthsStream = streams.get(new StreamName(columnId,
OrcProto.Stream.Kind.STRIDE_DICTIONARY_LENGTH));
directLengths = directLengthsStream == null ? null : new RunLengthIntegerReader(
directLengthsStream, false, WriterImpl.INT_BYTE_SIZE);