@Override void startStripe(Map<org.apache.orc.impl.StreamName, InStream> streams, OrcProto.StripeFooter stripeFooter ) throws IOException { super.startStripe(streams, stripeFooter); data = createIntegerReader(stripeFooter.getColumnsList().get(columnId).getKind(), streams.get(new org.apache.orc.impl.StreamName(columnId, OrcProto.Stream.Kind.DATA)), true, skipCorrupt); nanos = createIntegerReader(stripeFooter.getColumnsList().get(columnId).getKind(), streams.get(new org.apache.orc.impl.StreamName(columnId, OrcProto.Stream.Kind.SECONDARY)), false, skipCorrupt); base_timestamp = getBaseTimestamp(stripeFooter.getWriterTimezone()); }
@Override void startStripe(Map<org.apache.orc.impl.StreamName, InStream> streams, OrcProto.StripeFooter stripeFooter ) throws IOException { super.startStripe(streams, stripeFooter); data = createIntegerReader(stripeFooter.getColumnsList().get(columnId).getKind(), streams.get(new org.apache.orc.impl.StreamName(columnId, OrcProto.Stream.Kind.DATA)), true, skipCorrupt); nanos = createIntegerReader(stripeFooter.getColumnsList().get(columnId).getKind(), streams.get(new org.apache.orc.impl.StreamName(columnId, OrcProto.Stream.Kind.SECONDARY)), false, skipCorrupt); base_timestamp = getBaseTimestamp(stripeFooter.getWriterTimezone()); }
@Override void startStripe(Map<StreamName, InStream> streams, OrcProto.StripeFooter stripeFooter ) throws IOException { super.startStripe(streams, stripeFooter); data = createIntegerReader(stripeFooter.getColumnsList().get(columnId).getKind(), streams.get(new StreamName(columnId, OrcProto.Stream.Kind.DATA)), true, context); nanos = createIntegerReader(stripeFooter.getColumnsList().get(columnId).getKind(), streams.get(new StreamName(columnId, OrcProto.Stream.Kind.SECONDARY)), false, context); base_timestamp = getBaseTimestamp(stripeFooter.getWriterTimezone()); }
public OrcStripeMetadata(OrcBatchKey stripeKey, OrcProto.StripeFooter footer, OrcIndex orcIndex, StripeInformation stripe) throws IOException { this.stripeKey = stripeKey; streams = footer.getStreamsList(); encodings = footer.getColumnsList(); writerTimezone = footer.getWriterTimezone(); rowCount = stripe.getNumberOfRows(); rowIndex = orcIndex; }
/** * <code>optional string writerTimezone = 3;</code> */ public Builder clearWriterTimezone() { bitField0_ = (bitField0_ & ~0x00000004); writerTimezone_ = getDefaultInstance().getWriterTimezone(); onChanged(); return this; } /**
public OrcStripeMetadata(OrcBatchKey stripeKey, OrcProto.StripeFooter footer, OrcIndex orcIndex, StripeInformation stripe) throws IOException { this.stripeKey = stripeKey; streams = footer.getStreamsList(); encodings = footer.getColumnsList(); writerTimezone = footer.getWriterTimezone(); rowCount = stripe.getNumberOfRows(); rowIndex = orcIndex; }