NONE = 0;
- */
- NONE(0, 0),
- /**
- * ZLIB = 1;
- */
- ZLIB(1, 1),
- /**
- * SNAPPY = 2;
- */
- SNAPPY(2, 2),
- /**
- * LZO = 3;
- */
- LZO(3, 3),
- ;
-
- /**
- * NONE = 0;
- */
- public static final int NONE_VALUE = 0;
- /**
- * ZLIB = 1;
- */
- public static final int ZLIB_VALUE = 1;
- /**
- * SNAPPY = 2;
- */
- public static final int SNAPPY_VALUE = 2;
- /**
- * LZO = 3;
- */
- public static final int LZO_VALUE = 3;
-
-
- public final int getNumber() { return value; }
-
- public static CompressionKind valueOf(int value) {
- switch (value) {
- case 0: return NONE;
- case 1: return ZLIB;
- case 2: return SNAPPY;
- case 3: return LZO;
- default: return null;
- }
- }
-
- public static com.google.protobuf.Internal.EnumLiteMapoptional sint64 minimum = 1;
- */
- boolean hasMinimum();
- /**
- * optional sint64 minimum = 1;
- */
- long getMinimum();
-
- // optional sint64 maximum = 2;
- /**
- * optional sint64 maximum = 2;
- */
- boolean hasMaximum();
- /**
- * optional sint64 maximum = 2;
- */
- long getMaximum();
-
- // optional sint64 sum = 3;
- /**
- * optional sint64 sum = 3;
- */
- boolean hasSum();
- /**
- * optional sint64 sum = 3;
- */
- long getSum();
- }
- /**
- * Protobuf type {@code orc.proto.IntegerStatistics}
- */
- public static final class IntegerStatistics extends
- com.google.protobuf.GeneratedMessage
- implements IntegerStatisticsOrBuilder {
- // Use IntegerStatistics.newBuilder() to construct.
- private IntegerStatistics(com.google.protobuf.GeneratedMessage.Builder> builder) {
- super(builder);
- this.unknownFields = builder.getUnknownFields();
- }
- private IntegerStatistics(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
-
- private static final IntegerStatistics defaultInstance;
- public static IntegerStatistics getDefaultInstance() {
- return defaultInstance;
- }
-
- public IntegerStatistics getDefaultInstanceForType() {
- return defaultInstance;
- }
-
- private final com.google.protobuf.UnknownFieldSet unknownFields;
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet
- getUnknownFields() {
- return this.unknownFields;
- }
- private IntegerStatistics(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- initFields();
- int mutable_bitField0_ = 0;
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder();
- try {
- boolean done = false;
- while (!done) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- done = true;
- break;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- done = true;
- }
- break;
- }
- case 8: {
- bitField0_ |= 0x00000001;
- minimum_ = input.readSInt64();
- break;
- }
- case 16: {
- bitField0_ |= 0x00000002;
- maximum_ = input.readSInt64();
- break;
- }
- case 24: {
- bitField0_ |= 0x00000004;
- sum_ = input.readSInt64();
- break;
- }
- }
- }
- } catch (com.google.protobuf.InvalidProtocolBufferException e) {
- throw e.setUnfinishedMessage(this);
- } catch (java.io.IOException e) {
- throw new com.google.protobuf.InvalidProtocolBufferException(
- e.getMessage()).setUnfinishedMessage(this);
- } finally {
- this.unknownFields = unknownFields.build();
- makeExtensionsImmutable();
- }
- }
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return org.apache.orc.OrcProto.internal_static_orc_proto_IntegerStatistics_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return org.apache.orc.OrcProto.internal_static_orc_proto_IntegerStatistics_fieldAccessorTable
- .ensureFieldAccessorsInitialized(
- org.apache.orc.OrcProto.IntegerStatistics.class, org.apache.orc.OrcProto.IntegerStatistics.Builder.class);
- }
-
- public static com.google.protobuf.Parseroptional sint64 minimum = 1;
- */
- public boolean hasMinimum() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
- /**
- * optional sint64 minimum = 1;
- */
- public long getMinimum() {
- return minimum_;
- }
-
- // optional sint64 maximum = 2;
- public static final int MAXIMUM_FIELD_NUMBER = 2;
- private long maximum_;
- /**
- * optional sint64 maximum = 2;
- */
- public boolean hasMaximum() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
- }
- /**
- * optional sint64 maximum = 2;
- */
- public long getMaximum() {
- return maximum_;
- }
-
- // optional sint64 sum = 3;
- public static final int SUM_FIELD_NUMBER = 3;
- private long sum_;
- /**
- * optional sint64 sum = 3;
- */
- public boolean hasSum() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
- }
- /**
- * optional sint64 sum = 3;
- */
- public long getSum() {
- return sum_;
- }
-
- private void initFields() {
- minimum_ = 0L;
- maximum_ = 0L;
- sum_ = 0L;
- }
- private byte memoizedIsInitialized = -1;
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1) return isInitialized == 1;
-
- memoizedIsInitialized = 1;
- return true;
- }
-
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- getSerializedSize();
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- output.writeSInt64(1, minimum_);
- }
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
- output.writeSInt64(2, maximum_);
- }
- if (((bitField0_ & 0x00000004) == 0x00000004)) {
- output.writeSInt64(3, sum_);
- }
- getUnknownFields().writeTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public int getSerializedSize() {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- size += com.google.protobuf.CodedOutputStream
- .computeSInt64Size(1, minimum_);
- }
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
- size += com.google.protobuf.CodedOutputStream
- .computeSInt64Size(2, maximum_);
- }
- if (((bitField0_ & 0x00000004) == 0x00000004)) {
- size += com.google.protobuf.CodedOutputStream
- .computeSInt64Size(3, sum_);
- }
- size += getUnknownFields().getSerializedSize();
- memoizedSerializedSize = size;
- return size;
- }
-
- private static final long serialVersionUID = 0L;
- @java.lang.Override
- protected java.lang.Object writeReplace()
- throws java.io.ObjectStreamException {
- return super.writeReplace();
- }
-
- public static org.apache.orc.OrcProto.IntegerStatistics parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static org.apache.orc.OrcProto.IntegerStatistics parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static org.apache.orc.OrcProto.IntegerStatistics parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static org.apache.orc.OrcProto.IntegerStatistics parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static org.apache.orc.OrcProto.IntegerStatistics parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return PARSER.parseFrom(input);
- }
- public static org.apache.orc.OrcProto.IntegerStatistics parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return PARSER.parseFrom(input, extensionRegistry);
- }
- public static org.apache.orc.OrcProto.IntegerStatistics parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- return PARSER.parseDelimitedFrom(input);
- }
- public static org.apache.orc.OrcProto.IntegerStatistics parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return PARSER.parseDelimitedFrom(input, extensionRegistry);
- }
- public static org.apache.orc.OrcProto.IntegerStatistics parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return PARSER.parseFrom(input);
- }
- public static org.apache.orc.OrcProto.IntegerStatistics parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return PARSER.parseFrom(input, extensionRegistry);
- }
-
- public static Builder newBuilder() { return Builder.create(); }
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder(org.apache.orc.OrcProto.IntegerStatistics prototype) {
- return newBuilder().mergeFrom(prototype);
- }
- public Builder toBuilder() { return newBuilder(this); }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
- /**
- * Protobuf type {@code orc.proto.IntegerStatistics}
- */
- public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builderoptional sint64 minimum = 1;
- */
- public boolean hasMinimum() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
- /**
- * optional sint64 minimum = 1;
- */
- public long getMinimum() {
- return minimum_;
- }
- /**
- * optional sint64 minimum = 1;
- */
- public Builder setMinimum(long value) {
- bitField0_ |= 0x00000001;
- minimum_ = value;
- onChanged();
- return this;
- }
- /**
- * optional sint64 minimum = 1;
- */
- public Builder clearMinimum() {
- bitField0_ = (bitField0_ & ~0x00000001);
- minimum_ = 0L;
- onChanged();
- return this;
- }
-
- // optional sint64 maximum = 2;
- private long maximum_ ;
- /**
- * optional sint64 maximum = 2;
- */
- public boolean hasMaximum() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
- }
- /**
- * optional sint64 maximum = 2;
- */
- public long getMaximum() {
- return maximum_;
- }
- /**
- * optional sint64 maximum = 2;
- */
- public Builder setMaximum(long value) {
- bitField0_ |= 0x00000002;
- maximum_ = value;
- onChanged();
- return this;
- }
- /**
- * optional sint64 maximum = 2;
- */
- public Builder clearMaximum() {
- bitField0_ = (bitField0_ & ~0x00000002);
- maximum_ = 0L;
- onChanged();
- return this;
- }
-
- // optional sint64 sum = 3;
- private long sum_ ;
- /**
- * optional sint64 sum = 3;
- */
- public boolean hasSum() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
- }
- /**
- * optional sint64 sum = 3;
- */
- public long getSum() {
- return sum_;
- }
- /**
- * optional sint64 sum = 3;
- */
- public Builder setSum(long value) {
- bitField0_ |= 0x00000004;
- sum_ = value;
- onChanged();
- return this;
- }
- /**
- * optional sint64 sum = 3;
- */
- public Builder clearSum() {
- bitField0_ = (bitField0_ & ~0x00000004);
- sum_ = 0L;
- onChanged();
- return this;
- }
-
- // @@protoc_insertion_point(builder_scope:orc.proto.IntegerStatistics)
- }
-
- static {
- defaultInstance = new IntegerStatistics(true);
- defaultInstance.initFields();
- }
-
- // @@protoc_insertion_point(class_scope:orc.proto.IntegerStatistics)
- }
-
- public interface DoubleStatisticsOrBuilder
- extends com.google.protobuf.MessageOrBuilder {
-
- // optional double minimum = 1;
- /**
- * optional double minimum = 1;
- */
- boolean hasMinimum();
- /**
- * optional double minimum = 1;
- */
- double getMinimum();
-
- // optional double maximum = 2;
- /**
- * optional double maximum = 2;
- */
- boolean hasMaximum();
- /**
- * optional double maximum = 2;
- */
- double getMaximum();
-
- // optional double sum = 3;
- /**
- * optional double sum = 3;
- */
- boolean hasSum();
- /**
- * optional double sum = 3;
- */
- double getSum();
- }
- /**
- * Protobuf type {@code orc.proto.DoubleStatistics}
- */
- public static final class DoubleStatistics extends
- com.google.protobuf.GeneratedMessage
- implements DoubleStatisticsOrBuilder {
- // Use DoubleStatistics.newBuilder() to construct.
- private DoubleStatistics(com.google.protobuf.GeneratedMessage.Builder> builder) {
- super(builder);
- this.unknownFields = builder.getUnknownFields();
- }
- private DoubleStatistics(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
-
- private static final DoubleStatistics defaultInstance;
- public static DoubleStatistics getDefaultInstance() {
- return defaultInstance;
- }
-
- public DoubleStatistics getDefaultInstanceForType() {
- return defaultInstance;
- }
-
- private final com.google.protobuf.UnknownFieldSet unknownFields;
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet
- getUnknownFields() {
- return this.unknownFields;
- }
- private DoubleStatistics(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- initFields();
- int mutable_bitField0_ = 0;
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder();
- try {
- boolean done = false;
- while (!done) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- done = true;
- break;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- done = true;
- }
- break;
- }
- case 9: {
- bitField0_ |= 0x00000001;
- minimum_ = input.readDouble();
- break;
- }
- case 17: {
- bitField0_ |= 0x00000002;
- maximum_ = input.readDouble();
- break;
- }
- case 25: {
- bitField0_ |= 0x00000004;
- sum_ = input.readDouble();
- break;
- }
- }
- }
- } catch (com.google.protobuf.InvalidProtocolBufferException e) {
- throw e.setUnfinishedMessage(this);
- } catch (java.io.IOException e) {
- throw new com.google.protobuf.InvalidProtocolBufferException(
- e.getMessage()).setUnfinishedMessage(this);
- } finally {
- this.unknownFields = unknownFields.build();
- makeExtensionsImmutable();
- }
- }
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return org.apache.orc.OrcProto.internal_static_orc_proto_DoubleStatistics_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return org.apache.orc.OrcProto.internal_static_orc_proto_DoubleStatistics_fieldAccessorTable
- .ensureFieldAccessorsInitialized(
- org.apache.orc.OrcProto.DoubleStatistics.class, org.apache.orc.OrcProto.DoubleStatistics.Builder.class);
- }
-
- public static com.google.protobuf.Parseroptional double minimum = 1;
- */
- public boolean hasMinimum() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
- /**
- * optional double minimum = 1;
- */
- public double getMinimum() {
- return minimum_;
- }
-
- // optional double maximum = 2;
- public static final int MAXIMUM_FIELD_NUMBER = 2;
- private double maximum_;
- /**
- * optional double maximum = 2;
- */
- public boolean hasMaximum() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
- }
- /**
- * optional double maximum = 2;
- */
- public double getMaximum() {
- return maximum_;
- }
-
- // optional double sum = 3;
- public static final int SUM_FIELD_NUMBER = 3;
- private double sum_;
- /**
- * optional double sum = 3;
- */
- public boolean hasSum() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
- }
- /**
- * optional double sum = 3;
- */
- public double getSum() {
- return sum_;
- }
-
- private void initFields() {
- minimum_ = 0D;
- maximum_ = 0D;
- sum_ = 0D;
- }
- private byte memoizedIsInitialized = -1;
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1) return isInitialized == 1;
-
- memoizedIsInitialized = 1;
- return true;
- }
-
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- getSerializedSize();
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- output.writeDouble(1, minimum_);
- }
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
- output.writeDouble(2, maximum_);
- }
- if (((bitField0_ & 0x00000004) == 0x00000004)) {
- output.writeDouble(3, sum_);
- }
- getUnknownFields().writeTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public int getSerializedSize() {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- size += com.google.protobuf.CodedOutputStream
- .computeDoubleSize(1, minimum_);
- }
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
- size += com.google.protobuf.CodedOutputStream
- .computeDoubleSize(2, maximum_);
- }
- if (((bitField0_ & 0x00000004) == 0x00000004)) {
- size += com.google.protobuf.CodedOutputStream
- .computeDoubleSize(3, sum_);
- }
- size += getUnknownFields().getSerializedSize();
- memoizedSerializedSize = size;
- return size;
- }
-
- private static final long serialVersionUID = 0L;
- @java.lang.Override
- protected java.lang.Object writeReplace()
- throws java.io.ObjectStreamException {
- return super.writeReplace();
- }
-
- public static org.apache.orc.OrcProto.DoubleStatistics parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static org.apache.orc.OrcProto.DoubleStatistics parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static org.apache.orc.OrcProto.DoubleStatistics parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static org.apache.orc.OrcProto.DoubleStatistics parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static org.apache.orc.OrcProto.DoubleStatistics parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return PARSER.parseFrom(input);
- }
- public static org.apache.orc.OrcProto.DoubleStatistics parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return PARSER.parseFrom(input, extensionRegistry);
- }
- public static org.apache.orc.OrcProto.DoubleStatistics parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- return PARSER.parseDelimitedFrom(input);
- }
- public static org.apache.orc.OrcProto.DoubleStatistics parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return PARSER.parseDelimitedFrom(input, extensionRegistry);
- }
- public static org.apache.orc.OrcProto.DoubleStatistics parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return PARSER.parseFrom(input);
- }
- public static org.apache.orc.OrcProto.DoubleStatistics parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return PARSER.parseFrom(input, extensionRegistry);
- }
-
- public static Builder newBuilder() { return Builder.create(); }
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder(org.apache.orc.OrcProto.DoubleStatistics prototype) {
- return newBuilder().mergeFrom(prototype);
- }
- public Builder toBuilder() { return newBuilder(this); }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
- /**
- * Protobuf type {@code orc.proto.DoubleStatistics}
- */
- public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builderoptional double minimum = 1;
- */
- public boolean hasMinimum() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
- /**
- * optional double minimum = 1;
- */
- public double getMinimum() {
- return minimum_;
- }
- /**
- * optional double minimum = 1;
- */
- public Builder setMinimum(double value) {
- bitField0_ |= 0x00000001;
- minimum_ = value;
- onChanged();
- return this;
- }
- /**
- * optional double minimum = 1;
- */
- public Builder clearMinimum() {
- bitField0_ = (bitField0_ & ~0x00000001);
- minimum_ = 0D;
- onChanged();
- return this;
- }
-
- // optional double maximum = 2;
- private double maximum_ ;
- /**
- * optional double maximum = 2;
- */
- public boolean hasMaximum() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
- }
- /**
- * optional double maximum = 2;
- */
- public double getMaximum() {
- return maximum_;
- }
- /**
- * optional double maximum = 2;
- */
- public Builder setMaximum(double value) {
- bitField0_ |= 0x00000002;
- maximum_ = value;
- onChanged();
- return this;
- }
- /**
- * optional double maximum = 2;
- */
- public Builder clearMaximum() {
- bitField0_ = (bitField0_ & ~0x00000002);
- maximum_ = 0D;
- onChanged();
- return this;
- }
-
- // optional double sum = 3;
- private double sum_ ;
- /**
- * optional double sum = 3;
- */
- public boolean hasSum() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
- }
- /**
- * optional double sum = 3;
- */
- public double getSum() {
- return sum_;
- }
- /**
- * optional double sum = 3;
- */
- public Builder setSum(double value) {
- bitField0_ |= 0x00000004;
- sum_ = value;
- onChanged();
- return this;
- }
- /**
- * optional double sum = 3;
- */
- public Builder clearSum() {
- bitField0_ = (bitField0_ & ~0x00000004);
- sum_ = 0D;
- onChanged();
- return this;
- }
-
- // @@protoc_insertion_point(builder_scope:orc.proto.DoubleStatistics)
- }
-
- static {
- defaultInstance = new DoubleStatistics(true);
- defaultInstance.initFields();
- }
-
- // @@protoc_insertion_point(class_scope:orc.proto.DoubleStatistics)
- }
-
- public interface StringStatisticsOrBuilder
- extends com.google.protobuf.MessageOrBuilder {
-
- // optional string minimum = 1;
- /**
- * optional string minimum = 1;
- */
- boolean hasMinimum();
- /**
- * optional string minimum = 1;
- */
- java.lang.String getMinimum();
- /**
- * optional string minimum = 1;
- */
- com.google.protobuf.ByteString
- getMinimumBytes();
-
- // optional string maximum = 2;
- /**
- * optional string maximum = 2;
- */
- boolean hasMaximum();
- /**
- * optional string maximum = 2;
- */
- java.lang.String getMaximum();
- /**
- * optional string maximum = 2;
- */
- com.google.protobuf.ByteString
- getMaximumBytes();
-
- // optional sint64 sum = 3;
- /**
- * optional sint64 sum = 3;
- *
- * - * sum will store the total length of all strings in a stripe - *- */ - boolean hasSum(); - /** - *
optional sint64 sum = 3;
- *
- * - * sum will store the total length of all strings in a stripe - *- */ - long getSum(); - } - /** - * Protobuf type {@code orc.proto.StringStatistics} - */ - public static final class StringStatistics extends - com.google.protobuf.GeneratedMessage - implements StringStatisticsOrBuilder { - // Use StringStatistics.newBuilder() to construct. - private StringStatistics(com.google.protobuf.GeneratedMessage.Builder> builder) { - super(builder); - this.unknownFields = builder.getUnknownFields(); - } - private StringStatistics(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } - - private static final StringStatistics defaultInstance; - public static StringStatistics getDefaultInstance() { - return defaultInstance; - } - - public StringStatistics getDefaultInstanceForType() { - return defaultInstance; - } - - private final com.google.protobuf.UnknownFieldSet unknownFields; - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private StringStatistics( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - default: { - if (!parseUnknownField(input, unknownFields, - extensionRegistry, tag)) { - done = true; - } - break; - } - case 10: { - bitField0_ |= 0x00000001; - minimum_ = input.readBytes(); - break; - } - case 18: { - bitField0_ |= 0x00000002; - maximum_ = input.readBytes(); - break; - } - case 24: { - bitField0_ |= 0x00000004; - sum_ = input.readSInt64(); - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return org.apache.orc.OrcProto.internal_static_orc_proto_StringStatistics_descriptor; - } - - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { - return org.apache.orc.OrcProto.internal_static_orc_proto_StringStatistics_fieldAccessorTable - .ensureFieldAccessorsInitialized( - org.apache.orc.OrcProto.StringStatistics.class, org.apache.orc.OrcProto.StringStatistics.Builder.class); - } - - public static com.google.protobuf.Parser
optional string minimum = 1;
- */
- public boolean hasMinimum() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
- /**
- * optional string minimum = 1;
- */
- public java.lang.String getMinimum() {
- java.lang.Object ref = minimum_;
- if (ref instanceof java.lang.String) {
- return (java.lang.String) ref;
- } else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- if (bs.isValidUtf8()) {
- minimum_ = s;
- }
- return s;
- }
- }
- /**
- * optional string minimum = 1;
- */
- public com.google.protobuf.ByteString
- getMinimumBytes() {
- java.lang.Object ref = minimum_;
- if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- minimum_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- // optional string maximum = 2;
- public static final int MAXIMUM_FIELD_NUMBER = 2;
- private java.lang.Object maximum_;
- /**
- * optional string maximum = 2;
- */
- public boolean hasMaximum() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
- }
- /**
- * optional string maximum = 2;
- */
- public java.lang.String getMaximum() {
- java.lang.Object ref = maximum_;
- if (ref instanceof java.lang.String) {
- return (java.lang.String) ref;
- } else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- if (bs.isValidUtf8()) {
- maximum_ = s;
- }
- return s;
- }
- }
- /**
- * optional string maximum = 2;
- */
- public com.google.protobuf.ByteString
- getMaximumBytes() {
- java.lang.Object ref = maximum_;
- if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- maximum_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- // optional sint64 sum = 3;
- public static final int SUM_FIELD_NUMBER = 3;
- private long sum_;
- /**
- * optional sint64 sum = 3;
- *
- * - * sum will store the total length of all strings in a stripe - *- */ - public boolean hasSum() { - return ((bitField0_ & 0x00000004) == 0x00000004); - } - /** - *
optional sint64 sum = 3;
- *
- * - * sum will store the total length of all strings in a stripe - *- */ - public long getSum() { - return sum_; - } - - private void initFields() { - minimum_ = ""; - maximum_ = ""; - sum_ = 0L; - } - private byte memoizedIsInitialized = -1; - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; - - memoizedIsInitialized = 1; - return true; - } - - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeBytes(1, getMinimumBytes()); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - output.writeBytes(2, getMaximumBytes()); - } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - output.writeSInt64(3, sum_); - } - getUnknownFields().writeTo(output); - } - - private int memoizedSerializedSize = -1; - public int getSerializedSize() { - int size = memoizedSerializedSize; - if (size != -1) return size; - - size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(1, getMinimumBytes()); - } - if (((bitField0_ & 0x00000002) == 0x00000002)) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(2, getMaximumBytes()); - } - if (((bitField0_ & 0x00000004) == 0x00000004)) { - size += com.google.protobuf.CodedOutputStream - .computeSInt64Size(3, sum_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSerializedSize = size; - return size; - } - - private static final long serialVersionUID = 0L; - @java.lang.Override - protected java.lang.Object writeReplace() - throws java.io.ObjectStreamException { - return super.writeReplace(); - } - - public static org.apache.orc.OrcProto.StringStatistics parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static org.apache.orc.OrcProto.StringStatistics parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static org.apache.orc.OrcProto.StringStatistics parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static org.apache.orc.OrcProto.StringStatistics parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static org.apache.orc.OrcProto.StringStatistics parseFrom(java.io.InputStream input) - throws java.io.IOException { - return PARSER.parseFrom(input); - } - public static org.apache.orc.OrcProto.StringStatistics parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); - } - public static org.apache.orc.OrcProto.StringStatistics parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); - } - public static org.apache.orc.OrcProto.StringStatistics parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); - } - public static org.apache.orc.OrcProto.StringStatistics parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return PARSER.parseFrom(input); - } - public static org.apache.orc.OrcProto.StringStatistics parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); - } - - public static Builder newBuilder() { return Builder.create(); } - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder(org.apache.orc.OrcProto.StringStatistics prototype) { - return newBuilder().mergeFrom(prototype); - } - public Builder toBuilder() { return newBuilder(this); } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * Protobuf type {@code orc.proto.StringStatistics} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder
optional string minimum = 1;
- */
- public boolean hasMinimum() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
- /**
- * optional string minimum = 1;
- */
- public java.lang.String getMinimum() {
- java.lang.Object ref = minimum_;
- if (!(ref instanceof java.lang.String)) {
- java.lang.String s = ((com.google.protobuf.ByteString) ref)
- .toStringUtf8();
- minimum_ = s;
- return s;
- } else {
- return (java.lang.String) ref;
- }
- }
- /**
- * optional string minimum = 1;
- */
- public com.google.protobuf.ByteString
- getMinimumBytes() {
- java.lang.Object ref = minimum_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- minimum_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
- /**
- * optional string minimum = 1;
- */
- public Builder setMinimum(
- java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000001;
- minimum_ = value;
- onChanged();
- return this;
- }
- /**
- * optional string minimum = 1;
- */
- public Builder clearMinimum() {
- bitField0_ = (bitField0_ & ~0x00000001);
- minimum_ = getDefaultInstance().getMinimum();
- onChanged();
- return this;
- }
- /**
- * optional string minimum = 1;
- */
- public Builder setMinimumBytes(
- com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000001;
- minimum_ = value;
- onChanged();
- return this;
- }
-
- // optional string maximum = 2;
- private java.lang.Object maximum_ = "";
- /**
- * optional string maximum = 2;
- */
- public boolean hasMaximum() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
- }
- /**
- * optional string maximum = 2;
- */
- public java.lang.String getMaximum() {
- java.lang.Object ref = maximum_;
- if (!(ref instanceof java.lang.String)) {
- java.lang.String s = ((com.google.protobuf.ByteString) ref)
- .toStringUtf8();
- maximum_ = s;
- return s;
- } else {
- return (java.lang.String) ref;
- }
- }
- /**
- * optional string maximum = 2;
- */
- public com.google.protobuf.ByteString
- getMaximumBytes() {
- java.lang.Object ref = maximum_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- maximum_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
- /**
- * optional string maximum = 2;
- */
- public Builder setMaximum(
- java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000002;
- maximum_ = value;
- onChanged();
- return this;
- }
- /**
- * optional string maximum = 2;
- */
- public Builder clearMaximum() {
- bitField0_ = (bitField0_ & ~0x00000002);
- maximum_ = getDefaultInstance().getMaximum();
- onChanged();
- return this;
- }
- /**
- * optional string maximum = 2;
- */
- public Builder setMaximumBytes(
- com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000002;
- maximum_ = value;
- onChanged();
- return this;
- }
-
- // optional sint64 sum = 3;
- private long sum_ ;
- /**
- * optional sint64 sum = 3;
- *
- * - * sum will store the total length of all strings in a stripe - *- */ - public boolean hasSum() { - return ((bitField0_ & 0x00000004) == 0x00000004); - } - /** - *
optional sint64 sum = 3;
- *
- * - * sum will store the total length of all strings in a stripe - *- */ - public long getSum() { - return sum_; - } - /** - *
optional sint64 sum = 3;
- *
- * - * sum will store the total length of all strings in a stripe - *- */ - public Builder setSum(long value) { - bitField0_ |= 0x00000004; - sum_ = value; - onChanged(); - return this; - } - /** - *
optional sint64 sum = 3;
- *
- * - * sum will store the total length of all strings in a stripe - *- */ - public Builder clearSum() { - bitField0_ = (bitField0_ & ~0x00000004); - sum_ = 0L; - onChanged(); - return this; - } - - // @@protoc_insertion_point(builder_scope:orc.proto.StringStatistics) - } - - static { - defaultInstance = new StringStatistics(true); - defaultInstance.initFields(); - } - - // @@protoc_insertion_point(class_scope:orc.proto.StringStatistics) - } - - public interface BucketStatisticsOrBuilder - extends com.google.protobuf.MessageOrBuilder { - - // repeated uint64 count = 1 [packed = true]; - /** - *
repeated uint64 count = 1 [packed = true];
- */
- java.util.Listrepeated uint64 count = 1 [packed = true];
- */
- int getCountCount();
- /**
- * repeated uint64 count = 1 [packed = true];
- */
- long getCount(int index);
- }
- /**
- * Protobuf type {@code orc.proto.BucketStatistics}
- */
- public static final class BucketStatistics extends
- com.google.protobuf.GeneratedMessage
- implements BucketStatisticsOrBuilder {
- // Use BucketStatistics.newBuilder() to construct.
- private BucketStatistics(com.google.protobuf.GeneratedMessage.Builder> builder) {
- super(builder);
- this.unknownFields = builder.getUnknownFields();
- }
- private BucketStatistics(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
-
- private static final BucketStatistics defaultInstance;
- public static BucketStatistics getDefaultInstance() {
- return defaultInstance;
- }
-
- public BucketStatistics getDefaultInstanceForType() {
- return defaultInstance;
- }
-
- private final com.google.protobuf.UnknownFieldSet unknownFields;
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet
- getUnknownFields() {
- return this.unknownFields;
- }
- private BucketStatistics(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- initFields();
- int mutable_bitField0_ = 0;
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder();
- try {
- boolean done = false;
- while (!done) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- done = true;
- break;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- done = true;
- }
- break;
- }
- case 8: {
- if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
- count_ = new java.util.ArrayListrepeated uint64 count = 1 [packed = true];
- */
- public java.util.Listrepeated uint64 count = 1 [packed = true];
- */
- public int getCountCount() {
- return count_.size();
- }
- /**
- * repeated uint64 count = 1 [packed = true];
- */
- public long getCount(int index) {
- return count_.get(index);
- }
- private int countMemoizedSerializedSize = -1;
-
- private void initFields() {
- count_ = java.util.Collections.emptyList();
- }
- private byte memoizedIsInitialized = -1;
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1) return isInitialized == 1;
-
- memoizedIsInitialized = 1;
- return true;
- }
-
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- getSerializedSize();
- if (getCountList().size() > 0) {
- output.writeRawVarint32(10);
- output.writeRawVarint32(countMemoizedSerializedSize);
- }
- for (int i = 0; i < count_.size(); i++) {
- output.writeUInt64NoTag(count_.get(i));
- }
- getUnknownFields().writeTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public int getSerializedSize() {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- {
- int dataSize = 0;
- for (int i = 0; i < count_.size(); i++) {
- dataSize += com.google.protobuf.CodedOutputStream
- .computeUInt64SizeNoTag(count_.get(i));
- }
- size += dataSize;
- if (!getCountList().isEmpty()) {
- size += 1;
- size += com.google.protobuf.CodedOutputStream
- .computeInt32SizeNoTag(dataSize);
- }
- countMemoizedSerializedSize = dataSize;
- }
- size += getUnknownFields().getSerializedSize();
- memoizedSerializedSize = size;
- return size;
- }
-
- private static final long serialVersionUID = 0L;
- @java.lang.Override
- protected java.lang.Object writeReplace()
- throws java.io.ObjectStreamException {
- return super.writeReplace();
- }
-
- public static org.apache.orc.OrcProto.BucketStatistics parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static org.apache.orc.OrcProto.BucketStatistics parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static org.apache.orc.OrcProto.BucketStatistics parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static org.apache.orc.OrcProto.BucketStatistics parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static org.apache.orc.OrcProto.BucketStatistics parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return PARSER.parseFrom(input);
- }
- public static org.apache.orc.OrcProto.BucketStatistics parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return PARSER.parseFrom(input, extensionRegistry);
- }
- public static org.apache.orc.OrcProto.BucketStatistics parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- return PARSER.parseDelimitedFrom(input);
- }
- public static org.apache.orc.OrcProto.BucketStatistics parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return PARSER.parseDelimitedFrom(input, extensionRegistry);
- }
- public static org.apache.orc.OrcProto.BucketStatistics parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return PARSER.parseFrom(input);
- }
- public static org.apache.orc.OrcProto.BucketStatistics parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return PARSER.parseFrom(input, extensionRegistry);
- }
-
- public static Builder newBuilder() { return Builder.create(); }
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder(org.apache.orc.OrcProto.BucketStatistics prototype) {
- return newBuilder().mergeFrom(prototype);
- }
- public Builder toBuilder() { return newBuilder(this); }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
- /**
- * Protobuf type {@code orc.proto.BucketStatistics}
- */
- public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builderrepeated uint64 count = 1 [packed = true];
- */
- public java.util.Listrepeated uint64 count = 1 [packed = true];
- */
- public int getCountCount() {
- return count_.size();
- }
- /**
- * repeated uint64 count = 1 [packed = true];
- */
- public long getCount(int index) {
- return count_.get(index);
- }
- /**
- * repeated uint64 count = 1 [packed = true];
- */
- public Builder setCount(
- int index, long value) {
- ensureCountIsMutable();
- count_.set(index, value);
- onChanged();
- return this;
- }
- /**
- * repeated uint64 count = 1 [packed = true];
- */
- public Builder addCount(long value) {
- ensureCountIsMutable();
- count_.add(value);
- onChanged();
- return this;
- }
- /**
- * repeated uint64 count = 1 [packed = true];
- */
- public Builder addAllCount(
- java.lang.Iterable extends java.lang.Long> values) {
- ensureCountIsMutable();
- super.addAll(values, count_);
- onChanged();
- return this;
- }
- /**
- * repeated uint64 count = 1 [packed = true];
- */
- public Builder clearCount() {
- count_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000001);
- onChanged();
- return this;
- }
-
- // @@protoc_insertion_point(builder_scope:orc.proto.BucketStatistics)
- }
-
- static {
- defaultInstance = new BucketStatistics(true);
- defaultInstance.initFields();
- }
-
- // @@protoc_insertion_point(class_scope:orc.proto.BucketStatistics)
- }
-
- public interface DecimalStatisticsOrBuilder
- extends com.google.protobuf.MessageOrBuilder {
-
- // optional string minimum = 1;
- /**
- * optional string minimum = 1;
- */
- boolean hasMinimum();
- /**
- * optional string minimum = 1;
- */
- java.lang.String getMinimum();
- /**
- * optional string minimum = 1;
- */
- com.google.protobuf.ByteString
- getMinimumBytes();
-
- // optional string maximum = 2;
- /**
- * optional string maximum = 2;
- */
- boolean hasMaximum();
- /**
- * optional string maximum = 2;
- */
- java.lang.String getMaximum();
- /**
- * optional string maximum = 2;
- */
- com.google.protobuf.ByteString
- getMaximumBytes();
-
- // optional string sum = 3;
- /**
- * optional string sum = 3;
- */
- boolean hasSum();
- /**
- * optional string sum = 3;
- */
- java.lang.String getSum();
- /**
- * optional string sum = 3;
- */
- com.google.protobuf.ByteString
- getSumBytes();
- }
- /**
- * Protobuf type {@code orc.proto.DecimalStatistics}
- */
- public static final class DecimalStatistics extends
- com.google.protobuf.GeneratedMessage
- implements DecimalStatisticsOrBuilder {
- // Use DecimalStatistics.newBuilder() to construct.
- private DecimalStatistics(com.google.protobuf.GeneratedMessage.Builder> builder) {
- super(builder);
- this.unknownFields = builder.getUnknownFields();
- }
- private DecimalStatistics(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
-
- private static final DecimalStatistics defaultInstance;
- public static DecimalStatistics getDefaultInstance() {
- return defaultInstance;
- }
-
- public DecimalStatistics getDefaultInstanceForType() {
- return defaultInstance;
- }
-
- private final com.google.protobuf.UnknownFieldSet unknownFields;
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet
- getUnknownFields() {
- return this.unknownFields;
- }
- private DecimalStatistics(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- initFields();
- int mutable_bitField0_ = 0;
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder();
- try {
- boolean done = false;
- while (!done) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- done = true;
- break;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- done = true;
- }
- break;
- }
- case 10: {
- bitField0_ |= 0x00000001;
- minimum_ = input.readBytes();
- break;
- }
- case 18: {
- bitField0_ |= 0x00000002;
- maximum_ = input.readBytes();
- break;
- }
- case 26: {
- bitField0_ |= 0x00000004;
- sum_ = input.readBytes();
- break;
- }
- }
- }
- } catch (com.google.protobuf.InvalidProtocolBufferException e) {
- throw e.setUnfinishedMessage(this);
- } catch (java.io.IOException e) {
- throw new com.google.protobuf.InvalidProtocolBufferException(
- e.getMessage()).setUnfinishedMessage(this);
- } finally {
- this.unknownFields = unknownFields.build();
- makeExtensionsImmutable();
- }
- }
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return org.apache.orc.OrcProto.internal_static_orc_proto_DecimalStatistics_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return org.apache.orc.OrcProto.internal_static_orc_proto_DecimalStatistics_fieldAccessorTable
- .ensureFieldAccessorsInitialized(
- org.apache.orc.OrcProto.DecimalStatistics.class, org.apache.orc.OrcProto.DecimalStatistics.Builder.class);
- }
-
- public static com.google.protobuf.Parseroptional string minimum = 1;
- */
- public boolean hasMinimum() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
- /**
- * optional string minimum = 1;
- */
- public java.lang.String getMinimum() {
- java.lang.Object ref = minimum_;
- if (ref instanceof java.lang.String) {
- return (java.lang.String) ref;
- } else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- if (bs.isValidUtf8()) {
- minimum_ = s;
- }
- return s;
- }
- }
- /**
- * optional string minimum = 1;
- */
- public com.google.protobuf.ByteString
- getMinimumBytes() {
- java.lang.Object ref = minimum_;
- if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- minimum_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- // optional string maximum = 2;
- public static final int MAXIMUM_FIELD_NUMBER = 2;
- private java.lang.Object maximum_;
- /**
- * optional string maximum = 2;
- */
- public boolean hasMaximum() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
- }
- /**
- * optional string maximum = 2;
- */
- public java.lang.String getMaximum() {
- java.lang.Object ref = maximum_;
- if (ref instanceof java.lang.String) {
- return (java.lang.String) ref;
- } else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- if (bs.isValidUtf8()) {
- maximum_ = s;
- }
- return s;
- }
- }
- /**
- * optional string maximum = 2;
- */
- public com.google.protobuf.ByteString
- getMaximumBytes() {
- java.lang.Object ref = maximum_;
- if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- maximum_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- // optional string sum = 3;
- public static final int SUM_FIELD_NUMBER = 3;
- private java.lang.Object sum_;
- /**
- * optional string sum = 3;
- */
- public boolean hasSum() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
- }
- /**
- * optional string sum = 3;
- */
- public java.lang.String getSum() {
- java.lang.Object ref = sum_;
- if (ref instanceof java.lang.String) {
- return (java.lang.String) ref;
- } else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- if (bs.isValidUtf8()) {
- sum_ = s;
- }
- return s;
- }
- }
- /**
- * optional string sum = 3;
- */
- public com.google.protobuf.ByteString
- getSumBytes() {
- java.lang.Object ref = sum_;
- if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- sum_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- private void initFields() {
- minimum_ = "";
- maximum_ = "";
- sum_ = "";
- }
- private byte memoizedIsInitialized = -1;
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1) return isInitialized == 1;
-
- memoizedIsInitialized = 1;
- return true;
- }
-
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- getSerializedSize();
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- output.writeBytes(1, getMinimumBytes());
- }
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
- output.writeBytes(2, getMaximumBytes());
- }
- if (((bitField0_ & 0x00000004) == 0x00000004)) {
- output.writeBytes(3, getSumBytes());
- }
- getUnknownFields().writeTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public int getSerializedSize() {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- size += com.google.protobuf.CodedOutputStream
- .computeBytesSize(1, getMinimumBytes());
- }
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
- size += com.google.protobuf.CodedOutputStream
- .computeBytesSize(2, getMaximumBytes());
- }
- if (((bitField0_ & 0x00000004) == 0x00000004)) {
- size += com.google.protobuf.CodedOutputStream
- .computeBytesSize(3, getSumBytes());
- }
- size += getUnknownFields().getSerializedSize();
- memoizedSerializedSize = size;
- return size;
- }
-
- private static final long serialVersionUID = 0L;
- @java.lang.Override
- protected java.lang.Object writeReplace()
- throws java.io.ObjectStreamException {
- return super.writeReplace();
- }
-
- public static org.apache.orc.OrcProto.DecimalStatistics parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static org.apache.orc.OrcProto.DecimalStatistics parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static org.apache.orc.OrcProto.DecimalStatistics parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static org.apache.orc.OrcProto.DecimalStatistics parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static org.apache.orc.OrcProto.DecimalStatistics parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return PARSER.parseFrom(input);
- }
- public static org.apache.orc.OrcProto.DecimalStatistics parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return PARSER.parseFrom(input, extensionRegistry);
- }
- public static org.apache.orc.OrcProto.DecimalStatistics parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- return PARSER.parseDelimitedFrom(input);
- }
- public static org.apache.orc.OrcProto.DecimalStatistics parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return PARSER.parseDelimitedFrom(input, extensionRegistry);
- }
- public static org.apache.orc.OrcProto.DecimalStatistics parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return PARSER.parseFrom(input);
- }
- public static org.apache.orc.OrcProto.DecimalStatistics parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return PARSER.parseFrom(input, extensionRegistry);
- }
-
- public static Builder newBuilder() { return Builder.create(); }
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder(org.apache.orc.OrcProto.DecimalStatistics prototype) {
- return newBuilder().mergeFrom(prototype);
- }
- public Builder toBuilder() { return newBuilder(this); }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
- /**
- * Protobuf type {@code orc.proto.DecimalStatistics}
- */
- public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builderoptional string minimum = 1;
- */
- public boolean hasMinimum() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
- /**
- * optional string minimum = 1;
- */
- public java.lang.String getMinimum() {
- java.lang.Object ref = minimum_;
- if (!(ref instanceof java.lang.String)) {
- java.lang.String s = ((com.google.protobuf.ByteString) ref)
- .toStringUtf8();
- minimum_ = s;
- return s;
- } else {
- return (java.lang.String) ref;
- }
- }
- /**
- * optional string minimum = 1;
- */
- public com.google.protobuf.ByteString
- getMinimumBytes() {
- java.lang.Object ref = minimum_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- minimum_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
- /**
- * optional string minimum = 1;
- */
- public Builder setMinimum(
- java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000001;
- minimum_ = value;
- onChanged();
- return this;
- }
- /**
- * optional string minimum = 1;
- */
- public Builder clearMinimum() {
- bitField0_ = (bitField0_ & ~0x00000001);
- minimum_ = getDefaultInstance().getMinimum();
- onChanged();
- return this;
- }
- /**
- * optional string minimum = 1;
- */
- public Builder setMinimumBytes(
- com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000001;
- minimum_ = value;
- onChanged();
- return this;
- }
-
- // optional string maximum = 2;
- private java.lang.Object maximum_ = "";
- /**
- * optional string maximum = 2;
- */
- public boolean hasMaximum() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
- }
- /**
- * optional string maximum = 2;
- */
- public java.lang.String getMaximum() {
- java.lang.Object ref = maximum_;
- if (!(ref instanceof java.lang.String)) {
- java.lang.String s = ((com.google.protobuf.ByteString) ref)
- .toStringUtf8();
- maximum_ = s;
- return s;
- } else {
- return (java.lang.String) ref;
- }
- }
- /**
- * optional string maximum = 2;
- */
- public com.google.protobuf.ByteString
- getMaximumBytes() {
- java.lang.Object ref = maximum_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- maximum_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
- /**
- * optional string maximum = 2;
- */
- public Builder setMaximum(
- java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000002;
- maximum_ = value;
- onChanged();
- return this;
- }
- /**
- * optional string maximum = 2;
- */
- public Builder clearMaximum() {
- bitField0_ = (bitField0_ & ~0x00000002);
- maximum_ = getDefaultInstance().getMaximum();
- onChanged();
- return this;
- }
- /**
- * optional string maximum = 2;
- */
- public Builder setMaximumBytes(
- com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000002;
- maximum_ = value;
- onChanged();
- return this;
- }
-
- // optional string sum = 3;
- private java.lang.Object sum_ = "";
- /**
- * optional string sum = 3;
- */
- public boolean hasSum() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
- }
- /**
- * optional string sum = 3;
- */
- public java.lang.String getSum() {
- java.lang.Object ref = sum_;
- if (!(ref instanceof java.lang.String)) {
- java.lang.String s = ((com.google.protobuf.ByteString) ref)
- .toStringUtf8();
- sum_ = s;
- return s;
- } else {
- return (java.lang.String) ref;
- }
- }
- /**
- * optional string sum = 3;
- */
- public com.google.protobuf.ByteString
- getSumBytes() {
- java.lang.Object ref = sum_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- sum_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
- /**
- * optional string sum = 3;
- */
- public Builder setSum(
- java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000004;
- sum_ = value;
- onChanged();
- return this;
- }
- /**
- * optional string sum = 3;
- */
- public Builder clearSum() {
- bitField0_ = (bitField0_ & ~0x00000004);
- sum_ = getDefaultInstance().getSum();
- onChanged();
- return this;
- }
- /**
- * optional string sum = 3;
- */
- public Builder setSumBytes(
- com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000004;
- sum_ = value;
- onChanged();
- return this;
- }
-
- // @@protoc_insertion_point(builder_scope:orc.proto.DecimalStatistics)
- }
-
- static {
- defaultInstance = new DecimalStatistics(true);
- defaultInstance.initFields();
- }
-
- // @@protoc_insertion_point(class_scope:orc.proto.DecimalStatistics)
- }
-
- public interface DateStatisticsOrBuilder
- extends com.google.protobuf.MessageOrBuilder {
-
- // optional sint32 minimum = 1;
- /**
- * optional sint32 minimum = 1;
- *
- * - * min,max values saved as days since epoch - *- */ - boolean hasMinimum(); - /** - *
optional sint32 minimum = 1;
- *
- * - * min,max values saved as days since epoch - *- */ - int getMinimum(); - - // optional sint32 maximum = 2; - /** - *
optional sint32 maximum = 2;
- */
- boolean hasMaximum();
- /**
- * optional sint32 maximum = 2;
- */
- int getMaximum();
- }
- /**
- * Protobuf type {@code orc.proto.DateStatistics}
- */
- public static final class DateStatistics extends
- com.google.protobuf.GeneratedMessage
- implements DateStatisticsOrBuilder {
- // Use DateStatistics.newBuilder() to construct.
- private DateStatistics(com.google.protobuf.GeneratedMessage.Builder> builder) {
- super(builder);
- this.unknownFields = builder.getUnknownFields();
- }
- private DateStatistics(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
-
- private static final DateStatistics defaultInstance;
- public static DateStatistics getDefaultInstance() {
- return defaultInstance;
- }
-
- public DateStatistics getDefaultInstanceForType() {
- return defaultInstance;
- }
-
- private final com.google.protobuf.UnknownFieldSet unknownFields;
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet
- getUnknownFields() {
- return this.unknownFields;
- }
- private DateStatistics(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- initFields();
- int mutable_bitField0_ = 0;
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder();
- try {
- boolean done = false;
- while (!done) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- done = true;
- break;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- done = true;
- }
- break;
- }
- case 8: {
- bitField0_ |= 0x00000001;
- minimum_ = input.readSInt32();
- break;
- }
- case 16: {
- bitField0_ |= 0x00000002;
- maximum_ = input.readSInt32();
- break;
- }
- }
- }
- } catch (com.google.protobuf.InvalidProtocolBufferException e) {
- throw e.setUnfinishedMessage(this);
- } catch (java.io.IOException e) {
- throw new com.google.protobuf.InvalidProtocolBufferException(
- e.getMessage()).setUnfinishedMessage(this);
- } finally {
- this.unknownFields = unknownFields.build();
- makeExtensionsImmutable();
- }
- }
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return org.apache.orc.OrcProto.internal_static_orc_proto_DateStatistics_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return org.apache.orc.OrcProto.internal_static_orc_proto_DateStatistics_fieldAccessorTable
- .ensureFieldAccessorsInitialized(
- org.apache.orc.OrcProto.DateStatistics.class, org.apache.orc.OrcProto.DateStatistics.Builder.class);
- }
-
- public static com.google.protobuf.Parseroptional sint32 minimum = 1;
- *
- * - * min,max values saved as days since epoch - *- */ - public boolean hasMinimum() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - /** - *
optional sint32 minimum = 1;
- *
- * - * min,max values saved as days since epoch - *- */ - public int getMinimum() { - return minimum_; - } - - // optional sint32 maximum = 2; - public static final int MAXIMUM_FIELD_NUMBER = 2; - private int maximum_; - /** - *
optional sint32 maximum = 2;
- */
- public boolean hasMaximum() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
- }
- /**
- * optional sint32 maximum = 2;
- */
- public int getMaximum() {
- return maximum_;
- }
-
- private void initFields() {
- minimum_ = 0;
- maximum_ = 0;
- }
- private byte memoizedIsInitialized = -1;
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1) return isInitialized == 1;
-
- memoizedIsInitialized = 1;
- return true;
- }
-
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- getSerializedSize();
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- output.writeSInt32(1, minimum_);
- }
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
- output.writeSInt32(2, maximum_);
- }
- getUnknownFields().writeTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public int getSerializedSize() {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- size += com.google.protobuf.CodedOutputStream
- .computeSInt32Size(1, minimum_);
- }
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
- size += com.google.protobuf.CodedOutputStream
- .computeSInt32Size(2, maximum_);
- }
- size += getUnknownFields().getSerializedSize();
- memoizedSerializedSize = size;
- return size;
- }
-
- private static final long serialVersionUID = 0L;
- @java.lang.Override
- protected java.lang.Object writeReplace()
- throws java.io.ObjectStreamException {
- return super.writeReplace();
- }
-
- public static org.apache.orc.OrcProto.DateStatistics parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static org.apache.orc.OrcProto.DateStatistics parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static org.apache.orc.OrcProto.DateStatistics parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static org.apache.orc.OrcProto.DateStatistics parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static org.apache.orc.OrcProto.DateStatistics parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return PARSER.parseFrom(input);
- }
- public static org.apache.orc.OrcProto.DateStatistics parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return PARSER.parseFrom(input, extensionRegistry);
- }
- public static org.apache.orc.OrcProto.DateStatistics parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- return PARSER.parseDelimitedFrom(input);
- }
- public static org.apache.orc.OrcProto.DateStatistics parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return PARSER.parseDelimitedFrom(input, extensionRegistry);
- }
- public static org.apache.orc.OrcProto.DateStatistics parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return PARSER.parseFrom(input);
- }
- public static org.apache.orc.OrcProto.DateStatistics parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return PARSER.parseFrom(input, extensionRegistry);
- }
-
- public static Builder newBuilder() { return Builder.create(); }
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder(org.apache.orc.OrcProto.DateStatistics prototype) {
- return newBuilder().mergeFrom(prototype);
- }
- public Builder toBuilder() { return newBuilder(this); }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
- /**
- * Protobuf type {@code orc.proto.DateStatistics}
- */
- public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builderoptional sint32 minimum = 1;
- *
- * - * min,max values saved as days since epoch - *- */ - public boolean hasMinimum() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - /** - *
optional sint32 minimum = 1;
- *
- * - * min,max values saved as days since epoch - *- */ - public int getMinimum() { - return minimum_; - } - /** - *
optional sint32 minimum = 1;
- *
- * - * min,max values saved as days since epoch - *- */ - public Builder setMinimum(int value) { - bitField0_ |= 0x00000001; - minimum_ = value; - onChanged(); - return this; - } - /** - *
optional sint32 minimum = 1;
- *
- * - * min,max values saved as days since epoch - *- */ - public Builder clearMinimum() { - bitField0_ = (bitField0_ & ~0x00000001); - minimum_ = 0; - onChanged(); - return this; - } - - // optional sint32 maximum = 2; - private int maximum_ ; - /** - *
optional sint32 maximum = 2;
- */
- public boolean hasMaximum() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
- }
- /**
- * optional sint32 maximum = 2;
- */
- public int getMaximum() {
- return maximum_;
- }
- /**
- * optional sint32 maximum = 2;
- */
- public Builder setMaximum(int value) {
- bitField0_ |= 0x00000002;
- maximum_ = value;
- onChanged();
- return this;
- }
- /**
- * optional sint32 maximum = 2;
- */
- public Builder clearMaximum() {
- bitField0_ = (bitField0_ & ~0x00000002);
- maximum_ = 0;
- onChanged();
- return this;
- }
-
- // @@protoc_insertion_point(builder_scope:orc.proto.DateStatistics)
- }
-
- static {
- defaultInstance = new DateStatistics(true);
- defaultInstance.initFields();
- }
-
- // @@protoc_insertion_point(class_scope:orc.proto.DateStatistics)
- }
-
- public interface TimestampStatisticsOrBuilder
- extends com.google.protobuf.MessageOrBuilder {
-
- // optional sint64 minimum = 1;
- /**
- * optional sint64 minimum = 1;
- *
- * - * min,max values saved as milliseconds since epoch - *- */ - boolean hasMinimum(); - /** - *
optional sint64 minimum = 1;
- *
- * - * min,max values saved as milliseconds since epoch - *- */ - long getMinimum(); - - // optional sint64 maximum = 2; - /** - *
optional sint64 maximum = 2;
- */
- boolean hasMaximum();
- /**
- * optional sint64 maximum = 2;
- */
- long getMaximum();
- }
- /**
- * Protobuf type {@code orc.proto.TimestampStatistics}
- */
- public static final class TimestampStatistics extends
- com.google.protobuf.GeneratedMessage
- implements TimestampStatisticsOrBuilder {
- // Use TimestampStatistics.newBuilder() to construct.
- private TimestampStatistics(com.google.protobuf.GeneratedMessage.Builder> builder) {
- super(builder);
- this.unknownFields = builder.getUnknownFields();
- }
- private TimestampStatistics(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
-
- private static final TimestampStatistics defaultInstance;
- public static TimestampStatistics getDefaultInstance() {
- return defaultInstance;
- }
-
- public TimestampStatistics getDefaultInstanceForType() {
- return defaultInstance;
- }
-
- private final com.google.protobuf.UnknownFieldSet unknownFields;
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet
- getUnknownFields() {
- return this.unknownFields;
- }
- private TimestampStatistics(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- initFields();
- int mutable_bitField0_ = 0;
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder();
- try {
- boolean done = false;
- while (!done) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- done = true;
- break;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- done = true;
- }
- break;
- }
- case 8: {
- bitField0_ |= 0x00000001;
- minimum_ = input.readSInt64();
- break;
- }
- case 16: {
- bitField0_ |= 0x00000002;
- maximum_ = input.readSInt64();
- break;
- }
- }
- }
- } catch (com.google.protobuf.InvalidProtocolBufferException e) {
- throw e.setUnfinishedMessage(this);
- } catch (java.io.IOException e) {
- throw new com.google.protobuf.InvalidProtocolBufferException(
- e.getMessage()).setUnfinishedMessage(this);
- } finally {
- this.unknownFields = unknownFields.build();
- makeExtensionsImmutable();
- }
- }
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return org.apache.orc.OrcProto.internal_static_orc_proto_TimestampStatistics_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return org.apache.orc.OrcProto.internal_static_orc_proto_TimestampStatistics_fieldAccessorTable
- .ensureFieldAccessorsInitialized(
- org.apache.orc.OrcProto.TimestampStatistics.class, org.apache.orc.OrcProto.TimestampStatistics.Builder.class);
- }
-
- public static com.google.protobuf.Parseroptional sint64 minimum = 1;
- *
- * - * min,max values saved as milliseconds since epoch - *- */ - public boolean hasMinimum() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - /** - *
optional sint64 minimum = 1;
- *
- * - * min,max values saved as milliseconds since epoch - *- */ - public long getMinimum() { - return minimum_; - } - - // optional sint64 maximum = 2; - public static final int MAXIMUM_FIELD_NUMBER = 2; - private long maximum_; - /** - *
optional sint64 maximum = 2;
- */
- public boolean hasMaximum() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
- }
- /**
- * optional sint64 maximum = 2;
- */
- public long getMaximum() {
- return maximum_;
- }
-
- private void initFields() {
- minimum_ = 0L;
- maximum_ = 0L;
- }
- private byte memoizedIsInitialized = -1;
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1) return isInitialized == 1;
-
- memoizedIsInitialized = 1;
- return true;
- }
-
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- getSerializedSize();
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- output.writeSInt64(1, minimum_);
- }
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
- output.writeSInt64(2, maximum_);
- }
- getUnknownFields().writeTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public int getSerializedSize() {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- size += com.google.protobuf.CodedOutputStream
- .computeSInt64Size(1, minimum_);
- }
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
- size += com.google.protobuf.CodedOutputStream
- .computeSInt64Size(2, maximum_);
- }
- size += getUnknownFields().getSerializedSize();
- memoizedSerializedSize = size;
- return size;
- }
-
- private static final long serialVersionUID = 0L;
- @java.lang.Override
- protected java.lang.Object writeReplace()
- throws java.io.ObjectStreamException {
- return super.writeReplace();
- }
-
- public static org.apache.orc.OrcProto.TimestampStatistics parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static org.apache.orc.OrcProto.TimestampStatistics parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static org.apache.orc.OrcProto.TimestampStatistics parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static org.apache.orc.OrcProto.TimestampStatistics parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static org.apache.orc.OrcProto.TimestampStatistics parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return PARSER.parseFrom(input);
- }
- public static org.apache.orc.OrcProto.TimestampStatistics parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return PARSER.parseFrom(input, extensionRegistry);
- }
- public static org.apache.orc.OrcProto.TimestampStatistics parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- return PARSER.parseDelimitedFrom(input);
- }
- public static org.apache.orc.OrcProto.TimestampStatistics parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return PARSER.parseDelimitedFrom(input, extensionRegistry);
- }
- public static org.apache.orc.OrcProto.TimestampStatistics parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return PARSER.parseFrom(input);
- }
- public static org.apache.orc.OrcProto.TimestampStatistics parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return PARSER.parseFrom(input, extensionRegistry);
- }
-
- public static Builder newBuilder() { return Builder.create(); }
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder(org.apache.orc.OrcProto.TimestampStatistics prototype) {
- return newBuilder().mergeFrom(prototype);
- }
- public Builder toBuilder() { return newBuilder(this); }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
- /**
- * Protobuf type {@code orc.proto.TimestampStatistics}
- */
- public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builderoptional sint64 minimum = 1;
- *
- * - * min,max values saved as milliseconds since epoch - *- */ - public boolean hasMinimum() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - /** - *
optional sint64 minimum = 1;
- *
- * - * min,max values saved as milliseconds since epoch - *- */ - public long getMinimum() { - return minimum_; - } - /** - *
optional sint64 minimum = 1;
- *
- * - * min,max values saved as milliseconds since epoch - *- */ - public Builder setMinimum(long value) { - bitField0_ |= 0x00000001; - minimum_ = value; - onChanged(); - return this; - } - /** - *
optional sint64 minimum = 1;
- *
- * - * min,max values saved as milliseconds since epoch - *- */ - public Builder clearMinimum() { - bitField0_ = (bitField0_ & ~0x00000001); - minimum_ = 0L; - onChanged(); - return this; - } - - // optional sint64 maximum = 2; - private long maximum_ ; - /** - *
optional sint64 maximum = 2;
- */
- public boolean hasMaximum() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
- }
- /**
- * optional sint64 maximum = 2;
- */
- public long getMaximum() {
- return maximum_;
- }
- /**
- * optional sint64 maximum = 2;
- */
- public Builder setMaximum(long value) {
- bitField0_ |= 0x00000002;
- maximum_ = value;
- onChanged();
- return this;
- }
- /**
- * optional sint64 maximum = 2;
- */
- public Builder clearMaximum() {
- bitField0_ = (bitField0_ & ~0x00000002);
- maximum_ = 0L;
- onChanged();
- return this;
- }
-
- // @@protoc_insertion_point(builder_scope:orc.proto.TimestampStatistics)
- }
-
- static {
- defaultInstance = new TimestampStatistics(true);
- defaultInstance.initFields();
- }
-
- // @@protoc_insertion_point(class_scope:orc.proto.TimestampStatistics)
- }
-
- public interface BinaryStatisticsOrBuilder
- extends com.google.protobuf.MessageOrBuilder {
-
- // optional sint64 sum = 1;
- /**
- * optional sint64 sum = 1;
- *
- * - * sum will store the total binary blob length in a stripe - *- */ - boolean hasSum(); - /** - *
optional sint64 sum = 1;
- *
- * - * sum will store the total binary blob length in a stripe - *- */ - long getSum(); - } - /** - * Protobuf type {@code orc.proto.BinaryStatistics} - */ - public static final class BinaryStatistics extends - com.google.protobuf.GeneratedMessage - implements BinaryStatisticsOrBuilder { - // Use BinaryStatistics.newBuilder() to construct. - private BinaryStatistics(com.google.protobuf.GeneratedMessage.Builder> builder) { - super(builder); - this.unknownFields = builder.getUnknownFields(); - } - private BinaryStatistics(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } - - private static final BinaryStatistics defaultInstance; - public static BinaryStatistics getDefaultInstance() { - return defaultInstance; - } - - public BinaryStatistics getDefaultInstanceForType() { - return defaultInstance; - } - - private final com.google.protobuf.UnknownFieldSet unknownFields; - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { - return this.unknownFields; - } - private BinaryStatistics( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - initFields(); - int mutable_bitField0_ = 0; - com.google.protobuf.UnknownFieldSet.Builder unknownFields = - com.google.protobuf.UnknownFieldSet.newBuilder(); - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - default: { - if (!parseUnknownField(input, unknownFields, - extensionRegistry, tag)) { - done = true; - } - break; - } - case 8: { - bitField0_ |= 0x00000001; - sum_ = input.readSInt64(); - break; - } - } - } - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(this); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e.getMessage()).setUnfinishedMessage(this); - } finally { - this.unknownFields = unknownFields.build(); - makeExtensionsImmutable(); - } - } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return org.apache.orc.OrcProto.internal_static_orc_proto_BinaryStatistics_descriptor; - } - - protected com.google.protobuf.GeneratedMessage.FieldAccessorTable - internalGetFieldAccessorTable() { - return org.apache.orc.OrcProto.internal_static_orc_proto_BinaryStatistics_fieldAccessorTable - .ensureFieldAccessorsInitialized( - org.apache.orc.OrcProto.BinaryStatistics.class, org.apache.orc.OrcProto.BinaryStatistics.Builder.class); - } - - public static com.google.protobuf.Parser
optional sint64 sum = 1;
- *
- * - * sum will store the total binary blob length in a stripe - *- */ - public boolean hasSum() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - /** - *
optional sint64 sum = 1;
- *
- * - * sum will store the total binary blob length in a stripe - *- */ - public long getSum() { - return sum_; - } - - private void initFields() { - sum_ = 0L; - } - private byte memoizedIsInitialized = -1; - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized != -1) return isInitialized == 1; - - memoizedIsInitialized = 1; - return true; - } - - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - getSerializedSize(); - if (((bitField0_ & 0x00000001) == 0x00000001)) { - output.writeSInt64(1, sum_); - } - getUnknownFields().writeTo(output); - } - - private int memoizedSerializedSize = -1; - public int getSerializedSize() { - int size = memoizedSerializedSize; - if (size != -1) return size; - - size = 0; - if (((bitField0_ & 0x00000001) == 0x00000001)) { - size += com.google.protobuf.CodedOutputStream - .computeSInt64Size(1, sum_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSerializedSize = size; - return size; - } - - private static final long serialVersionUID = 0L; - @java.lang.Override - protected java.lang.Object writeReplace() - throws java.io.ObjectStreamException { - return super.writeReplace(); - } - - public static org.apache.orc.OrcProto.BinaryStatistics parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static org.apache.orc.OrcProto.BinaryStatistics parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static org.apache.orc.OrcProto.BinaryStatistics parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - public static org.apache.orc.OrcProto.BinaryStatistics parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - public static org.apache.orc.OrcProto.BinaryStatistics parseFrom(java.io.InputStream input) - throws java.io.IOException { - return PARSER.parseFrom(input); - } - public static org.apache.orc.OrcProto.BinaryStatistics parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); - } - public static org.apache.orc.OrcProto.BinaryStatistics parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return PARSER.parseDelimitedFrom(input); - } - public static org.apache.orc.OrcProto.BinaryStatistics parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return PARSER.parseDelimitedFrom(input, extensionRegistry); - } - public static org.apache.orc.OrcProto.BinaryStatistics parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return PARSER.parseFrom(input); - } - public static org.apache.orc.OrcProto.BinaryStatistics parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return PARSER.parseFrom(input, extensionRegistry); - } - - public static Builder newBuilder() { return Builder.create(); } - public Builder newBuilderForType() { return newBuilder(); } - public static Builder newBuilder(org.apache.orc.OrcProto.BinaryStatistics prototype) { - return newBuilder().mergeFrom(prototype); - } - public Builder toBuilder() { return newBuilder(this); } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessage.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * Protobuf type {@code orc.proto.BinaryStatistics} - */ - public static final class Builder extends - com.google.protobuf.GeneratedMessage.Builder
optional sint64 sum = 1;
- *
- * - * sum will store the total binary blob length in a stripe - *- */ - public boolean hasSum() { - return ((bitField0_ & 0x00000001) == 0x00000001); - } - /** - *
optional sint64 sum = 1;
- *
- * - * sum will store the total binary blob length in a stripe - *- */ - public long getSum() { - return sum_; - } - /** - *
optional sint64 sum = 1;
- *
- * - * sum will store the total binary blob length in a stripe - *- */ - public Builder setSum(long value) { - bitField0_ |= 0x00000001; - sum_ = value; - onChanged(); - return this; - } - /** - *
optional sint64 sum = 1;
- *
- * - * sum will store the total binary blob length in a stripe - *- */ - public Builder clearSum() { - bitField0_ = (bitField0_ & ~0x00000001); - sum_ = 0L; - onChanged(); - return this; - } - - // @@protoc_insertion_point(builder_scope:orc.proto.BinaryStatistics) - } - - static { - defaultInstance = new BinaryStatistics(true); - defaultInstance.initFields(); - } - - // @@protoc_insertion_point(class_scope:orc.proto.BinaryStatistics) - } - - public interface ColumnStatisticsOrBuilder - extends com.google.protobuf.MessageOrBuilder { - - // optional uint64 numberOfValues = 1; - /** - *
optional uint64 numberOfValues = 1;
- */
- boolean hasNumberOfValues();
- /**
- * optional uint64 numberOfValues = 1;
- */
- long getNumberOfValues();
-
- // optional .orc.proto.IntegerStatistics intStatistics = 2;
- /**
- * optional .orc.proto.IntegerStatistics intStatistics = 2;
- */
- boolean hasIntStatistics();
- /**
- * optional .orc.proto.IntegerStatistics intStatistics = 2;
- */
- org.apache.orc.OrcProto.IntegerStatistics getIntStatistics();
- /**
- * optional .orc.proto.IntegerStatistics intStatistics = 2;
- */
- org.apache.orc.OrcProto.IntegerStatisticsOrBuilder getIntStatisticsOrBuilder();
-
- // optional .orc.proto.DoubleStatistics doubleStatistics = 3;
- /**
- * optional .orc.proto.DoubleStatistics doubleStatistics = 3;
- */
- boolean hasDoubleStatistics();
- /**
- * optional .orc.proto.DoubleStatistics doubleStatistics = 3;
- */
- org.apache.orc.OrcProto.DoubleStatistics getDoubleStatistics();
- /**
- * optional .orc.proto.DoubleStatistics doubleStatistics = 3;
- */
- org.apache.orc.OrcProto.DoubleStatisticsOrBuilder getDoubleStatisticsOrBuilder();
-
- // optional .orc.proto.StringStatistics stringStatistics = 4;
- /**
- * optional .orc.proto.StringStatistics stringStatistics = 4;
- */
- boolean hasStringStatistics();
- /**
- * optional .orc.proto.StringStatistics stringStatistics = 4;
- */
- org.apache.orc.OrcProto.StringStatistics getStringStatistics();
- /**
- * optional .orc.proto.StringStatistics stringStatistics = 4;
- */
- org.apache.orc.OrcProto.StringStatisticsOrBuilder getStringStatisticsOrBuilder();
-
- // optional .orc.proto.BucketStatistics bucketStatistics = 5;
- /**
- * optional .orc.proto.BucketStatistics bucketStatistics = 5;
- */
- boolean hasBucketStatistics();
- /**
- * optional .orc.proto.BucketStatistics bucketStatistics = 5;
- */
- org.apache.orc.OrcProto.BucketStatistics getBucketStatistics();
- /**
- * optional .orc.proto.BucketStatistics bucketStatistics = 5;
- */
- org.apache.orc.OrcProto.BucketStatisticsOrBuilder getBucketStatisticsOrBuilder();
-
- // optional .orc.proto.DecimalStatistics decimalStatistics = 6;
- /**
- * optional .orc.proto.DecimalStatistics decimalStatistics = 6;
- */
- boolean hasDecimalStatistics();
- /**
- * optional .orc.proto.DecimalStatistics decimalStatistics = 6;
- */
- org.apache.orc.OrcProto.DecimalStatistics getDecimalStatistics();
- /**
- * optional .orc.proto.DecimalStatistics decimalStatistics = 6;
- */
- org.apache.orc.OrcProto.DecimalStatisticsOrBuilder getDecimalStatisticsOrBuilder();
-
- // optional .orc.proto.DateStatistics dateStatistics = 7;
- /**
- * optional .orc.proto.DateStatistics dateStatistics = 7;
- */
- boolean hasDateStatistics();
- /**
- * optional .orc.proto.DateStatistics dateStatistics = 7;
- */
- org.apache.orc.OrcProto.DateStatistics getDateStatistics();
- /**
- * optional .orc.proto.DateStatistics dateStatistics = 7;
- */
- org.apache.orc.OrcProto.DateStatisticsOrBuilder getDateStatisticsOrBuilder();
-
- // optional .orc.proto.BinaryStatistics binaryStatistics = 8;
- /**
- * optional .orc.proto.BinaryStatistics binaryStatistics = 8;
- */
- boolean hasBinaryStatistics();
- /**
- * optional .orc.proto.BinaryStatistics binaryStatistics = 8;
- */
- org.apache.orc.OrcProto.BinaryStatistics getBinaryStatistics();
- /**
- * optional .orc.proto.BinaryStatistics binaryStatistics = 8;
- */
- org.apache.orc.OrcProto.BinaryStatisticsOrBuilder getBinaryStatisticsOrBuilder();
-
- // optional .orc.proto.TimestampStatistics timestampStatistics = 9;
- /**
- * optional .orc.proto.TimestampStatistics timestampStatistics = 9;
- */
- boolean hasTimestampStatistics();
- /**
- * optional .orc.proto.TimestampStatistics timestampStatistics = 9;
- */
- org.apache.orc.OrcProto.TimestampStatistics getTimestampStatistics();
- /**
- * optional .orc.proto.TimestampStatistics timestampStatistics = 9;
- */
- org.apache.orc.OrcProto.TimestampStatisticsOrBuilder getTimestampStatisticsOrBuilder();
-
- // optional bool hasNull = 10;
- /**
- * optional bool hasNull = 10;
- */
- boolean hasHasNull();
- /**
- * optional bool hasNull = 10;
- */
- boolean getHasNull();
- }
- /**
- * Protobuf type {@code orc.proto.ColumnStatistics}
- */
- public static final class ColumnStatistics extends
- com.google.protobuf.GeneratedMessage
- implements ColumnStatisticsOrBuilder {
- // Use ColumnStatistics.newBuilder() to construct.
- private ColumnStatistics(com.google.protobuf.GeneratedMessage.Builder> builder) {
- super(builder);
- this.unknownFields = builder.getUnknownFields();
- }
- private ColumnStatistics(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
-
- private static final ColumnStatistics defaultInstance;
- public static ColumnStatistics getDefaultInstance() {
- return defaultInstance;
- }
-
- public ColumnStatistics getDefaultInstanceForType() {
- return defaultInstance;
- }
-
- private final com.google.protobuf.UnknownFieldSet unknownFields;
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet
- getUnknownFields() {
- return this.unknownFields;
- }
- private ColumnStatistics(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- initFields();
- int mutable_bitField0_ = 0;
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder();
- try {
- boolean done = false;
- while (!done) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- done = true;
- break;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- done = true;
- }
- break;
- }
- case 8: {
- bitField0_ |= 0x00000001;
- numberOfValues_ = input.readUInt64();
- break;
- }
- case 18: {
- org.apache.orc.OrcProto.IntegerStatistics.Builder subBuilder = null;
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
- subBuilder = intStatistics_.toBuilder();
- }
- intStatistics_ = input.readMessage(org.apache.orc.OrcProto.IntegerStatistics.PARSER, extensionRegistry);
- if (subBuilder != null) {
- subBuilder.mergeFrom(intStatistics_);
- intStatistics_ = subBuilder.buildPartial();
- }
- bitField0_ |= 0x00000002;
- break;
- }
- case 26: {
- org.apache.orc.OrcProto.DoubleStatistics.Builder subBuilder = null;
- if (((bitField0_ & 0x00000004) == 0x00000004)) {
- subBuilder = doubleStatistics_.toBuilder();
- }
- doubleStatistics_ = input.readMessage(org.apache.orc.OrcProto.DoubleStatistics.PARSER, extensionRegistry);
- if (subBuilder != null) {
- subBuilder.mergeFrom(doubleStatistics_);
- doubleStatistics_ = subBuilder.buildPartial();
- }
- bitField0_ |= 0x00000004;
- break;
- }
- case 34: {
- org.apache.orc.OrcProto.StringStatistics.Builder subBuilder = null;
- if (((bitField0_ & 0x00000008) == 0x00000008)) {
- subBuilder = stringStatistics_.toBuilder();
- }
- stringStatistics_ = input.readMessage(org.apache.orc.OrcProto.StringStatistics.PARSER, extensionRegistry);
- if (subBuilder != null) {
- subBuilder.mergeFrom(stringStatistics_);
- stringStatistics_ = subBuilder.buildPartial();
- }
- bitField0_ |= 0x00000008;
- break;
- }
- case 42: {
- org.apache.orc.OrcProto.BucketStatistics.Builder subBuilder = null;
- if (((bitField0_ & 0x00000010) == 0x00000010)) {
- subBuilder = bucketStatistics_.toBuilder();
- }
- bucketStatistics_ = input.readMessage(org.apache.orc.OrcProto.BucketStatistics.PARSER, extensionRegistry);
- if (subBuilder != null) {
- subBuilder.mergeFrom(bucketStatistics_);
- bucketStatistics_ = subBuilder.buildPartial();
- }
- bitField0_ |= 0x00000010;
- break;
- }
- case 50: {
- org.apache.orc.OrcProto.DecimalStatistics.Builder subBuilder = null;
- if (((bitField0_ & 0x00000020) == 0x00000020)) {
- subBuilder = decimalStatistics_.toBuilder();
- }
- decimalStatistics_ = input.readMessage(org.apache.orc.OrcProto.DecimalStatistics.PARSER, extensionRegistry);
- if (subBuilder != null) {
- subBuilder.mergeFrom(decimalStatistics_);
- decimalStatistics_ = subBuilder.buildPartial();
- }
- bitField0_ |= 0x00000020;
- break;
- }
- case 58: {
- org.apache.orc.OrcProto.DateStatistics.Builder subBuilder = null;
- if (((bitField0_ & 0x00000040) == 0x00000040)) {
- subBuilder = dateStatistics_.toBuilder();
- }
- dateStatistics_ = input.readMessage(org.apache.orc.OrcProto.DateStatistics.PARSER, extensionRegistry);
- if (subBuilder != null) {
- subBuilder.mergeFrom(dateStatistics_);
- dateStatistics_ = subBuilder.buildPartial();
- }
- bitField0_ |= 0x00000040;
- break;
- }
- case 66: {
- org.apache.orc.OrcProto.BinaryStatistics.Builder subBuilder = null;
- if (((bitField0_ & 0x00000080) == 0x00000080)) {
- subBuilder = binaryStatistics_.toBuilder();
- }
- binaryStatistics_ = input.readMessage(org.apache.orc.OrcProto.BinaryStatistics.PARSER, extensionRegistry);
- if (subBuilder != null) {
- subBuilder.mergeFrom(binaryStatistics_);
- binaryStatistics_ = subBuilder.buildPartial();
- }
- bitField0_ |= 0x00000080;
- break;
- }
- case 74: {
- org.apache.orc.OrcProto.TimestampStatistics.Builder subBuilder = null;
- if (((bitField0_ & 0x00000100) == 0x00000100)) {
- subBuilder = timestampStatistics_.toBuilder();
- }
- timestampStatistics_ = input.readMessage(org.apache.orc.OrcProto.TimestampStatistics.PARSER, extensionRegistry);
- if (subBuilder != null) {
- subBuilder.mergeFrom(timestampStatistics_);
- timestampStatistics_ = subBuilder.buildPartial();
- }
- bitField0_ |= 0x00000100;
- break;
- }
- case 80: {
- bitField0_ |= 0x00000200;
- hasNull_ = input.readBool();
- break;
- }
- }
- }
- } catch (com.google.protobuf.InvalidProtocolBufferException e) {
- throw e.setUnfinishedMessage(this);
- } catch (java.io.IOException e) {
- throw new com.google.protobuf.InvalidProtocolBufferException(
- e.getMessage()).setUnfinishedMessage(this);
- } finally {
- this.unknownFields = unknownFields.build();
- makeExtensionsImmutable();
- }
- }
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return org.apache.orc.OrcProto.internal_static_orc_proto_ColumnStatistics_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return org.apache.orc.OrcProto.internal_static_orc_proto_ColumnStatistics_fieldAccessorTable
- .ensureFieldAccessorsInitialized(
- org.apache.orc.OrcProto.ColumnStatistics.class, org.apache.orc.OrcProto.ColumnStatistics.Builder.class);
- }
-
- public static com.google.protobuf.Parseroptional uint64 numberOfValues = 1;
- */
- public boolean hasNumberOfValues() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
- /**
- * optional uint64 numberOfValues = 1;
- */
- public long getNumberOfValues() {
- return numberOfValues_;
- }
-
- // optional .orc.proto.IntegerStatistics intStatistics = 2;
- public static final int INTSTATISTICS_FIELD_NUMBER = 2;
- private org.apache.orc.OrcProto.IntegerStatistics intStatistics_;
- /**
- * optional .orc.proto.IntegerStatistics intStatistics = 2;
- */
- public boolean hasIntStatistics() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
- }
- /**
- * optional .orc.proto.IntegerStatistics intStatistics = 2;
- */
- public org.apache.orc.OrcProto.IntegerStatistics getIntStatistics() {
- return intStatistics_;
- }
- /**
- * optional .orc.proto.IntegerStatistics intStatistics = 2;
- */
- public org.apache.orc.OrcProto.IntegerStatisticsOrBuilder getIntStatisticsOrBuilder() {
- return intStatistics_;
- }
-
- // optional .orc.proto.DoubleStatistics doubleStatistics = 3;
- public static final int DOUBLESTATISTICS_FIELD_NUMBER = 3;
- private org.apache.orc.OrcProto.DoubleStatistics doubleStatistics_;
- /**
- * optional .orc.proto.DoubleStatistics doubleStatistics = 3;
- */
- public boolean hasDoubleStatistics() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
- }
- /**
- * optional .orc.proto.DoubleStatistics doubleStatistics = 3;
- */
- public org.apache.orc.OrcProto.DoubleStatistics getDoubleStatistics() {
- return doubleStatistics_;
- }
- /**
- * optional .orc.proto.DoubleStatistics doubleStatistics = 3;
- */
- public org.apache.orc.OrcProto.DoubleStatisticsOrBuilder getDoubleStatisticsOrBuilder() {
- return doubleStatistics_;
- }
-
- // optional .orc.proto.StringStatistics stringStatistics = 4;
- public static final int STRINGSTATISTICS_FIELD_NUMBER = 4;
- private org.apache.orc.OrcProto.StringStatistics stringStatistics_;
- /**
- * optional .orc.proto.StringStatistics stringStatistics = 4;
- */
- public boolean hasStringStatistics() {
- return ((bitField0_ & 0x00000008) == 0x00000008);
- }
- /**
- * optional .orc.proto.StringStatistics stringStatistics = 4;
- */
- public org.apache.orc.OrcProto.StringStatistics getStringStatistics() {
- return stringStatistics_;
- }
- /**
- * optional .orc.proto.StringStatistics stringStatistics = 4;
- */
- public org.apache.orc.OrcProto.StringStatisticsOrBuilder getStringStatisticsOrBuilder() {
- return stringStatistics_;
- }
-
- // optional .orc.proto.BucketStatistics bucketStatistics = 5;
- public static final int BUCKETSTATISTICS_FIELD_NUMBER = 5;
- private org.apache.orc.OrcProto.BucketStatistics bucketStatistics_;
- /**
- * optional .orc.proto.BucketStatistics bucketStatistics = 5;
- */
- public boolean hasBucketStatistics() {
- return ((bitField0_ & 0x00000010) == 0x00000010);
- }
- /**
- * optional .orc.proto.BucketStatistics bucketStatistics = 5;
- */
- public org.apache.orc.OrcProto.BucketStatistics getBucketStatistics() {
- return bucketStatistics_;
- }
- /**
- * optional .orc.proto.BucketStatistics bucketStatistics = 5;
- */
- public org.apache.orc.OrcProto.BucketStatisticsOrBuilder getBucketStatisticsOrBuilder() {
- return bucketStatistics_;
- }
-
- // optional .orc.proto.DecimalStatistics decimalStatistics = 6;
- public static final int DECIMALSTATISTICS_FIELD_NUMBER = 6;
- private org.apache.orc.OrcProto.DecimalStatistics decimalStatistics_;
- /**
- * optional .orc.proto.DecimalStatistics decimalStatistics = 6;
- */
- public boolean hasDecimalStatistics() {
- return ((bitField0_ & 0x00000020) == 0x00000020);
- }
- /**
- * optional .orc.proto.DecimalStatistics decimalStatistics = 6;
- */
- public org.apache.orc.OrcProto.DecimalStatistics getDecimalStatistics() {
- return decimalStatistics_;
- }
- /**
- * optional .orc.proto.DecimalStatistics decimalStatistics = 6;
- */
- public org.apache.orc.OrcProto.DecimalStatisticsOrBuilder getDecimalStatisticsOrBuilder() {
- return decimalStatistics_;
- }
-
- // optional .orc.proto.DateStatistics dateStatistics = 7;
- public static final int DATESTATISTICS_FIELD_NUMBER = 7;
- private org.apache.orc.OrcProto.DateStatistics dateStatistics_;
- /**
- * optional .orc.proto.DateStatistics dateStatistics = 7;
- */
- public boolean hasDateStatistics() {
- return ((bitField0_ & 0x00000040) == 0x00000040);
- }
- /**
- * optional .orc.proto.DateStatistics dateStatistics = 7;
- */
- public org.apache.orc.OrcProto.DateStatistics getDateStatistics() {
- return dateStatistics_;
- }
- /**
- * optional .orc.proto.DateStatistics dateStatistics = 7;
- */
- public org.apache.orc.OrcProto.DateStatisticsOrBuilder getDateStatisticsOrBuilder() {
- return dateStatistics_;
- }
-
- // optional .orc.proto.BinaryStatistics binaryStatistics = 8;
- public static final int BINARYSTATISTICS_FIELD_NUMBER = 8;
- private org.apache.orc.OrcProto.BinaryStatistics binaryStatistics_;
- /**
- * optional .orc.proto.BinaryStatistics binaryStatistics = 8;
- */
- public boolean hasBinaryStatistics() {
- return ((bitField0_ & 0x00000080) == 0x00000080);
- }
- /**
- * optional .orc.proto.BinaryStatistics binaryStatistics = 8;
- */
- public org.apache.orc.OrcProto.BinaryStatistics getBinaryStatistics() {
- return binaryStatistics_;
- }
- /**
- * optional .orc.proto.BinaryStatistics binaryStatistics = 8;
- */
- public org.apache.orc.OrcProto.BinaryStatisticsOrBuilder getBinaryStatisticsOrBuilder() {
- return binaryStatistics_;
- }
-
- // optional .orc.proto.TimestampStatistics timestampStatistics = 9;
- public static final int TIMESTAMPSTATISTICS_FIELD_NUMBER = 9;
- private org.apache.orc.OrcProto.TimestampStatistics timestampStatistics_;
- /**
- * optional .orc.proto.TimestampStatistics timestampStatistics = 9;
- */
- public boolean hasTimestampStatistics() {
- return ((bitField0_ & 0x00000100) == 0x00000100);
- }
- /**
- * optional .orc.proto.TimestampStatistics timestampStatistics = 9;
- */
- public org.apache.orc.OrcProto.TimestampStatistics getTimestampStatistics() {
- return timestampStatistics_;
- }
- /**
- * optional .orc.proto.TimestampStatistics timestampStatistics = 9;
- */
- public org.apache.orc.OrcProto.TimestampStatisticsOrBuilder getTimestampStatisticsOrBuilder() {
- return timestampStatistics_;
- }
-
- // optional bool hasNull = 10;
- public static final int HASNULL_FIELD_NUMBER = 10;
- private boolean hasNull_;
- /**
- * optional bool hasNull = 10;
- */
- public boolean hasHasNull() {
- return ((bitField0_ & 0x00000200) == 0x00000200);
- }
- /**
- * optional bool hasNull = 10;
- */
- public boolean getHasNull() {
- return hasNull_;
- }
-
- private void initFields() {
- numberOfValues_ = 0L;
- intStatistics_ = org.apache.orc.OrcProto.IntegerStatistics.getDefaultInstance();
- doubleStatistics_ = org.apache.orc.OrcProto.DoubleStatistics.getDefaultInstance();
- stringStatistics_ = org.apache.orc.OrcProto.StringStatistics.getDefaultInstance();
- bucketStatistics_ = org.apache.orc.OrcProto.BucketStatistics.getDefaultInstance();
- decimalStatistics_ = org.apache.orc.OrcProto.DecimalStatistics.getDefaultInstance();
- dateStatistics_ = org.apache.orc.OrcProto.DateStatistics.getDefaultInstance();
- binaryStatistics_ = org.apache.orc.OrcProto.BinaryStatistics.getDefaultInstance();
- timestampStatistics_ = org.apache.orc.OrcProto.TimestampStatistics.getDefaultInstance();
- hasNull_ = false;
- }
- private byte memoizedIsInitialized = -1;
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1) return isInitialized == 1;
-
- memoizedIsInitialized = 1;
- return true;
- }
-
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- getSerializedSize();
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- output.writeUInt64(1, numberOfValues_);
- }
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
- output.writeMessage(2, intStatistics_);
- }
- if (((bitField0_ & 0x00000004) == 0x00000004)) {
- output.writeMessage(3, doubleStatistics_);
- }
- if (((bitField0_ & 0x00000008) == 0x00000008)) {
- output.writeMessage(4, stringStatistics_);
- }
- if (((bitField0_ & 0x00000010) == 0x00000010)) {
- output.writeMessage(5, bucketStatistics_);
- }
- if (((bitField0_ & 0x00000020) == 0x00000020)) {
- output.writeMessage(6, decimalStatistics_);
- }
- if (((bitField0_ & 0x00000040) == 0x00000040)) {
- output.writeMessage(7, dateStatistics_);
- }
- if (((bitField0_ & 0x00000080) == 0x00000080)) {
- output.writeMessage(8, binaryStatistics_);
- }
- if (((bitField0_ & 0x00000100) == 0x00000100)) {
- output.writeMessage(9, timestampStatistics_);
- }
- if (((bitField0_ & 0x00000200) == 0x00000200)) {
- output.writeBool(10, hasNull_);
- }
- getUnknownFields().writeTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public int getSerializedSize() {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- size += com.google.protobuf.CodedOutputStream
- .computeUInt64Size(1, numberOfValues_);
- }
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(2, intStatistics_);
- }
- if (((bitField0_ & 0x00000004) == 0x00000004)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(3, doubleStatistics_);
- }
- if (((bitField0_ & 0x00000008) == 0x00000008)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(4, stringStatistics_);
- }
- if (((bitField0_ & 0x00000010) == 0x00000010)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(5, bucketStatistics_);
- }
- if (((bitField0_ & 0x00000020) == 0x00000020)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(6, decimalStatistics_);
- }
- if (((bitField0_ & 0x00000040) == 0x00000040)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(7, dateStatistics_);
- }
- if (((bitField0_ & 0x00000080) == 0x00000080)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(8, binaryStatistics_);
- }
- if (((bitField0_ & 0x00000100) == 0x00000100)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(9, timestampStatistics_);
- }
- if (((bitField0_ & 0x00000200) == 0x00000200)) {
- size += com.google.protobuf.CodedOutputStream
- .computeBoolSize(10, hasNull_);
- }
- size += getUnknownFields().getSerializedSize();
- memoizedSerializedSize = size;
- return size;
- }
-
- private static final long serialVersionUID = 0L;
- @java.lang.Override
- protected java.lang.Object writeReplace()
- throws java.io.ObjectStreamException {
- return super.writeReplace();
- }
-
- public static org.apache.orc.OrcProto.ColumnStatistics parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static org.apache.orc.OrcProto.ColumnStatistics parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static org.apache.orc.OrcProto.ColumnStatistics parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static org.apache.orc.OrcProto.ColumnStatistics parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static org.apache.orc.OrcProto.ColumnStatistics parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return PARSER.parseFrom(input);
- }
- public static org.apache.orc.OrcProto.ColumnStatistics parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return PARSER.parseFrom(input, extensionRegistry);
- }
- public static org.apache.orc.OrcProto.ColumnStatistics parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- return PARSER.parseDelimitedFrom(input);
- }
- public static org.apache.orc.OrcProto.ColumnStatistics parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return PARSER.parseDelimitedFrom(input, extensionRegistry);
- }
- public static org.apache.orc.OrcProto.ColumnStatistics parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return PARSER.parseFrom(input);
- }
- public static org.apache.orc.OrcProto.ColumnStatistics parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return PARSER.parseFrom(input, extensionRegistry);
- }
-
- public static Builder newBuilder() { return Builder.create(); }
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder(org.apache.orc.OrcProto.ColumnStatistics prototype) {
- return newBuilder().mergeFrom(prototype);
- }
- public Builder toBuilder() { return newBuilder(this); }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
- /**
- * Protobuf type {@code orc.proto.ColumnStatistics}
- */
- public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builderoptional uint64 numberOfValues = 1;
- */
- public boolean hasNumberOfValues() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
- /**
- * optional uint64 numberOfValues = 1;
- */
- public long getNumberOfValues() {
- return numberOfValues_;
- }
- /**
- * optional uint64 numberOfValues = 1;
- */
- public Builder setNumberOfValues(long value) {
- bitField0_ |= 0x00000001;
- numberOfValues_ = value;
- onChanged();
- return this;
- }
- /**
- * optional uint64 numberOfValues = 1;
- */
- public Builder clearNumberOfValues() {
- bitField0_ = (bitField0_ & ~0x00000001);
- numberOfValues_ = 0L;
- onChanged();
- return this;
- }
-
- // optional .orc.proto.IntegerStatistics intStatistics = 2;
- private org.apache.orc.OrcProto.IntegerStatistics intStatistics_ = org.apache.orc.OrcProto.IntegerStatistics.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- org.apache.orc.OrcProto.IntegerStatistics, org.apache.orc.OrcProto.IntegerStatistics.Builder, org.apache.orc.OrcProto.IntegerStatisticsOrBuilder> intStatisticsBuilder_;
- /**
- * optional .orc.proto.IntegerStatistics intStatistics = 2;
- */
- public boolean hasIntStatistics() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
- }
- /**
- * optional .orc.proto.IntegerStatistics intStatistics = 2;
- */
- public org.apache.orc.OrcProto.IntegerStatistics getIntStatistics() {
- if (intStatisticsBuilder_ == null) {
- return intStatistics_;
- } else {
- return intStatisticsBuilder_.getMessage();
- }
- }
- /**
- * optional .orc.proto.IntegerStatistics intStatistics = 2;
- */
- public Builder setIntStatistics(org.apache.orc.OrcProto.IntegerStatistics value) {
- if (intStatisticsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- intStatistics_ = value;
- onChanged();
- } else {
- intStatisticsBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000002;
- return this;
- }
- /**
- * optional .orc.proto.IntegerStatistics intStatistics = 2;
- */
- public Builder setIntStatistics(
- org.apache.orc.OrcProto.IntegerStatistics.Builder builderForValue) {
- if (intStatisticsBuilder_ == null) {
- intStatistics_ = builderForValue.build();
- onChanged();
- } else {
- intStatisticsBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000002;
- return this;
- }
- /**
- * optional .orc.proto.IntegerStatistics intStatistics = 2;
- */
- public Builder mergeIntStatistics(org.apache.orc.OrcProto.IntegerStatistics value) {
- if (intStatisticsBuilder_ == null) {
- if (((bitField0_ & 0x00000002) == 0x00000002) &&
- intStatistics_ != org.apache.orc.OrcProto.IntegerStatistics.getDefaultInstance()) {
- intStatistics_ =
- org.apache.orc.OrcProto.IntegerStatistics.newBuilder(intStatistics_).mergeFrom(value).buildPartial();
- } else {
- intStatistics_ = value;
- }
- onChanged();
- } else {
- intStatisticsBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00000002;
- return this;
- }
- /**
- * optional .orc.proto.IntegerStatistics intStatistics = 2;
- */
- public Builder clearIntStatistics() {
- if (intStatisticsBuilder_ == null) {
- intStatistics_ = org.apache.orc.OrcProto.IntegerStatistics.getDefaultInstance();
- onChanged();
- } else {
- intStatisticsBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000002);
- return this;
- }
- /**
- * optional .orc.proto.IntegerStatistics intStatistics = 2;
- */
- public org.apache.orc.OrcProto.IntegerStatistics.Builder getIntStatisticsBuilder() {
- bitField0_ |= 0x00000002;
- onChanged();
- return getIntStatisticsFieldBuilder().getBuilder();
- }
- /**
- * optional .orc.proto.IntegerStatistics intStatistics = 2;
- */
- public org.apache.orc.OrcProto.IntegerStatisticsOrBuilder getIntStatisticsOrBuilder() {
- if (intStatisticsBuilder_ != null) {
- return intStatisticsBuilder_.getMessageOrBuilder();
- } else {
- return intStatistics_;
- }
- }
- /**
- * optional .orc.proto.IntegerStatistics intStatistics = 2;
- */
- private com.google.protobuf.SingleFieldBuilder<
- org.apache.orc.OrcProto.IntegerStatistics, org.apache.orc.OrcProto.IntegerStatistics.Builder, org.apache.orc.OrcProto.IntegerStatisticsOrBuilder>
- getIntStatisticsFieldBuilder() {
- if (intStatisticsBuilder_ == null) {
- intStatisticsBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- org.apache.orc.OrcProto.IntegerStatistics, org.apache.orc.OrcProto.IntegerStatistics.Builder, org.apache.orc.OrcProto.IntegerStatisticsOrBuilder>(
- intStatistics_,
- getParentForChildren(),
- isClean());
- intStatistics_ = null;
- }
- return intStatisticsBuilder_;
- }
-
- // optional .orc.proto.DoubleStatistics doubleStatistics = 3;
- private org.apache.orc.OrcProto.DoubleStatistics doubleStatistics_ = org.apache.orc.OrcProto.DoubleStatistics.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- org.apache.orc.OrcProto.DoubleStatistics, org.apache.orc.OrcProto.DoubleStatistics.Builder, org.apache.orc.OrcProto.DoubleStatisticsOrBuilder> doubleStatisticsBuilder_;
- /**
- * optional .orc.proto.DoubleStatistics doubleStatistics = 3;
- */
- public boolean hasDoubleStatistics() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
- }
- /**
- * optional .orc.proto.DoubleStatistics doubleStatistics = 3;
- */
- public org.apache.orc.OrcProto.DoubleStatistics getDoubleStatistics() {
- if (doubleStatisticsBuilder_ == null) {
- return doubleStatistics_;
- } else {
- return doubleStatisticsBuilder_.getMessage();
- }
- }
- /**
- * optional .orc.proto.DoubleStatistics doubleStatistics = 3;
- */
- public Builder setDoubleStatistics(org.apache.orc.OrcProto.DoubleStatistics value) {
- if (doubleStatisticsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- doubleStatistics_ = value;
- onChanged();
- } else {
- doubleStatisticsBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000004;
- return this;
- }
- /**
- * optional .orc.proto.DoubleStatistics doubleStatistics = 3;
- */
- public Builder setDoubleStatistics(
- org.apache.orc.OrcProto.DoubleStatistics.Builder builderForValue) {
- if (doubleStatisticsBuilder_ == null) {
- doubleStatistics_ = builderForValue.build();
- onChanged();
- } else {
- doubleStatisticsBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000004;
- return this;
- }
- /**
- * optional .orc.proto.DoubleStatistics doubleStatistics = 3;
- */
- public Builder mergeDoubleStatistics(org.apache.orc.OrcProto.DoubleStatistics value) {
- if (doubleStatisticsBuilder_ == null) {
- if (((bitField0_ & 0x00000004) == 0x00000004) &&
- doubleStatistics_ != org.apache.orc.OrcProto.DoubleStatistics.getDefaultInstance()) {
- doubleStatistics_ =
- org.apache.orc.OrcProto.DoubleStatistics.newBuilder(doubleStatistics_).mergeFrom(value).buildPartial();
- } else {
- doubleStatistics_ = value;
- }
- onChanged();
- } else {
- doubleStatisticsBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00000004;
- return this;
- }
- /**
- * optional .orc.proto.DoubleStatistics doubleStatistics = 3;
- */
- public Builder clearDoubleStatistics() {
- if (doubleStatisticsBuilder_ == null) {
- doubleStatistics_ = org.apache.orc.OrcProto.DoubleStatistics.getDefaultInstance();
- onChanged();
- } else {
- doubleStatisticsBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000004);
- return this;
- }
- /**
- * optional .orc.proto.DoubleStatistics doubleStatistics = 3;
- */
- public org.apache.orc.OrcProto.DoubleStatistics.Builder getDoubleStatisticsBuilder() {
- bitField0_ |= 0x00000004;
- onChanged();
- return getDoubleStatisticsFieldBuilder().getBuilder();
- }
- /**
- * optional .orc.proto.DoubleStatistics doubleStatistics = 3;
- */
- public org.apache.orc.OrcProto.DoubleStatisticsOrBuilder getDoubleStatisticsOrBuilder() {
- if (doubleStatisticsBuilder_ != null) {
- return doubleStatisticsBuilder_.getMessageOrBuilder();
- } else {
- return doubleStatistics_;
- }
- }
- /**
- * optional .orc.proto.DoubleStatistics doubleStatistics = 3;
- */
- private com.google.protobuf.SingleFieldBuilder<
- org.apache.orc.OrcProto.DoubleStatistics, org.apache.orc.OrcProto.DoubleStatistics.Builder, org.apache.orc.OrcProto.DoubleStatisticsOrBuilder>
- getDoubleStatisticsFieldBuilder() {
- if (doubleStatisticsBuilder_ == null) {
- doubleStatisticsBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- org.apache.orc.OrcProto.DoubleStatistics, org.apache.orc.OrcProto.DoubleStatistics.Builder, org.apache.orc.OrcProto.DoubleStatisticsOrBuilder>(
- doubleStatistics_,
- getParentForChildren(),
- isClean());
- doubleStatistics_ = null;
- }
- return doubleStatisticsBuilder_;
- }
-
- // optional .orc.proto.StringStatistics stringStatistics = 4;
- private org.apache.orc.OrcProto.StringStatistics stringStatistics_ = org.apache.orc.OrcProto.StringStatistics.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- org.apache.orc.OrcProto.StringStatistics, org.apache.orc.OrcProto.StringStatistics.Builder, org.apache.orc.OrcProto.StringStatisticsOrBuilder> stringStatisticsBuilder_;
- /**
- * optional .orc.proto.StringStatistics stringStatistics = 4;
- */
- public boolean hasStringStatistics() {
- return ((bitField0_ & 0x00000008) == 0x00000008);
- }
- /**
- * optional .orc.proto.StringStatistics stringStatistics = 4;
- */
- public org.apache.orc.OrcProto.StringStatistics getStringStatistics() {
- if (stringStatisticsBuilder_ == null) {
- return stringStatistics_;
- } else {
- return stringStatisticsBuilder_.getMessage();
- }
- }
- /**
- * optional .orc.proto.StringStatistics stringStatistics = 4;
- */
- public Builder setStringStatistics(org.apache.orc.OrcProto.StringStatistics value) {
- if (stringStatisticsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- stringStatistics_ = value;
- onChanged();
- } else {
- stringStatisticsBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000008;
- return this;
- }
- /**
- * optional .orc.proto.StringStatistics stringStatistics = 4;
- */
- public Builder setStringStatistics(
- org.apache.orc.OrcProto.StringStatistics.Builder builderForValue) {
- if (stringStatisticsBuilder_ == null) {
- stringStatistics_ = builderForValue.build();
- onChanged();
- } else {
- stringStatisticsBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000008;
- return this;
- }
- /**
- * optional .orc.proto.StringStatistics stringStatistics = 4;
- */
- public Builder mergeStringStatistics(org.apache.orc.OrcProto.StringStatistics value) {
- if (stringStatisticsBuilder_ == null) {
- if (((bitField0_ & 0x00000008) == 0x00000008) &&
- stringStatistics_ != org.apache.orc.OrcProto.StringStatistics.getDefaultInstance()) {
- stringStatistics_ =
- org.apache.orc.OrcProto.StringStatistics.newBuilder(stringStatistics_).mergeFrom(value).buildPartial();
- } else {
- stringStatistics_ = value;
- }
- onChanged();
- } else {
- stringStatisticsBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00000008;
- return this;
- }
- /**
- * optional .orc.proto.StringStatistics stringStatistics = 4;
- */
- public Builder clearStringStatistics() {
- if (stringStatisticsBuilder_ == null) {
- stringStatistics_ = org.apache.orc.OrcProto.StringStatistics.getDefaultInstance();
- onChanged();
- } else {
- stringStatisticsBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000008);
- return this;
- }
- /**
- * optional .orc.proto.StringStatistics stringStatistics = 4;
- */
- public org.apache.orc.OrcProto.StringStatistics.Builder getStringStatisticsBuilder() {
- bitField0_ |= 0x00000008;
- onChanged();
- return getStringStatisticsFieldBuilder().getBuilder();
- }
- /**
- * optional .orc.proto.StringStatistics stringStatistics = 4;
- */
- public org.apache.orc.OrcProto.StringStatisticsOrBuilder getStringStatisticsOrBuilder() {
- if (stringStatisticsBuilder_ != null) {
- return stringStatisticsBuilder_.getMessageOrBuilder();
- } else {
- return stringStatistics_;
- }
- }
- /**
- * optional .orc.proto.StringStatistics stringStatistics = 4;
- */
- private com.google.protobuf.SingleFieldBuilder<
- org.apache.orc.OrcProto.StringStatistics, org.apache.orc.OrcProto.StringStatistics.Builder, org.apache.orc.OrcProto.StringStatisticsOrBuilder>
- getStringStatisticsFieldBuilder() {
- if (stringStatisticsBuilder_ == null) {
- stringStatisticsBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- org.apache.orc.OrcProto.StringStatistics, org.apache.orc.OrcProto.StringStatistics.Builder, org.apache.orc.OrcProto.StringStatisticsOrBuilder>(
- stringStatistics_,
- getParentForChildren(),
- isClean());
- stringStatistics_ = null;
- }
- return stringStatisticsBuilder_;
- }
-
- // optional .orc.proto.BucketStatistics bucketStatistics = 5;
- private org.apache.orc.OrcProto.BucketStatistics bucketStatistics_ = org.apache.orc.OrcProto.BucketStatistics.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- org.apache.orc.OrcProto.BucketStatistics, org.apache.orc.OrcProto.BucketStatistics.Builder, org.apache.orc.OrcProto.BucketStatisticsOrBuilder> bucketStatisticsBuilder_;
- /**
- * optional .orc.proto.BucketStatistics bucketStatistics = 5;
- */
- public boolean hasBucketStatistics() {
- return ((bitField0_ & 0x00000010) == 0x00000010);
- }
- /**
- * optional .orc.proto.BucketStatistics bucketStatistics = 5;
- */
- public org.apache.orc.OrcProto.BucketStatistics getBucketStatistics() {
- if (bucketStatisticsBuilder_ == null) {
- return bucketStatistics_;
- } else {
- return bucketStatisticsBuilder_.getMessage();
- }
- }
- /**
- * optional .orc.proto.BucketStatistics bucketStatistics = 5;
- */
- public Builder setBucketStatistics(org.apache.orc.OrcProto.BucketStatistics value) {
- if (bucketStatisticsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- bucketStatistics_ = value;
- onChanged();
- } else {
- bucketStatisticsBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000010;
- return this;
- }
- /**
- * optional .orc.proto.BucketStatistics bucketStatistics = 5;
- */
- public Builder setBucketStatistics(
- org.apache.orc.OrcProto.BucketStatistics.Builder builderForValue) {
- if (bucketStatisticsBuilder_ == null) {
- bucketStatistics_ = builderForValue.build();
- onChanged();
- } else {
- bucketStatisticsBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000010;
- return this;
- }
- /**
- * optional .orc.proto.BucketStatistics bucketStatistics = 5;
- */
- public Builder mergeBucketStatistics(org.apache.orc.OrcProto.BucketStatistics value) {
- if (bucketStatisticsBuilder_ == null) {
- if (((bitField0_ & 0x00000010) == 0x00000010) &&
- bucketStatistics_ != org.apache.orc.OrcProto.BucketStatistics.getDefaultInstance()) {
- bucketStatistics_ =
- org.apache.orc.OrcProto.BucketStatistics.newBuilder(bucketStatistics_).mergeFrom(value).buildPartial();
- } else {
- bucketStatistics_ = value;
- }
- onChanged();
- } else {
- bucketStatisticsBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00000010;
- return this;
- }
- /**
- * optional .orc.proto.BucketStatistics bucketStatistics = 5;
- */
- public Builder clearBucketStatistics() {
- if (bucketStatisticsBuilder_ == null) {
- bucketStatistics_ = org.apache.orc.OrcProto.BucketStatistics.getDefaultInstance();
- onChanged();
- } else {
- bucketStatisticsBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000010);
- return this;
- }
- /**
- * optional .orc.proto.BucketStatistics bucketStatistics = 5;
- */
- public org.apache.orc.OrcProto.BucketStatistics.Builder getBucketStatisticsBuilder() {
- bitField0_ |= 0x00000010;
- onChanged();
- return getBucketStatisticsFieldBuilder().getBuilder();
- }
- /**
- * optional .orc.proto.BucketStatistics bucketStatistics = 5;
- */
- public org.apache.orc.OrcProto.BucketStatisticsOrBuilder getBucketStatisticsOrBuilder() {
- if (bucketStatisticsBuilder_ != null) {
- return bucketStatisticsBuilder_.getMessageOrBuilder();
- } else {
- return bucketStatistics_;
- }
- }
- /**
- * optional .orc.proto.BucketStatistics bucketStatistics = 5;
- */
- private com.google.protobuf.SingleFieldBuilder<
- org.apache.orc.OrcProto.BucketStatistics, org.apache.orc.OrcProto.BucketStatistics.Builder, org.apache.orc.OrcProto.BucketStatisticsOrBuilder>
- getBucketStatisticsFieldBuilder() {
- if (bucketStatisticsBuilder_ == null) {
- bucketStatisticsBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- org.apache.orc.OrcProto.BucketStatistics, org.apache.orc.OrcProto.BucketStatistics.Builder, org.apache.orc.OrcProto.BucketStatisticsOrBuilder>(
- bucketStatistics_,
- getParentForChildren(),
- isClean());
- bucketStatistics_ = null;
- }
- return bucketStatisticsBuilder_;
- }
-
- // optional .orc.proto.DecimalStatistics decimalStatistics = 6;
- private org.apache.orc.OrcProto.DecimalStatistics decimalStatistics_ = org.apache.orc.OrcProto.DecimalStatistics.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- org.apache.orc.OrcProto.DecimalStatistics, org.apache.orc.OrcProto.DecimalStatistics.Builder, org.apache.orc.OrcProto.DecimalStatisticsOrBuilder> decimalStatisticsBuilder_;
- /**
- * optional .orc.proto.DecimalStatistics decimalStatistics = 6;
- */
- public boolean hasDecimalStatistics() {
- return ((bitField0_ & 0x00000020) == 0x00000020);
- }
- /**
- * optional .orc.proto.DecimalStatistics decimalStatistics = 6;
- */
- public org.apache.orc.OrcProto.DecimalStatistics getDecimalStatistics() {
- if (decimalStatisticsBuilder_ == null) {
- return decimalStatistics_;
- } else {
- return decimalStatisticsBuilder_.getMessage();
- }
- }
- /**
- * optional .orc.proto.DecimalStatistics decimalStatistics = 6;
- */
- public Builder setDecimalStatistics(org.apache.orc.OrcProto.DecimalStatistics value) {
- if (decimalStatisticsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- decimalStatistics_ = value;
- onChanged();
- } else {
- decimalStatisticsBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000020;
- return this;
- }
- /**
- * optional .orc.proto.DecimalStatistics decimalStatistics = 6;
- */
- public Builder setDecimalStatistics(
- org.apache.orc.OrcProto.DecimalStatistics.Builder builderForValue) {
- if (decimalStatisticsBuilder_ == null) {
- decimalStatistics_ = builderForValue.build();
- onChanged();
- } else {
- decimalStatisticsBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000020;
- return this;
- }
- /**
- * optional .orc.proto.DecimalStatistics decimalStatistics = 6;
- */
- public Builder mergeDecimalStatistics(org.apache.orc.OrcProto.DecimalStatistics value) {
- if (decimalStatisticsBuilder_ == null) {
- if (((bitField0_ & 0x00000020) == 0x00000020) &&
- decimalStatistics_ != org.apache.orc.OrcProto.DecimalStatistics.getDefaultInstance()) {
- decimalStatistics_ =
- org.apache.orc.OrcProto.DecimalStatistics.newBuilder(decimalStatistics_).mergeFrom(value).buildPartial();
- } else {
- decimalStatistics_ = value;
- }
- onChanged();
- } else {
- decimalStatisticsBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00000020;
- return this;
- }
- /**
- * optional .orc.proto.DecimalStatistics decimalStatistics = 6;
- */
- public Builder clearDecimalStatistics() {
- if (decimalStatisticsBuilder_ == null) {
- decimalStatistics_ = org.apache.orc.OrcProto.DecimalStatistics.getDefaultInstance();
- onChanged();
- } else {
- decimalStatisticsBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000020);
- return this;
- }
- /**
- * optional .orc.proto.DecimalStatistics decimalStatistics = 6;
- */
- public org.apache.orc.OrcProto.DecimalStatistics.Builder getDecimalStatisticsBuilder() {
- bitField0_ |= 0x00000020;
- onChanged();
- return getDecimalStatisticsFieldBuilder().getBuilder();
- }
- /**
- * optional .orc.proto.DecimalStatistics decimalStatistics = 6;
- */
- public org.apache.orc.OrcProto.DecimalStatisticsOrBuilder getDecimalStatisticsOrBuilder() {
- if (decimalStatisticsBuilder_ != null) {
- return decimalStatisticsBuilder_.getMessageOrBuilder();
- } else {
- return decimalStatistics_;
- }
- }
- /**
- * optional .orc.proto.DecimalStatistics decimalStatistics = 6;
- */
- private com.google.protobuf.SingleFieldBuilder<
- org.apache.orc.OrcProto.DecimalStatistics, org.apache.orc.OrcProto.DecimalStatistics.Builder, org.apache.orc.OrcProto.DecimalStatisticsOrBuilder>
- getDecimalStatisticsFieldBuilder() {
- if (decimalStatisticsBuilder_ == null) {
- decimalStatisticsBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- org.apache.orc.OrcProto.DecimalStatistics, org.apache.orc.OrcProto.DecimalStatistics.Builder, org.apache.orc.OrcProto.DecimalStatisticsOrBuilder>(
- decimalStatistics_,
- getParentForChildren(),
- isClean());
- decimalStatistics_ = null;
- }
- return decimalStatisticsBuilder_;
- }
-
- // optional .orc.proto.DateStatistics dateStatistics = 7;
- private org.apache.orc.OrcProto.DateStatistics dateStatistics_ = org.apache.orc.OrcProto.DateStatistics.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- org.apache.orc.OrcProto.DateStatistics, org.apache.orc.OrcProto.DateStatistics.Builder, org.apache.orc.OrcProto.DateStatisticsOrBuilder> dateStatisticsBuilder_;
- /**
- * optional .orc.proto.DateStatistics dateStatistics = 7;
- */
- public boolean hasDateStatistics() {
- return ((bitField0_ & 0x00000040) == 0x00000040);
- }
- /**
- * optional .orc.proto.DateStatistics dateStatistics = 7;
- */
- public org.apache.orc.OrcProto.DateStatistics getDateStatistics() {
- if (dateStatisticsBuilder_ == null) {
- return dateStatistics_;
- } else {
- return dateStatisticsBuilder_.getMessage();
- }
- }
- /**
- * optional .orc.proto.DateStatistics dateStatistics = 7;
- */
- public Builder setDateStatistics(org.apache.orc.OrcProto.DateStatistics value) {
- if (dateStatisticsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- dateStatistics_ = value;
- onChanged();
- } else {
- dateStatisticsBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000040;
- return this;
- }
- /**
- * optional .orc.proto.DateStatistics dateStatistics = 7;
- */
- public Builder setDateStatistics(
- org.apache.orc.OrcProto.DateStatistics.Builder builderForValue) {
- if (dateStatisticsBuilder_ == null) {
- dateStatistics_ = builderForValue.build();
- onChanged();
- } else {
- dateStatisticsBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000040;
- return this;
- }
- /**
- * optional .orc.proto.DateStatistics dateStatistics = 7;
- */
- public Builder mergeDateStatistics(org.apache.orc.OrcProto.DateStatistics value) {
- if (dateStatisticsBuilder_ == null) {
- if (((bitField0_ & 0x00000040) == 0x00000040) &&
- dateStatistics_ != org.apache.orc.OrcProto.DateStatistics.getDefaultInstance()) {
- dateStatistics_ =
- org.apache.orc.OrcProto.DateStatistics.newBuilder(dateStatistics_).mergeFrom(value).buildPartial();
- } else {
- dateStatistics_ = value;
- }
- onChanged();
- } else {
- dateStatisticsBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00000040;
- return this;
- }
- /**
- * optional .orc.proto.DateStatistics dateStatistics = 7;
- */
- public Builder clearDateStatistics() {
- if (dateStatisticsBuilder_ == null) {
- dateStatistics_ = org.apache.orc.OrcProto.DateStatistics.getDefaultInstance();
- onChanged();
- } else {
- dateStatisticsBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000040);
- return this;
- }
- /**
- * optional .orc.proto.DateStatistics dateStatistics = 7;
- */
- public org.apache.orc.OrcProto.DateStatistics.Builder getDateStatisticsBuilder() {
- bitField0_ |= 0x00000040;
- onChanged();
- return getDateStatisticsFieldBuilder().getBuilder();
- }
- /**
- * optional .orc.proto.DateStatistics dateStatistics = 7;
- */
- public org.apache.orc.OrcProto.DateStatisticsOrBuilder getDateStatisticsOrBuilder() {
- if (dateStatisticsBuilder_ != null) {
- return dateStatisticsBuilder_.getMessageOrBuilder();
- } else {
- return dateStatistics_;
- }
- }
- /**
- * optional .orc.proto.DateStatistics dateStatistics = 7;
- */
- private com.google.protobuf.SingleFieldBuilder<
- org.apache.orc.OrcProto.DateStatistics, org.apache.orc.OrcProto.DateStatistics.Builder, org.apache.orc.OrcProto.DateStatisticsOrBuilder>
- getDateStatisticsFieldBuilder() {
- if (dateStatisticsBuilder_ == null) {
- dateStatisticsBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- org.apache.orc.OrcProto.DateStatistics, org.apache.orc.OrcProto.DateStatistics.Builder, org.apache.orc.OrcProto.DateStatisticsOrBuilder>(
- dateStatistics_,
- getParentForChildren(),
- isClean());
- dateStatistics_ = null;
- }
- return dateStatisticsBuilder_;
- }
-
- // optional .orc.proto.BinaryStatistics binaryStatistics = 8;
- private org.apache.orc.OrcProto.BinaryStatistics binaryStatistics_ = org.apache.orc.OrcProto.BinaryStatistics.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- org.apache.orc.OrcProto.BinaryStatistics, org.apache.orc.OrcProto.BinaryStatistics.Builder, org.apache.orc.OrcProto.BinaryStatisticsOrBuilder> binaryStatisticsBuilder_;
- /**
- * optional .orc.proto.BinaryStatistics binaryStatistics = 8;
- */
- public boolean hasBinaryStatistics() {
- return ((bitField0_ & 0x00000080) == 0x00000080);
- }
- /**
- * optional .orc.proto.BinaryStatistics binaryStatistics = 8;
- */
- public org.apache.orc.OrcProto.BinaryStatistics getBinaryStatistics() {
- if (binaryStatisticsBuilder_ == null) {
- return binaryStatistics_;
- } else {
- return binaryStatisticsBuilder_.getMessage();
- }
- }
- /**
- * optional .orc.proto.BinaryStatistics binaryStatistics = 8;
- */
- public Builder setBinaryStatistics(org.apache.orc.OrcProto.BinaryStatistics value) {
- if (binaryStatisticsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- binaryStatistics_ = value;
- onChanged();
- } else {
- binaryStatisticsBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000080;
- return this;
- }
- /**
- * optional .orc.proto.BinaryStatistics binaryStatistics = 8;
- */
- public Builder setBinaryStatistics(
- org.apache.orc.OrcProto.BinaryStatistics.Builder builderForValue) {
- if (binaryStatisticsBuilder_ == null) {
- binaryStatistics_ = builderForValue.build();
- onChanged();
- } else {
- binaryStatisticsBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000080;
- return this;
- }
- /**
- * optional .orc.proto.BinaryStatistics binaryStatistics = 8;
- */
- public Builder mergeBinaryStatistics(org.apache.orc.OrcProto.BinaryStatistics value) {
- if (binaryStatisticsBuilder_ == null) {
- if (((bitField0_ & 0x00000080) == 0x00000080) &&
- binaryStatistics_ != org.apache.orc.OrcProto.BinaryStatistics.getDefaultInstance()) {
- binaryStatistics_ =
- org.apache.orc.OrcProto.BinaryStatistics.newBuilder(binaryStatistics_).mergeFrom(value).buildPartial();
- } else {
- binaryStatistics_ = value;
- }
- onChanged();
- } else {
- binaryStatisticsBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00000080;
- return this;
- }
- /**
- * optional .orc.proto.BinaryStatistics binaryStatistics = 8;
- */
- public Builder clearBinaryStatistics() {
- if (binaryStatisticsBuilder_ == null) {
- binaryStatistics_ = org.apache.orc.OrcProto.BinaryStatistics.getDefaultInstance();
- onChanged();
- } else {
- binaryStatisticsBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000080);
- return this;
- }
- /**
- * optional .orc.proto.BinaryStatistics binaryStatistics = 8;
- */
- public org.apache.orc.OrcProto.BinaryStatistics.Builder getBinaryStatisticsBuilder() {
- bitField0_ |= 0x00000080;
- onChanged();
- return getBinaryStatisticsFieldBuilder().getBuilder();
- }
- /**
- * optional .orc.proto.BinaryStatistics binaryStatistics = 8;
- */
- public org.apache.orc.OrcProto.BinaryStatisticsOrBuilder getBinaryStatisticsOrBuilder() {
- if (binaryStatisticsBuilder_ != null) {
- return binaryStatisticsBuilder_.getMessageOrBuilder();
- } else {
- return binaryStatistics_;
- }
- }
- /**
- * optional .orc.proto.BinaryStatistics binaryStatistics = 8;
- */
- private com.google.protobuf.SingleFieldBuilder<
- org.apache.orc.OrcProto.BinaryStatistics, org.apache.orc.OrcProto.BinaryStatistics.Builder, org.apache.orc.OrcProto.BinaryStatisticsOrBuilder>
- getBinaryStatisticsFieldBuilder() {
- if (binaryStatisticsBuilder_ == null) {
- binaryStatisticsBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- org.apache.orc.OrcProto.BinaryStatistics, org.apache.orc.OrcProto.BinaryStatistics.Builder, org.apache.orc.OrcProto.BinaryStatisticsOrBuilder>(
- binaryStatistics_,
- getParentForChildren(),
- isClean());
- binaryStatistics_ = null;
- }
- return binaryStatisticsBuilder_;
- }
-
- // optional .orc.proto.TimestampStatistics timestampStatistics = 9;
- private org.apache.orc.OrcProto.TimestampStatistics timestampStatistics_ = org.apache.orc.OrcProto.TimestampStatistics.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- org.apache.orc.OrcProto.TimestampStatistics, org.apache.orc.OrcProto.TimestampStatistics.Builder, org.apache.orc.OrcProto.TimestampStatisticsOrBuilder> timestampStatisticsBuilder_;
- /**
- * optional .orc.proto.TimestampStatistics timestampStatistics = 9;
- */
- public boolean hasTimestampStatistics() {
- return ((bitField0_ & 0x00000100) == 0x00000100);
- }
- /**
- * optional .orc.proto.TimestampStatistics timestampStatistics = 9;
- */
- public org.apache.orc.OrcProto.TimestampStatistics getTimestampStatistics() {
- if (timestampStatisticsBuilder_ == null) {
- return timestampStatistics_;
- } else {
- return timestampStatisticsBuilder_.getMessage();
- }
- }
- /**
- * optional .orc.proto.TimestampStatistics timestampStatistics = 9;
- */
- public Builder setTimestampStatistics(org.apache.orc.OrcProto.TimestampStatistics value) {
- if (timestampStatisticsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- timestampStatistics_ = value;
- onChanged();
- } else {
- timestampStatisticsBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000100;
- return this;
- }
- /**
- * optional .orc.proto.TimestampStatistics timestampStatistics = 9;
- */
- public Builder setTimestampStatistics(
- org.apache.orc.OrcProto.TimestampStatistics.Builder builderForValue) {
- if (timestampStatisticsBuilder_ == null) {
- timestampStatistics_ = builderForValue.build();
- onChanged();
- } else {
- timestampStatisticsBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000100;
- return this;
- }
- /**
- * optional .orc.proto.TimestampStatistics timestampStatistics = 9;
- */
- public Builder mergeTimestampStatistics(org.apache.orc.OrcProto.TimestampStatistics value) {
- if (timestampStatisticsBuilder_ == null) {
- if (((bitField0_ & 0x00000100) == 0x00000100) &&
- timestampStatistics_ != org.apache.orc.OrcProto.TimestampStatistics.getDefaultInstance()) {
- timestampStatistics_ =
- org.apache.orc.OrcProto.TimestampStatistics.newBuilder(timestampStatistics_).mergeFrom(value).buildPartial();
- } else {
- timestampStatistics_ = value;
- }
- onChanged();
- } else {
- timestampStatisticsBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00000100;
- return this;
- }
- /**
- * optional .orc.proto.TimestampStatistics timestampStatistics = 9;
- */
- public Builder clearTimestampStatistics() {
- if (timestampStatisticsBuilder_ == null) {
- timestampStatistics_ = org.apache.orc.OrcProto.TimestampStatistics.getDefaultInstance();
- onChanged();
- } else {
- timestampStatisticsBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000100);
- return this;
- }
- /**
- * optional .orc.proto.TimestampStatistics timestampStatistics = 9;
- */
- public org.apache.orc.OrcProto.TimestampStatistics.Builder getTimestampStatisticsBuilder() {
- bitField0_ |= 0x00000100;
- onChanged();
- return getTimestampStatisticsFieldBuilder().getBuilder();
- }
- /**
- * optional .orc.proto.TimestampStatistics timestampStatistics = 9;
- */
- public org.apache.orc.OrcProto.TimestampStatisticsOrBuilder getTimestampStatisticsOrBuilder() {
- if (timestampStatisticsBuilder_ != null) {
- return timestampStatisticsBuilder_.getMessageOrBuilder();
- } else {
- return timestampStatistics_;
- }
- }
- /**
- * optional .orc.proto.TimestampStatistics timestampStatistics = 9;
- */
- private com.google.protobuf.SingleFieldBuilder<
- org.apache.orc.OrcProto.TimestampStatistics, org.apache.orc.OrcProto.TimestampStatistics.Builder, org.apache.orc.OrcProto.TimestampStatisticsOrBuilder>
- getTimestampStatisticsFieldBuilder() {
- if (timestampStatisticsBuilder_ == null) {
- timestampStatisticsBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- org.apache.orc.OrcProto.TimestampStatistics, org.apache.orc.OrcProto.TimestampStatistics.Builder, org.apache.orc.OrcProto.TimestampStatisticsOrBuilder>(
- timestampStatistics_,
- getParentForChildren(),
- isClean());
- timestampStatistics_ = null;
- }
- return timestampStatisticsBuilder_;
- }
-
- // optional bool hasNull = 10;
- private boolean hasNull_ ;
- /**
- * optional bool hasNull = 10;
- */
- public boolean hasHasNull() {
- return ((bitField0_ & 0x00000200) == 0x00000200);
- }
- /**
- * optional bool hasNull = 10;
- */
- public boolean getHasNull() {
- return hasNull_;
- }
- /**
- * optional bool hasNull = 10;
- */
- public Builder setHasNull(boolean value) {
- bitField0_ |= 0x00000200;
- hasNull_ = value;
- onChanged();
- return this;
- }
- /**
- * optional bool hasNull = 10;
- */
- public Builder clearHasNull() {
- bitField0_ = (bitField0_ & ~0x00000200);
- hasNull_ = false;
- onChanged();
- return this;
- }
-
- // @@protoc_insertion_point(builder_scope:orc.proto.ColumnStatistics)
- }
-
- static {
- defaultInstance = new ColumnStatistics(true);
- defaultInstance.initFields();
- }
-
- // @@protoc_insertion_point(class_scope:orc.proto.ColumnStatistics)
- }
-
- public interface RowIndexEntryOrBuilder
- extends com.google.protobuf.MessageOrBuilder {
-
- // repeated uint64 positions = 1 [packed = true];
- /**
- * repeated uint64 positions = 1 [packed = true];
- */
- java.util.Listrepeated uint64 positions = 1 [packed = true];
- */
- int getPositionsCount();
- /**
- * repeated uint64 positions = 1 [packed = true];
- */
- long getPositions(int index);
-
- // optional .orc.proto.ColumnStatistics statistics = 2;
- /**
- * optional .orc.proto.ColumnStatistics statistics = 2;
- */
- boolean hasStatistics();
- /**
- * optional .orc.proto.ColumnStatistics statistics = 2;
- */
- org.apache.orc.OrcProto.ColumnStatistics getStatistics();
- /**
- * optional .orc.proto.ColumnStatistics statistics = 2;
- */
- org.apache.orc.OrcProto.ColumnStatisticsOrBuilder getStatisticsOrBuilder();
- }
- /**
- * Protobuf type {@code orc.proto.RowIndexEntry}
- */
- public static final class RowIndexEntry extends
- com.google.protobuf.GeneratedMessage
- implements RowIndexEntryOrBuilder {
- // Use RowIndexEntry.newBuilder() to construct.
- private RowIndexEntry(com.google.protobuf.GeneratedMessage.Builder> builder) {
- super(builder);
- this.unknownFields = builder.getUnknownFields();
- }
- private RowIndexEntry(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
-
- private static final RowIndexEntry defaultInstance;
- public static RowIndexEntry getDefaultInstance() {
- return defaultInstance;
- }
-
- public RowIndexEntry getDefaultInstanceForType() {
- return defaultInstance;
- }
-
- private final com.google.protobuf.UnknownFieldSet unknownFields;
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet
- getUnknownFields() {
- return this.unknownFields;
- }
- private RowIndexEntry(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- initFields();
- int mutable_bitField0_ = 0;
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder();
- try {
- boolean done = false;
- while (!done) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- done = true;
- break;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- done = true;
- }
- break;
- }
- case 8: {
- if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
- positions_ = new java.util.ArrayListrepeated uint64 positions = 1 [packed = true];
- */
- public java.util.Listrepeated uint64 positions = 1 [packed = true];
- */
- public int getPositionsCount() {
- return positions_.size();
- }
- /**
- * repeated uint64 positions = 1 [packed = true];
- */
- public long getPositions(int index) {
- return positions_.get(index);
- }
- private int positionsMemoizedSerializedSize = -1;
-
- // optional .orc.proto.ColumnStatistics statistics = 2;
- public static final int STATISTICS_FIELD_NUMBER = 2;
- private org.apache.orc.OrcProto.ColumnStatistics statistics_;
- /**
- * optional .orc.proto.ColumnStatistics statistics = 2;
- */
- public boolean hasStatistics() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
- /**
- * optional .orc.proto.ColumnStatistics statistics = 2;
- */
- public org.apache.orc.OrcProto.ColumnStatistics getStatistics() {
- return statistics_;
- }
- /**
- * optional .orc.proto.ColumnStatistics statistics = 2;
- */
- public org.apache.orc.OrcProto.ColumnStatisticsOrBuilder getStatisticsOrBuilder() {
- return statistics_;
- }
-
- private void initFields() {
- positions_ = java.util.Collections.emptyList();
- statistics_ = org.apache.orc.OrcProto.ColumnStatistics.getDefaultInstance();
- }
- private byte memoizedIsInitialized = -1;
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1) return isInitialized == 1;
-
- memoizedIsInitialized = 1;
- return true;
- }
-
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- getSerializedSize();
- if (getPositionsList().size() > 0) {
- output.writeRawVarint32(10);
- output.writeRawVarint32(positionsMemoizedSerializedSize);
- }
- for (int i = 0; i < positions_.size(); i++) {
- output.writeUInt64NoTag(positions_.get(i));
- }
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- output.writeMessage(2, statistics_);
- }
- getUnknownFields().writeTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public int getSerializedSize() {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- {
- int dataSize = 0;
- for (int i = 0; i < positions_.size(); i++) {
- dataSize += com.google.protobuf.CodedOutputStream
- .computeUInt64SizeNoTag(positions_.get(i));
- }
- size += dataSize;
- if (!getPositionsList().isEmpty()) {
- size += 1;
- size += com.google.protobuf.CodedOutputStream
- .computeInt32SizeNoTag(dataSize);
- }
- positionsMemoizedSerializedSize = dataSize;
- }
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(2, statistics_);
- }
- size += getUnknownFields().getSerializedSize();
- memoizedSerializedSize = size;
- return size;
- }
-
- private static final long serialVersionUID = 0L;
- @java.lang.Override
- protected java.lang.Object writeReplace()
- throws java.io.ObjectStreamException {
- return super.writeReplace();
- }
-
- public static org.apache.orc.OrcProto.RowIndexEntry parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static org.apache.orc.OrcProto.RowIndexEntry parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static org.apache.orc.OrcProto.RowIndexEntry parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static org.apache.orc.OrcProto.RowIndexEntry parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static org.apache.orc.OrcProto.RowIndexEntry parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return PARSER.parseFrom(input);
- }
- public static org.apache.orc.OrcProto.RowIndexEntry parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return PARSER.parseFrom(input, extensionRegistry);
- }
- public static org.apache.orc.OrcProto.RowIndexEntry parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- return PARSER.parseDelimitedFrom(input);
- }
- public static org.apache.orc.OrcProto.RowIndexEntry parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return PARSER.parseDelimitedFrom(input, extensionRegistry);
- }
- public static org.apache.orc.OrcProto.RowIndexEntry parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return PARSER.parseFrom(input);
- }
- public static org.apache.orc.OrcProto.RowIndexEntry parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return PARSER.parseFrom(input, extensionRegistry);
- }
-
- public static Builder newBuilder() { return Builder.create(); }
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder(org.apache.orc.OrcProto.RowIndexEntry prototype) {
- return newBuilder().mergeFrom(prototype);
- }
- public Builder toBuilder() { return newBuilder(this); }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
- /**
- * Protobuf type {@code orc.proto.RowIndexEntry}
- */
- public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builderrepeated uint64 positions = 1 [packed = true];
- */
- public java.util.Listrepeated uint64 positions = 1 [packed = true];
- */
- public int getPositionsCount() {
- return positions_.size();
- }
- /**
- * repeated uint64 positions = 1 [packed = true];
- */
- public long getPositions(int index) {
- return positions_.get(index);
- }
- /**
- * repeated uint64 positions = 1 [packed = true];
- */
- public Builder setPositions(
- int index, long value) {
- ensurePositionsIsMutable();
- positions_.set(index, value);
- onChanged();
- return this;
- }
- /**
- * repeated uint64 positions = 1 [packed = true];
- */
- public Builder addPositions(long value) {
- ensurePositionsIsMutable();
- positions_.add(value);
- onChanged();
- return this;
- }
- /**
- * repeated uint64 positions = 1 [packed = true];
- */
- public Builder addAllPositions(
- java.lang.Iterable extends java.lang.Long> values) {
- ensurePositionsIsMutable();
- super.addAll(values, positions_);
- onChanged();
- return this;
- }
- /**
- * repeated uint64 positions = 1 [packed = true];
- */
- public Builder clearPositions() {
- positions_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000001);
- onChanged();
- return this;
- }
-
- // optional .orc.proto.ColumnStatistics statistics = 2;
- private org.apache.orc.OrcProto.ColumnStatistics statistics_ = org.apache.orc.OrcProto.ColumnStatistics.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilder<
- org.apache.orc.OrcProto.ColumnStatistics, org.apache.orc.OrcProto.ColumnStatistics.Builder, org.apache.orc.OrcProto.ColumnStatisticsOrBuilder> statisticsBuilder_;
- /**
- * optional .orc.proto.ColumnStatistics statistics = 2;
- */
- public boolean hasStatistics() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
- }
- /**
- * optional .orc.proto.ColumnStatistics statistics = 2;
- */
- public org.apache.orc.OrcProto.ColumnStatistics getStatistics() {
- if (statisticsBuilder_ == null) {
- return statistics_;
- } else {
- return statisticsBuilder_.getMessage();
- }
- }
- /**
- * optional .orc.proto.ColumnStatistics statistics = 2;
- */
- public Builder setStatistics(org.apache.orc.OrcProto.ColumnStatistics value) {
- if (statisticsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- statistics_ = value;
- onChanged();
- } else {
- statisticsBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000002;
- return this;
- }
- /**
- * optional .orc.proto.ColumnStatistics statistics = 2;
- */
- public Builder setStatistics(
- org.apache.orc.OrcProto.ColumnStatistics.Builder builderForValue) {
- if (statisticsBuilder_ == null) {
- statistics_ = builderForValue.build();
- onChanged();
- } else {
- statisticsBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000002;
- return this;
- }
- /**
- * optional .orc.proto.ColumnStatistics statistics = 2;
- */
- public Builder mergeStatistics(org.apache.orc.OrcProto.ColumnStatistics value) {
- if (statisticsBuilder_ == null) {
- if (((bitField0_ & 0x00000002) == 0x00000002) &&
- statistics_ != org.apache.orc.OrcProto.ColumnStatistics.getDefaultInstance()) {
- statistics_ =
- org.apache.orc.OrcProto.ColumnStatistics.newBuilder(statistics_).mergeFrom(value).buildPartial();
- } else {
- statistics_ = value;
- }
- onChanged();
- } else {
- statisticsBuilder_.mergeFrom(value);
- }
- bitField0_ |= 0x00000002;
- return this;
- }
- /**
- * optional .orc.proto.ColumnStatistics statistics = 2;
- */
- public Builder clearStatistics() {
- if (statisticsBuilder_ == null) {
- statistics_ = org.apache.orc.OrcProto.ColumnStatistics.getDefaultInstance();
- onChanged();
- } else {
- statisticsBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000002);
- return this;
- }
- /**
- * optional .orc.proto.ColumnStatistics statistics = 2;
- */
- public org.apache.orc.OrcProto.ColumnStatistics.Builder getStatisticsBuilder() {
- bitField0_ |= 0x00000002;
- onChanged();
- return getStatisticsFieldBuilder().getBuilder();
- }
- /**
- * optional .orc.proto.ColumnStatistics statistics = 2;
- */
- public org.apache.orc.OrcProto.ColumnStatisticsOrBuilder getStatisticsOrBuilder() {
- if (statisticsBuilder_ != null) {
- return statisticsBuilder_.getMessageOrBuilder();
- } else {
- return statistics_;
- }
- }
- /**
- * optional .orc.proto.ColumnStatistics statistics = 2;
- */
- private com.google.protobuf.SingleFieldBuilder<
- org.apache.orc.OrcProto.ColumnStatistics, org.apache.orc.OrcProto.ColumnStatistics.Builder, org.apache.orc.OrcProto.ColumnStatisticsOrBuilder>
- getStatisticsFieldBuilder() {
- if (statisticsBuilder_ == null) {
- statisticsBuilder_ = new com.google.protobuf.SingleFieldBuilder<
- org.apache.orc.OrcProto.ColumnStatistics, org.apache.orc.OrcProto.ColumnStatistics.Builder, org.apache.orc.OrcProto.ColumnStatisticsOrBuilder>(
- statistics_,
- getParentForChildren(),
- isClean());
- statistics_ = null;
- }
- return statisticsBuilder_;
- }
-
- // @@protoc_insertion_point(builder_scope:orc.proto.RowIndexEntry)
- }
-
- static {
- defaultInstance = new RowIndexEntry(true);
- defaultInstance.initFields();
- }
-
- // @@protoc_insertion_point(class_scope:orc.proto.RowIndexEntry)
- }
-
- public interface RowIndexOrBuilder
- extends com.google.protobuf.MessageOrBuilder {
-
- // repeated .orc.proto.RowIndexEntry entry = 1;
- /**
- * repeated .orc.proto.RowIndexEntry entry = 1;
- */
- java.util.Listrepeated .orc.proto.RowIndexEntry entry = 1;
- */
- org.apache.orc.OrcProto.RowIndexEntry getEntry(int index);
- /**
- * repeated .orc.proto.RowIndexEntry entry = 1;
- */
- int getEntryCount();
- /**
- * repeated .orc.proto.RowIndexEntry entry = 1;
- */
- java.util.List extends org.apache.orc.OrcProto.RowIndexEntryOrBuilder>
- getEntryOrBuilderList();
- /**
- * repeated .orc.proto.RowIndexEntry entry = 1;
- */
- org.apache.orc.OrcProto.RowIndexEntryOrBuilder getEntryOrBuilder(
- int index);
- }
- /**
- * Protobuf type {@code orc.proto.RowIndex}
- */
- public static final class RowIndex extends
- com.google.protobuf.GeneratedMessage
- implements RowIndexOrBuilder {
- // Use RowIndex.newBuilder() to construct.
- private RowIndex(com.google.protobuf.GeneratedMessage.Builder> builder) {
- super(builder);
- this.unknownFields = builder.getUnknownFields();
- }
- private RowIndex(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
-
- private static final RowIndex defaultInstance;
- public static RowIndex getDefaultInstance() {
- return defaultInstance;
- }
-
- public RowIndex getDefaultInstanceForType() {
- return defaultInstance;
- }
-
- private final com.google.protobuf.UnknownFieldSet unknownFields;
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet
- getUnknownFields() {
- return this.unknownFields;
- }
- private RowIndex(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- initFields();
- int mutable_bitField0_ = 0;
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder();
- try {
- boolean done = false;
- while (!done) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- done = true;
- break;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- done = true;
- }
- break;
- }
- case 10: {
- if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
- entry_ = new java.util.ArrayListrepeated .orc.proto.RowIndexEntry entry = 1;
- */
- public java.util.Listrepeated .orc.proto.RowIndexEntry entry = 1;
- */
- public java.util.List extends org.apache.orc.OrcProto.RowIndexEntryOrBuilder>
- getEntryOrBuilderList() {
- return entry_;
- }
- /**
- * repeated .orc.proto.RowIndexEntry entry = 1;
- */
- public int getEntryCount() {
- return entry_.size();
- }
- /**
- * repeated .orc.proto.RowIndexEntry entry = 1;
- */
- public org.apache.orc.OrcProto.RowIndexEntry getEntry(int index) {
- return entry_.get(index);
- }
- /**
- * repeated .orc.proto.RowIndexEntry entry = 1;
- */
- public org.apache.orc.OrcProto.RowIndexEntryOrBuilder getEntryOrBuilder(
- int index) {
- return entry_.get(index);
- }
-
- private void initFields() {
- entry_ = java.util.Collections.emptyList();
- }
- private byte memoizedIsInitialized = -1;
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1) return isInitialized == 1;
-
- memoizedIsInitialized = 1;
- return true;
- }
-
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- getSerializedSize();
- for (int i = 0; i < entry_.size(); i++) {
- output.writeMessage(1, entry_.get(i));
- }
- getUnknownFields().writeTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public int getSerializedSize() {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- for (int i = 0; i < entry_.size(); i++) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(1, entry_.get(i));
- }
- size += getUnknownFields().getSerializedSize();
- memoizedSerializedSize = size;
- return size;
- }
-
- private static final long serialVersionUID = 0L;
- @java.lang.Override
- protected java.lang.Object writeReplace()
- throws java.io.ObjectStreamException {
- return super.writeReplace();
- }
-
- public static org.apache.orc.OrcProto.RowIndex parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static org.apache.orc.OrcProto.RowIndex parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static org.apache.orc.OrcProto.RowIndex parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static org.apache.orc.OrcProto.RowIndex parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static org.apache.orc.OrcProto.RowIndex parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return PARSER.parseFrom(input);
- }
- public static org.apache.orc.OrcProto.RowIndex parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return PARSER.parseFrom(input, extensionRegistry);
- }
- public static org.apache.orc.OrcProto.RowIndex parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- return PARSER.parseDelimitedFrom(input);
- }
- public static org.apache.orc.OrcProto.RowIndex parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return PARSER.parseDelimitedFrom(input, extensionRegistry);
- }
- public static org.apache.orc.OrcProto.RowIndex parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return PARSER.parseFrom(input);
- }
- public static org.apache.orc.OrcProto.RowIndex parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return PARSER.parseFrom(input, extensionRegistry);
- }
-
- public static Builder newBuilder() { return Builder.create(); }
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder(org.apache.orc.OrcProto.RowIndex prototype) {
- return newBuilder().mergeFrom(prototype);
- }
- public Builder toBuilder() { return newBuilder(this); }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
- /**
- * Protobuf type {@code orc.proto.RowIndex}
- */
- public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builderrepeated .orc.proto.RowIndexEntry entry = 1;
- */
- public java.util.Listrepeated .orc.proto.RowIndexEntry entry = 1;
- */
- public int getEntryCount() {
- if (entryBuilder_ == null) {
- return entry_.size();
- } else {
- return entryBuilder_.getCount();
- }
- }
- /**
- * repeated .orc.proto.RowIndexEntry entry = 1;
- */
- public org.apache.orc.OrcProto.RowIndexEntry getEntry(int index) {
- if (entryBuilder_ == null) {
- return entry_.get(index);
- } else {
- return entryBuilder_.getMessage(index);
- }
- }
- /**
- * repeated .orc.proto.RowIndexEntry entry = 1;
- */
- public Builder setEntry(
- int index, org.apache.orc.OrcProto.RowIndexEntry value) {
- if (entryBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureEntryIsMutable();
- entry_.set(index, value);
- onChanged();
- } else {
- entryBuilder_.setMessage(index, value);
- }
- return this;
- }
- /**
- * repeated .orc.proto.RowIndexEntry entry = 1;
- */
- public Builder setEntry(
- int index, org.apache.orc.OrcProto.RowIndexEntry.Builder builderForValue) {
- if (entryBuilder_ == null) {
- ensureEntryIsMutable();
- entry_.set(index, builderForValue.build());
- onChanged();
- } else {
- entryBuilder_.setMessage(index, builderForValue.build());
- }
- return this;
- }
- /**
- * repeated .orc.proto.RowIndexEntry entry = 1;
- */
- public Builder addEntry(org.apache.orc.OrcProto.RowIndexEntry value) {
- if (entryBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureEntryIsMutable();
- entry_.add(value);
- onChanged();
- } else {
- entryBuilder_.addMessage(value);
- }
- return this;
- }
- /**
- * repeated .orc.proto.RowIndexEntry entry = 1;
- */
- public Builder addEntry(
- int index, org.apache.orc.OrcProto.RowIndexEntry value) {
- if (entryBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureEntryIsMutable();
- entry_.add(index, value);
- onChanged();
- } else {
- entryBuilder_.addMessage(index, value);
- }
- return this;
- }
- /**
- * repeated .orc.proto.RowIndexEntry entry = 1;
- */
- public Builder addEntry(
- org.apache.orc.OrcProto.RowIndexEntry.Builder builderForValue) {
- if (entryBuilder_ == null) {
- ensureEntryIsMutable();
- entry_.add(builderForValue.build());
- onChanged();
- } else {
- entryBuilder_.addMessage(builderForValue.build());
- }
- return this;
- }
- /**
- * repeated .orc.proto.RowIndexEntry entry = 1;
- */
- public Builder addEntry(
- int index, org.apache.orc.OrcProto.RowIndexEntry.Builder builderForValue) {
- if (entryBuilder_ == null) {
- ensureEntryIsMutable();
- entry_.add(index, builderForValue.build());
- onChanged();
- } else {
- entryBuilder_.addMessage(index, builderForValue.build());
- }
- return this;
- }
- /**
- * repeated .orc.proto.RowIndexEntry entry = 1;
- */
- public Builder addAllEntry(
- java.lang.Iterable extends org.apache.orc.OrcProto.RowIndexEntry> values) {
- if (entryBuilder_ == null) {
- ensureEntryIsMutable();
- super.addAll(values, entry_);
- onChanged();
- } else {
- entryBuilder_.addAllMessages(values);
- }
- return this;
- }
- /**
- * repeated .orc.proto.RowIndexEntry entry = 1;
- */
- public Builder clearEntry() {
- if (entryBuilder_ == null) {
- entry_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000001);
- onChanged();
- } else {
- entryBuilder_.clear();
- }
- return this;
- }
- /**
- * repeated .orc.proto.RowIndexEntry entry = 1;
- */
- public Builder removeEntry(int index) {
- if (entryBuilder_ == null) {
- ensureEntryIsMutable();
- entry_.remove(index);
- onChanged();
- } else {
- entryBuilder_.remove(index);
- }
- return this;
- }
- /**
- * repeated .orc.proto.RowIndexEntry entry = 1;
- */
- public org.apache.orc.OrcProto.RowIndexEntry.Builder getEntryBuilder(
- int index) {
- return getEntryFieldBuilder().getBuilder(index);
- }
- /**
- * repeated .orc.proto.RowIndexEntry entry = 1;
- */
- public org.apache.orc.OrcProto.RowIndexEntryOrBuilder getEntryOrBuilder(
- int index) {
- if (entryBuilder_ == null) {
- return entry_.get(index); } else {
- return entryBuilder_.getMessageOrBuilder(index);
- }
- }
- /**
- * repeated .orc.proto.RowIndexEntry entry = 1;
- */
- public java.util.List extends org.apache.orc.OrcProto.RowIndexEntryOrBuilder>
- getEntryOrBuilderList() {
- if (entryBuilder_ != null) {
- return entryBuilder_.getMessageOrBuilderList();
- } else {
- return java.util.Collections.unmodifiableList(entry_);
- }
- }
- /**
- * repeated .orc.proto.RowIndexEntry entry = 1;
- */
- public org.apache.orc.OrcProto.RowIndexEntry.Builder addEntryBuilder() {
- return getEntryFieldBuilder().addBuilder(
- org.apache.orc.OrcProto.RowIndexEntry.getDefaultInstance());
- }
- /**
- * repeated .orc.proto.RowIndexEntry entry = 1;
- */
- public org.apache.orc.OrcProto.RowIndexEntry.Builder addEntryBuilder(
- int index) {
- return getEntryFieldBuilder().addBuilder(
- index, org.apache.orc.OrcProto.RowIndexEntry.getDefaultInstance());
- }
- /**
- * repeated .orc.proto.RowIndexEntry entry = 1;
- */
- public java.util.Listoptional uint32 numHashFunctions = 1;
- */
- boolean hasNumHashFunctions();
- /**
- * optional uint32 numHashFunctions = 1;
- */
- int getNumHashFunctions();
-
- // repeated fixed64 bitset = 2;
- /**
- * repeated fixed64 bitset = 2;
- */
- java.util.Listrepeated fixed64 bitset = 2;
- */
- int getBitsetCount();
- /**
- * repeated fixed64 bitset = 2;
- */
- long getBitset(int index);
- }
- /**
- * Protobuf type {@code orc.proto.BloomFilter}
- */
- public static final class BloomFilter extends
- com.google.protobuf.GeneratedMessage
- implements BloomFilterOrBuilder {
- // Use BloomFilter.newBuilder() to construct.
- private BloomFilter(com.google.protobuf.GeneratedMessage.Builder> builder) {
- super(builder);
- this.unknownFields = builder.getUnknownFields();
- }
- private BloomFilter(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
-
- private static final BloomFilter defaultInstance;
- public static BloomFilter getDefaultInstance() {
- return defaultInstance;
- }
-
- public BloomFilter getDefaultInstanceForType() {
- return defaultInstance;
- }
-
- private final com.google.protobuf.UnknownFieldSet unknownFields;
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet
- getUnknownFields() {
- return this.unknownFields;
- }
- private BloomFilter(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- initFields();
- int mutable_bitField0_ = 0;
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder();
- try {
- boolean done = false;
- while (!done) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- done = true;
- break;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- done = true;
- }
- break;
- }
- case 8: {
- bitField0_ |= 0x00000001;
- numHashFunctions_ = input.readUInt32();
- break;
- }
- case 17: {
- if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
- bitset_ = new java.util.ArrayListoptional uint32 numHashFunctions = 1;
- */
- public boolean hasNumHashFunctions() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
- /**
- * optional uint32 numHashFunctions = 1;
- */
- public int getNumHashFunctions() {
- return numHashFunctions_;
- }
-
- // repeated fixed64 bitset = 2;
- public static final int BITSET_FIELD_NUMBER = 2;
- private java.util.Listrepeated fixed64 bitset = 2;
- */
- public java.util.Listrepeated fixed64 bitset = 2;
- */
- public int getBitsetCount() {
- return bitset_.size();
- }
- /**
- * repeated fixed64 bitset = 2;
- */
- public long getBitset(int index) {
- return bitset_.get(index);
- }
-
- private void initFields() {
- numHashFunctions_ = 0;
- bitset_ = java.util.Collections.emptyList();
- }
- private byte memoizedIsInitialized = -1;
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1) return isInitialized == 1;
-
- memoizedIsInitialized = 1;
- return true;
- }
-
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- getSerializedSize();
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- output.writeUInt32(1, numHashFunctions_);
- }
- for (int i = 0; i < bitset_.size(); i++) {
- output.writeFixed64(2, bitset_.get(i));
- }
- getUnknownFields().writeTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public int getSerializedSize() {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- size += com.google.protobuf.CodedOutputStream
- .computeUInt32Size(1, numHashFunctions_);
- }
- {
- int dataSize = 0;
- dataSize = 8 * getBitsetList().size();
- size += dataSize;
- size += 1 * getBitsetList().size();
- }
- size += getUnknownFields().getSerializedSize();
- memoizedSerializedSize = size;
- return size;
- }
-
- private static final long serialVersionUID = 0L;
- @java.lang.Override
- protected java.lang.Object writeReplace()
- throws java.io.ObjectStreamException {
- return super.writeReplace();
- }
-
- public static org.apache.orc.OrcProto.BloomFilter parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static org.apache.orc.OrcProto.BloomFilter parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static org.apache.orc.OrcProto.BloomFilter parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static org.apache.orc.OrcProto.BloomFilter parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static org.apache.orc.OrcProto.BloomFilter parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return PARSER.parseFrom(input);
- }
- public static org.apache.orc.OrcProto.BloomFilter parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return PARSER.parseFrom(input, extensionRegistry);
- }
- public static org.apache.orc.OrcProto.BloomFilter parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- return PARSER.parseDelimitedFrom(input);
- }
- public static org.apache.orc.OrcProto.BloomFilter parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return PARSER.parseDelimitedFrom(input, extensionRegistry);
- }
- public static org.apache.orc.OrcProto.BloomFilter parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return PARSER.parseFrom(input);
- }
- public static org.apache.orc.OrcProto.BloomFilter parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return PARSER.parseFrom(input, extensionRegistry);
- }
-
- public static Builder newBuilder() { return Builder.create(); }
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder(org.apache.orc.OrcProto.BloomFilter prototype) {
- return newBuilder().mergeFrom(prototype);
- }
- public Builder toBuilder() { return newBuilder(this); }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
- /**
- * Protobuf type {@code orc.proto.BloomFilter}
- */
- public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builderoptional uint32 numHashFunctions = 1;
- */
- public boolean hasNumHashFunctions() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
- /**
- * optional uint32 numHashFunctions = 1;
- */
- public int getNumHashFunctions() {
- return numHashFunctions_;
- }
- /**
- * optional uint32 numHashFunctions = 1;
- */
- public Builder setNumHashFunctions(int value) {
- bitField0_ |= 0x00000001;
- numHashFunctions_ = value;
- onChanged();
- return this;
- }
- /**
- * optional uint32 numHashFunctions = 1;
- */
- public Builder clearNumHashFunctions() {
- bitField0_ = (bitField0_ & ~0x00000001);
- numHashFunctions_ = 0;
- onChanged();
- return this;
- }
-
- // repeated fixed64 bitset = 2;
- private java.util.Listrepeated fixed64 bitset = 2;
- */
- public java.util.Listrepeated fixed64 bitset = 2;
- */
- public int getBitsetCount() {
- return bitset_.size();
- }
- /**
- * repeated fixed64 bitset = 2;
- */
- public long getBitset(int index) {
- return bitset_.get(index);
- }
- /**
- * repeated fixed64 bitset = 2;
- */
- public Builder setBitset(
- int index, long value) {
- ensureBitsetIsMutable();
- bitset_.set(index, value);
- onChanged();
- return this;
- }
- /**
- * repeated fixed64 bitset = 2;
- */
- public Builder addBitset(long value) {
- ensureBitsetIsMutable();
- bitset_.add(value);
- onChanged();
- return this;
- }
- /**
- * repeated fixed64 bitset = 2;
- */
- public Builder addAllBitset(
- java.lang.Iterable extends java.lang.Long> values) {
- ensureBitsetIsMutable();
- super.addAll(values, bitset_);
- onChanged();
- return this;
- }
- /**
- * repeated fixed64 bitset = 2;
- */
- public Builder clearBitset() {
- bitset_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000002);
- onChanged();
- return this;
- }
-
- // @@protoc_insertion_point(builder_scope:orc.proto.BloomFilter)
- }
-
- static {
- defaultInstance = new BloomFilter(true);
- defaultInstance.initFields();
- }
-
- // @@protoc_insertion_point(class_scope:orc.proto.BloomFilter)
- }
-
- public interface BloomFilterIndexOrBuilder
- extends com.google.protobuf.MessageOrBuilder {
-
- // repeated .orc.proto.BloomFilter bloomFilter = 1;
- /**
- * repeated .orc.proto.BloomFilter bloomFilter = 1;
- */
- java.util.Listrepeated .orc.proto.BloomFilter bloomFilter = 1;
- */
- org.apache.orc.OrcProto.BloomFilter getBloomFilter(int index);
- /**
- * repeated .orc.proto.BloomFilter bloomFilter = 1;
- */
- int getBloomFilterCount();
- /**
- * repeated .orc.proto.BloomFilter bloomFilter = 1;
- */
- java.util.List extends org.apache.orc.OrcProto.BloomFilterOrBuilder>
- getBloomFilterOrBuilderList();
- /**
- * repeated .orc.proto.BloomFilter bloomFilter = 1;
- */
- org.apache.orc.OrcProto.BloomFilterOrBuilder getBloomFilterOrBuilder(
- int index);
- }
- /**
- * Protobuf type {@code orc.proto.BloomFilterIndex}
- */
- public static final class BloomFilterIndex extends
- com.google.protobuf.GeneratedMessage
- implements BloomFilterIndexOrBuilder {
- // Use BloomFilterIndex.newBuilder() to construct.
- private BloomFilterIndex(com.google.protobuf.GeneratedMessage.Builder> builder) {
- super(builder);
- this.unknownFields = builder.getUnknownFields();
- }
- private BloomFilterIndex(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
-
- private static final BloomFilterIndex defaultInstance;
- public static BloomFilterIndex getDefaultInstance() {
- return defaultInstance;
- }
-
- public BloomFilterIndex getDefaultInstanceForType() {
- return defaultInstance;
- }
-
- private final com.google.protobuf.UnknownFieldSet unknownFields;
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet
- getUnknownFields() {
- return this.unknownFields;
- }
- private BloomFilterIndex(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- initFields();
- int mutable_bitField0_ = 0;
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder();
- try {
- boolean done = false;
- while (!done) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- done = true;
- break;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- done = true;
- }
- break;
- }
- case 10: {
- if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
- bloomFilter_ = new java.util.ArrayListrepeated .orc.proto.BloomFilter bloomFilter = 1;
- */
- public java.util.Listrepeated .orc.proto.BloomFilter bloomFilter = 1;
- */
- public java.util.List extends org.apache.orc.OrcProto.BloomFilterOrBuilder>
- getBloomFilterOrBuilderList() {
- return bloomFilter_;
- }
- /**
- * repeated .orc.proto.BloomFilter bloomFilter = 1;
- */
- public int getBloomFilterCount() {
- return bloomFilter_.size();
- }
- /**
- * repeated .orc.proto.BloomFilter bloomFilter = 1;
- */
- public org.apache.orc.OrcProto.BloomFilter getBloomFilter(int index) {
- return bloomFilter_.get(index);
- }
- /**
- * repeated .orc.proto.BloomFilter bloomFilter = 1;
- */
- public org.apache.orc.OrcProto.BloomFilterOrBuilder getBloomFilterOrBuilder(
- int index) {
- return bloomFilter_.get(index);
- }
-
- private void initFields() {
- bloomFilter_ = java.util.Collections.emptyList();
- }
- private byte memoizedIsInitialized = -1;
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1) return isInitialized == 1;
-
- memoizedIsInitialized = 1;
- return true;
- }
-
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- getSerializedSize();
- for (int i = 0; i < bloomFilter_.size(); i++) {
- output.writeMessage(1, bloomFilter_.get(i));
- }
- getUnknownFields().writeTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public int getSerializedSize() {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- for (int i = 0; i < bloomFilter_.size(); i++) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(1, bloomFilter_.get(i));
- }
- size += getUnknownFields().getSerializedSize();
- memoizedSerializedSize = size;
- return size;
- }
-
- private static final long serialVersionUID = 0L;
- @java.lang.Override
- protected java.lang.Object writeReplace()
- throws java.io.ObjectStreamException {
- return super.writeReplace();
- }
-
- public static org.apache.orc.OrcProto.BloomFilterIndex parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static org.apache.orc.OrcProto.BloomFilterIndex parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static org.apache.orc.OrcProto.BloomFilterIndex parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static org.apache.orc.OrcProto.BloomFilterIndex parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static org.apache.orc.OrcProto.BloomFilterIndex parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return PARSER.parseFrom(input);
- }
- public static org.apache.orc.OrcProto.BloomFilterIndex parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return PARSER.parseFrom(input, extensionRegistry);
- }
- public static org.apache.orc.OrcProto.BloomFilterIndex parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- return PARSER.parseDelimitedFrom(input);
- }
- public static org.apache.orc.OrcProto.BloomFilterIndex parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return PARSER.parseDelimitedFrom(input, extensionRegistry);
- }
- public static org.apache.orc.OrcProto.BloomFilterIndex parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return PARSER.parseFrom(input);
- }
- public static org.apache.orc.OrcProto.BloomFilterIndex parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return PARSER.parseFrom(input, extensionRegistry);
- }
-
- public static Builder newBuilder() { return Builder.create(); }
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder(org.apache.orc.OrcProto.BloomFilterIndex prototype) {
- return newBuilder().mergeFrom(prototype);
- }
- public Builder toBuilder() { return newBuilder(this); }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
- /**
- * Protobuf type {@code orc.proto.BloomFilterIndex}
- */
- public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builderrepeated .orc.proto.BloomFilter bloomFilter = 1;
- */
- public java.util.Listrepeated .orc.proto.BloomFilter bloomFilter = 1;
- */
- public int getBloomFilterCount() {
- if (bloomFilterBuilder_ == null) {
- return bloomFilter_.size();
- } else {
- return bloomFilterBuilder_.getCount();
- }
- }
- /**
- * repeated .orc.proto.BloomFilter bloomFilter = 1;
- */
- public org.apache.orc.OrcProto.BloomFilter getBloomFilter(int index) {
- if (bloomFilterBuilder_ == null) {
- return bloomFilter_.get(index);
- } else {
- return bloomFilterBuilder_.getMessage(index);
- }
- }
- /**
- * repeated .orc.proto.BloomFilter bloomFilter = 1;
- */
- public Builder setBloomFilter(
- int index, org.apache.orc.OrcProto.BloomFilter value) {
- if (bloomFilterBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureBloomFilterIsMutable();
- bloomFilter_.set(index, value);
- onChanged();
- } else {
- bloomFilterBuilder_.setMessage(index, value);
- }
- return this;
- }
- /**
- * repeated .orc.proto.BloomFilter bloomFilter = 1;
- */
- public Builder setBloomFilter(
- int index, org.apache.orc.OrcProto.BloomFilter.Builder builderForValue) {
- if (bloomFilterBuilder_ == null) {
- ensureBloomFilterIsMutable();
- bloomFilter_.set(index, builderForValue.build());
- onChanged();
- } else {
- bloomFilterBuilder_.setMessage(index, builderForValue.build());
- }
- return this;
- }
- /**
- * repeated .orc.proto.BloomFilter bloomFilter = 1;
- */
- public Builder addBloomFilter(org.apache.orc.OrcProto.BloomFilter value) {
- if (bloomFilterBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureBloomFilterIsMutable();
- bloomFilter_.add(value);
- onChanged();
- } else {
- bloomFilterBuilder_.addMessage(value);
- }
- return this;
- }
- /**
- * repeated .orc.proto.BloomFilter bloomFilter = 1;
- */
- public Builder addBloomFilter(
- int index, org.apache.orc.OrcProto.BloomFilter value) {
- if (bloomFilterBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureBloomFilterIsMutable();
- bloomFilter_.add(index, value);
- onChanged();
- } else {
- bloomFilterBuilder_.addMessage(index, value);
- }
- return this;
- }
- /**
- * repeated .orc.proto.BloomFilter bloomFilter = 1;
- */
- public Builder addBloomFilter(
- org.apache.orc.OrcProto.BloomFilter.Builder builderForValue) {
- if (bloomFilterBuilder_ == null) {
- ensureBloomFilterIsMutable();
- bloomFilter_.add(builderForValue.build());
- onChanged();
- } else {
- bloomFilterBuilder_.addMessage(builderForValue.build());
- }
- return this;
- }
- /**
- * repeated .orc.proto.BloomFilter bloomFilter = 1;
- */
- public Builder addBloomFilter(
- int index, org.apache.orc.OrcProto.BloomFilter.Builder builderForValue) {
- if (bloomFilterBuilder_ == null) {
- ensureBloomFilterIsMutable();
- bloomFilter_.add(index, builderForValue.build());
- onChanged();
- } else {
- bloomFilterBuilder_.addMessage(index, builderForValue.build());
- }
- return this;
- }
- /**
- * repeated .orc.proto.BloomFilter bloomFilter = 1;
- */
- public Builder addAllBloomFilter(
- java.lang.Iterable extends org.apache.orc.OrcProto.BloomFilter> values) {
- if (bloomFilterBuilder_ == null) {
- ensureBloomFilterIsMutable();
- super.addAll(values, bloomFilter_);
- onChanged();
- } else {
- bloomFilterBuilder_.addAllMessages(values);
- }
- return this;
- }
- /**
- * repeated .orc.proto.BloomFilter bloomFilter = 1;
- */
- public Builder clearBloomFilter() {
- if (bloomFilterBuilder_ == null) {
- bloomFilter_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000001);
- onChanged();
- } else {
- bloomFilterBuilder_.clear();
- }
- return this;
- }
- /**
- * repeated .orc.proto.BloomFilter bloomFilter = 1;
- */
- public Builder removeBloomFilter(int index) {
- if (bloomFilterBuilder_ == null) {
- ensureBloomFilterIsMutable();
- bloomFilter_.remove(index);
- onChanged();
- } else {
- bloomFilterBuilder_.remove(index);
- }
- return this;
- }
- /**
- * repeated .orc.proto.BloomFilter bloomFilter = 1;
- */
- public org.apache.orc.OrcProto.BloomFilter.Builder getBloomFilterBuilder(
- int index) {
- return getBloomFilterFieldBuilder().getBuilder(index);
- }
- /**
- * repeated .orc.proto.BloomFilter bloomFilter = 1;
- */
- public org.apache.orc.OrcProto.BloomFilterOrBuilder getBloomFilterOrBuilder(
- int index) {
- if (bloomFilterBuilder_ == null) {
- return bloomFilter_.get(index); } else {
- return bloomFilterBuilder_.getMessageOrBuilder(index);
- }
- }
- /**
- * repeated .orc.proto.BloomFilter bloomFilter = 1;
- */
- public java.util.List extends org.apache.orc.OrcProto.BloomFilterOrBuilder>
- getBloomFilterOrBuilderList() {
- if (bloomFilterBuilder_ != null) {
- return bloomFilterBuilder_.getMessageOrBuilderList();
- } else {
- return java.util.Collections.unmodifiableList(bloomFilter_);
- }
- }
- /**
- * repeated .orc.proto.BloomFilter bloomFilter = 1;
- */
- public org.apache.orc.OrcProto.BloomFilter.Builder addBloomFilterBuilder() {
- return getBloomFilterFieldBuilder().addBuilder(
- org.apache.orc.OrcProto.BloomFilter.getDefaultInstance());
- }
- /**
- * repeated .orc.proto.BloomFilter bloomFilter = 1;
- */
- public org.apache.orc.OrcProto.BloomFilter.Builder addBloomFilterBuilder(
- int index) {
- return getBloomFilterFieldBuilder().addBuilder(
- index, org.apache.orc.OrcProto.BloomFilter.getDefaultInstance());
- }
- /**
- * repeated .orc.proto.BloomFilter bloomFilter = 1;
- */
- public java.util.Listoptional .orc.proto.Stream.Kind kind = 1;
- */
- boolean hasKind();
- /**
- * optional .orc.proto.Stream.Kind kind = 1;
- */
- org.apache.orc.OrcProto.Stream.Kind getKind();
-
- // optional uint32 column = 2;
- /**
- * optional uint32 column = 2;
- */
- boolean hasColumn();
- /**
- * optional uint32 column = 2;
- */
- int getColumn();
-
- // optional uint64 length = 3;
- /**
- * optional uint64 length = 3;
- */
- boolean hasLength();
- /**
- * optional uint64 length = 3;
- */
- long getLength();
- }
- /**
- * Protobuf type {@code orc.proto.Stream}
- */
- public static final class Stream extends
- com.google.protobuf.GeneratedMessage
- implements StreamOrBuilder {
- // Use Stream.newBuilder() to construct.
- private Stream(com.google.protobuf.GeneratedMessage.Builder> builder) {
- super(builder);
- this.unknownFields = builder.getUnknownFields();
- }
- private Stream(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
-
- private static final Stream defaultInstance;
- public static Stream getDefaultInstance() {
- return defaultInstance;
- }
-
- public Stream getDefaultInstanceForType() {
- return defaultInstance;
- }
-
- private final com.google.protobuf.UnknownFieldSet unknownFields;
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet
- getUnknownFields() {
- return this.unknownFields;
- }
- private Stream(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- initFields();
- int mutable_bitField0_ = 0;
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder();
- try {
- boolean done = false;
- while (!done) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- done = true;
- break;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- done = true;
- }
- break;
- }
- case 8: {
- int rawValue = input.readEnum();
- org.apache.orc.OrcProto.Stream.Kind value = org.apache.orc.OrcProto.Stream.Kind.valueOf(rawValue);
- if (value == null) {
- unknownFields.mergeVarintField(1, rawValue);
- } else {
- bitField0_ |= 0x00000001;
- kind_ = value;
- }
- break;
- }
- case 16: {
- bitField0_ |= 0x00000002;
- column_ = input.readUInt32();
- break;
- }
- case 24: {
- bitField0_ |= 0x00000004;
- length_ = input.readUInt64();
- break;
- }
- }
- }
- } catch (com.google.protobuf.InvalidProtocolBufferException e) {
- throw e.setUnfinishedMessage(this);
- } catch (java.io.IOException e) {
- throw new com.google.protobuf.InvalidProtocolBufferException(
- e.getMessage()).setUnfinishedMessage(this);
- } finally {
- this.unknownFields = unknownFields.build();
- makeExtensionsImmutable();
- }
- }
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return org.apache.orc.OrcProto.internal_static_orc_proto_Stream_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return org.apache.orc.OrcProto.internal_static_orc_proto_Stream_fieldAccessorTable
- .ensureFieldAccessorsInitialized(
- org.apache.orc.OrcProto.Stream.class, org.apache.orc.OrcProto.Stream.Builder.class);
- }
-
- public static com.google.protobuf.Parser- * if you add new index stream kinds, you need to make sure to update - * StreamName to ensure it is added to the stripe in the right area - *- */ - public enum Kind - implements com.google.protobuf.ProtocolMessageEnum { - /** - *
PRESENT = 0;
- */
- PRESENT(0, 0),
- /**
- * DATA = 1;
- */
- DATA(1, 1),
- /**
- * LENGTH = 2;
- */
- LENGTH(2, 2),
- /**
- * DICTIONARY_DATA = 3;
- */
- DICTIONARY_DATA(3, 3),
- /**
- * DICTIONARY_COUNT = 4;
- */
- DICTIONARY_COUNT(4, 4),
- /**
- * SECONDARY = 5;
- */
- SECONDARY(5, 5),
- /**
- * ROW_INDEX = 6;
- */
- ROW_INDEX(6, 6),
- /**
- * BLOOM_FILTER = 7;
- */
- BLOOM_FILTER(7, 7),
- ;
-
- /**
- * PRESENT = 0;
- */
- public static final int PRESENT_VALUE = 0;
- /**
- * DATA = 1;
- */
- public static final int DATA_VALUE = 1;
- /**
- * LENGTH = 2;
- */
- public static final int LENGTH_VALUE = 2;
- /**
- * DICTIONARY_DATA = 3;
- */
- public static final int DICTIONARY_DATA_VALUE = 3;
- /**
- * DICTIONARY_COUNT = 4;
- */
- public static final int DICTIONARY_COUNT_VALUE = 4;
- /**
- * SECONDARY = 5;
- */
- public static final int SECONDARY_VALUE = 5;
- /**
- * ROW_INDEX = 6;
- */
- public static final int ROW_INDEX_VALUE = 6;
- /**
- * BLOOM_FILTER = 7;
- */
- public static final int BLOOM_FILTER_VALUE = 7;
-
-
- public final int getNumber() { return value; }
-
- public static Kind valueOf(int value) {
- switch (value) {
- case 0: return PRESENT;
- case 1: return DATA;
- case 2: return LENGTH;
- case 3: return DICTIONARY_DATA;
- case 4: return DICTIONARY_COUNT;
- case 5: return SECONDARY;
- case 6: return ROW_INDEX;
- case 7: return BLOOM_FILTER;
- default: return null;
- }
- }
-
- public static com.google.protobuf.Internal.EnumLiteMapoptional .orc.proto.Stream.Kind kind = 1;
- */
- public boolean hasKind() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
- /**
- * optional .orc.proto.Stream.Kind kind = 1;
- */
- public org.apache.orc.OrcProto.Stream.Kind getKind() {
- return kind_;
- }
-
- // optional uint32 column = 2;
- public static final int COLUMN_FIELD_NUMBER = 2;
- private int column_;
- /**
- * optional uint32 column = 2;
- */
- public boolean hasColumn() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
- }
- /**
- * optional uint32 column = 2;
- */
- public int getColumn() {
- return column_;
- }
-
- // optional uint64 length = 3;
- public static final int LENGTH_FIELD_NUMBER = 3;
- private long length_;
- /**
- * optional uint64 length = 3;
- */
- public boolean hasLength() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
- }
- /**
- * optional uint64 length = 3;
- */
- public long getLength() {
- return length_;
- }
-
- private void initFields() {
- kind_ = org.apache.orc.OrcProto.Stream.Kind.PRESENT;
- column_ = 0;
- length_ = 0L;
- }
- private byte memoizedIsInitialized = -1;
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1) return isInitialized == 1;
-
- memoizedIsInitialized = 1;
- return true;
- }
-
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- getSerializedSize();
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- output.writeEnum(1, kind_.getNumber());
- }
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
- output.writeUInt32(2, column_);
- }
- if (((bitField0_ & 0x00000004) == 0x00000004)) {
- output.writeUInt64(3, length_);
- }
- getUnknownFields().writeTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public int getSerializedSize() {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- size += com.google.protobuf.CodedOutputStream
- .computeEnumSize(1, kind_.getNumber());
- }
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
- size += com.google.protobuf.CodedOutputStream
- .computeUInt32Size(2, column_);
- }
- if (((bitField0_ & 0x00000004) == 0x00000004)) {
- size += com.google.protobuf.CodedOutputStream
- .computeUInt64Size(3, length_);
- }
- size += getUnknownFields().getSerializedSize();
- memoizedSerializedSize = size;
- return size;
- }
-
- private static final long serialVersionUID = 0L;
- @java.lang.Override
- protected java.lang.Object writeReplace()
- throws java.io.ObjectStreamException {
- return super.writeReplace();
- }
-
- public static org.apache.orc.OrcProto.Stream parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static org.apache.orc.OrcProto.Stream parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static org.apache.orc.OrcProto.Stream parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static org.apache.orc.OrcProto.Stream parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static org.apache.orc.OrcProto.Stream parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return PARSER.parseFrom(input);
- }
- public static org.apache.orc.OrcProto.Stream parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return PARSER.parseFrom(input, extensionRegistry);
- }
- public static org.apache.orc.OrcProto.Stream parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- return PARSER.parseDelimitedFrom(input);
- }
- public static org.apache.orc.OrcProto.Stream parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return PARSER.parseDelimitedFrom(input, extensionRegistry);
- }
- public static org.apache.orc.OrcProto.Stream parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return PARSER.parseFrom(input);
- }
- public static org.apache.orc.OrcProto.Stream parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return PARSER.parseFrom(input, extensionRegistry);
- }
-
- public static Builder newBuilder() { return Builder.create(); }
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder(org.apache.orc.OrcProto.Stream prototype) {
- return newBuilder().mergeFrom(prototype);
- }
- public Builder toBuilder() { return newBuilder(this); }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
- /**
- * Protobuf type {@code orc.proto.Stream}
- */
- public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builderoptional .orc.proto.Stream.Kind kind = 1;
- */
- public boolean hasKind() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
- /**
- * optional .orc.proto.Stream.Kind kind = 1;
- */
- public org.apache.orc.OrcProto.Stream.Kind getKind() {
- return kind_;
- }
- /**
- * optional .orc.proto.Stream.Kind kind = 1;
- */
- public Builder setKind(org.apache.orc.OrcProto.Stream.Kind value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000001;
- kind_ = value;
- onChanged();
- return this;
- }
- /**
- * optional .orc.proto.Stream.Kind kind = 1;
- */
- public Builder clearKind() {
- bitField0_ = (bitField0_ & ~0x00000001);
- kind_ = org.apache.orc.OrcProto.Stream.Kind.PRESENT;
- onChanged();
- return this;
- }
-
- // optional uint32 column = 2;
- private int column_ ;
- /**
- * optional uint32 column = 2;
- */
- public boolean hasColumn() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
- }
- /**
- * optional uint32 column = 2;
- */
- public int getColumn() {
- return column_;
- }
- /**
- * optional uint32 column = 2;
- */
- public Builder setColumn(int value) {
- bitField0_ |= 0x00000002;
- column_ = value;
- onChanged();
- return this;
- }
- /**
- * optional uint32 column = 2;
- */
- public Builder clearColumn() {
- bitField0_ = (bitField0_ & ~0x00000002);
- column_ = 0;
- onChanged();
- return this;
- }
-
- // optional uint64 length = 3;
- private long length_ ;
- /**
- * optional uint64 length = 3;
- */
- public boolean hasLength() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
- }
- /**
- * optional uint64 length = 3;
- */
- public long getLength() {
- return length_;
- }
- /**
- * optional uint64 length = 3;
- */
- public Builder setLength(long value) {
- bitField0_ |= 0x00000004;
- length_ = value;
- onChanged();
- return this;
- }
- /**
- * optional uint64 length = 3;
- */
- public Builder clearLength() {
- bitField0_ = (bitField0_ & ~0x00000004);
- length_ = 0L;
- onChanged();
- return this;
- }
-
- // @@protoc_insertion_point(builder_scope:orc.proto.Stream)
- }
-
- static {
- defaultInstance = new Stream(true);
- defaultInstance.initFields();
- }
-
- // @@protoc_insertion_point(class_scope:orc.proto.Stream)
- }
-
- public interface ColumnEncodingOrBuilder
- extends com.google.protobuf.MessageOrBuilder {
-
- // optional .orc.proto.ColumnEncoding.Kind kind = 1;
- /**
- * optional .orc.proto.ColumnEncoding.Kind kind = 1;
- */
- boolean hasKind();
- /**
- * optional .orc.proto.ColumnEncoding.Kind kind = 1;
- */
- org.apache.orc.OrcProto.ColumnEncoding.Kind getKind();
-
- // optional uint32 dictionarySize = 2;
- /**
- * optional uint32 dictionarySize = 2;
- */
- boolean hasDictionarySize();
- /**
- * optional uint32 dictionarySize = 2;
- */
- int getDictionarySize();
- }
- /**
- * Protobuf type {@code orc.proto.ColumnEncoding}
- */
- public static final class ColumnEncoding extends
- com.google.protobuf.GeneratedMessage
- implements ColumnEncodingOrBuilder {
- // Use ColumnEncoding.newBuilder() to construct.
- private ColumnEncoding(com.google.protobuf.GeneratedMessage.Builder> builder) {
- super(builder);
- this.unknownFields = builder.getUnknownFields();
- }
- private ColumnEncoding(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
-
- private static final ColumnEncoding defaultInstance;
- public static ColumnEncoding getDefaultInstance() {
- return defaultInstance;
- }
-
- public ColumnEncoding getDefaultInstanceForType() {
- return defaultInstance;
- }
-
- private final com.google.protobuf.UnknownFieldSet unknownFields;
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet
- getUnknownFields() {
- return this.unknownFields;
- }
- private ColumnEncoding(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- initFields();
- int mutable_bitField0_ = 0;
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder();
- try {
- boolean done = false;
- while (!done) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- done = true;
- break;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- done = true;
- }
- break;
- }
- case 8: {
- int rawValue = input.readEnum();
- org.apache.orc.OrcProto.ColumnEncoding.Kind value = org.apache.orc.OrcProto.ColumnEncoding.Kind.valueOf(rawValue);
- if (value == null) {
- unknownFields.mergeVarintField(1, rawValue);
- } else {
- bitField0_ |= 0x00000001;
- kind_ = value;
- }
- break;
- }
- case 16: {
- bitField0_ |= 0x00000002;
- dictionarySize_ = input.readUInt32();
- break;
- }
- }
- }
- } catch (com.google.protobuf.InvalidProtocolBufferException e) {
- throw e.setUnfinishedMessage(this);
- } catch (java.io.IOException e) {
- throw new com.google.protobuf.InvalidProtocolBufferException(
- e.getMessage()).setUnfinishedMessage(this);
- } finally {
- this.unknownFields = unknownFields.build();
- makeExtensionsImmutable();
- }
- }
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return org.apache.orc.OrcProto.internal_static_orc_proto_ColumnEncoding_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return org.apache.orc.OrcProto.internal_static_orc_proto_ColumnEncoding_fieldAccessorTable
- .ensureFieldAccessorsInitialized(
- org.apache.orc.OrcProto.ColumnEncoding.class, org.apache.orc.OrcProto.ColumnEncoding.Builder.class);
- }
-
- public static com.google.protobuf.ParserDIRECT = 0;
- */
- DIRECT(0, 0),
- /**
- * DICTIONARY = 1;
- */
- DICTIONARY(1, 1),
- /**
- * DIRECT_V2 = 2;
- */
- DIRECT_V2(2, 2),
- /**
- * DICTIONARY_V2 = 3;
- */
- DICTIONARY_V2(3, 3),
- ;
-
- /**
- * DIRECT = 0;
- */
- public static final int DIRECT_VALUE = 0;
- /**
- * DICTIONARY = 1;
- */
- public static final int DICTIONARY_VALUE = 1;
- /**
- * DIRECT_V2 = 2;
- */
- public static final int DIRECT_V2_VALUE = 2;
- /**
- * DICTIONARY_V2 = 3;
- */
- public static final int DICTIONARY_V2_VALUE = 3;
-
-
- public final int getNumber() { return value; }
-
- public static Kind valueOf(int value) {
- switch (value) {
- case 0: return DIRECT;
- case 1: return DICTIONARY;
- case 2: return DIRECT_V2;
- case 3: return DICTIONARY_V2;
- default: return null;
- }
- }
-
- public static com.google.protobuf.Internal.EnumLiteMapoptional .orc.proto.ColumnEncoding.Kind kind = 1;
- */
- public boolean hasKind() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
- /**
- * optional .orc.proto.ColumnEncoding.Kind kind = 1;
- */
- public org.apache.orc.OrcProto.ColumnEncoding.Kind getKind() {
- return kind_;
- }
-
- // optional uint32 dictionarySize = 2;
- public static final int DICTIONARYSIZE_FIELD_NUMBER = 2;
- private int dictionarySize_;
- /**
- * optional uint32 dictionarySize = 2;
- */
- public boolean hasDictionarySize() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
- }
- /**
- * optional uint32 dictionarySize = 2;
- */
- public int getDictionarySize() {
- return dictionarySize_;
- }
-
- private void initFields() {
- kind_ = org.apache.orc.OrcProto.ColumnEncoding.Kind.DIRECT;
- dictionarySize_ = 0;
- }
- private byte memoizedIsInitialized = -1;
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1) return isInitialized == 1;
-
- memoizedIsInitialized = 1;
- return true;
- }
-
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- getSerializedSize();
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- output.writeEnum(1, kind_.getNumber());
- }
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
- output.writeUInt32(2, dictionarySize_);
- }
- getUnknownFields().writeTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public int getSerializedSize() {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- size += com.google.protobuf.CodedOutputStream
- .computeEnumSize(1, kind_.getNumber());
- }
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
- size += com.google.protobuf.CodedOutputStream
- .computeUInt32Size(2, dictionarySize_);
- }
- size += getUnknownFields().getSerializedSize();
- memoizedSerializedSize = size;
- return size;
- }
-
- private static final long serialVersionUID = 0L;
- @java.lang.Override
- protected java.lang.Object writeReplace()
- throws java.io.ObjectStreamException {
- return super.writeReplace();
- }
-
- public static org.apache.orc.OrcProto.ColumnEncoding parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static org.apache.orc.OrcProto.ColumnEncoding parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static org.apache.orc.OrcProto.ColumnEncoding parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static org.apache.orc.OrcProto.ColumnEncoding parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static org.apache.orc.OrcProto.ColumnEncoding parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return PARSER.parseFrom(input);
- }
- public static org.apache.orc.OrcProto.ColumnEncoding parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return PARSER.parseFrom(input, extensionRegistry);
- }
- public static org.apache.orc.OrcProto.ColumnEncoding parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- return PARSER.parseDelimitedFrom(input);
- }
- public static org.apache.orc.OrcProto.ColumnEncoding parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return PARSER.parseDelimitedFrom(input, extensionRegistry);
- }
- public static org.apache.orc.OrcProto.ColumnEncoding parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return PARSER.parseFrom(input);
- }
- public static org.apache.orc.OrcProto.ColumnEncoding parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return PARSER.parseFrom(input, extensionRegistry);
- }
-
- public static Builder newBuilder() { return Builder.create(); }
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder(org.apache.orc.OrcProto.ColumnEncoding prototype) {
- return newBuilder().mergeFrom(prototype);
- }
- public Builder toBuilder() { return newBuilder(this); }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
- /**
- * Protobuf type {@code orc.proto.ColumnEncoding}
- */
- public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builderoptional .orc.proto.ColumnEncoding.Kind kind = 1;
- */
- public boolean hasKind() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
- /**
- * optional .orc.proto.ColumnEncoding.Kind kind = 1;
- */
- public org.apache.orc.OrcProto.ColumnEncoding.Kind getKind() {
- return kind_;
- }
- /**
- * optional .orc.proto.ColumnEncoding.Kind kind = 1;
- */
- public Builder setKind(org.apache.orc.OrcProto.ColumnEncoding.Kind value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000001;
- kind_ = value;
- onChanged();
- return this;
- }
- /**
- * optional .orc.proto.ColumnEncoding.Kind kind = 1;
- */
- public Builder clearKind() {
- bitField0_ = (bitField0_ & ~0x00000001);
- kind_ = org.apache.orc.OrcProto.ColumnEncoding.Kind.DIRECT;
- onChanged();
- return this;
- }
-
- // optional uint32 dictionarySize = 2;
- private int dictionarySize_ ;
- /**
- * optional uint32 dictionarySize = 2;
- */
- public boolean hasDictionarySize() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
- }
- /**
- * optional uint32 dictionarySize = 2;
- */
- public int getDictionarySize() {
- return dictionarySize_;
- }
- /**
- * optional uint32 dictionarySize = 2;
- */
- public Builder setDictionarySize(int value) {
- bitField0_ |= 0x00000002;
- dictionarySize_ = value;
- onChanged();
- return this;
- }
- /**
- * optional uint32 dictionarySize = 2;
- */
- public Builder clearDictionarySize() {
- bitField0_ = (bitField0_ & ~0x00000002);
- dictionarySize_ = 0;
- onChanged();
- return this;
- }
-
- // @@protoc_insertion_point(builder_scope:orc.proto.ColumnEncoding)
- }
-
- static {
- defaultInstance = new ColumnEncoding(true);
- defaultInstance.initFields();
- }
-
- // @@protoc_insertion_point(class_scope:orc.proto.ColumnEncoding)
- }
-
- public interface StripeFooterOrBuilder
- extends com.google.protobuf.MessageOrBuilder {
-
- // repeated .orc.proto.Stream streams = 1;
- /**
- * repeated .orc.proto.Stream streams = 1;
- */
- java.util.Listrepeated .orc.proto.Stream streams = 1;
- */
- org.apache.orc.OrcProto.Stream getStreams(int index);
- /**
- * repeated .orc.proto.Stream streams = 1;
- */
- int getStreamsCount();
- /**
- * repeated .orc.proto.Stream streams = 1;
- */
- java.util.List extends org.apache.orc.OrcProto.StreamOrBuilder>
- getStreamsOrBuilderList();
- /**
- * repeated .orc.proto.Stream streams = 1;
- */
- org.apache.orc.OrcProto.StreamOrBuilder getStreamsOrBuilder(
- int index);
-
- // repeated .orc.proto.ColumnEncoding columns = 2;
- /**
- * repeated .orc.proto.ColumnEncoding columns = 2;
- */
- java.util.Listrepeated .orc.proto.ColumnEncoding columns = 2;
- */
- org.apache.orc.OrcProto.ColumnEncoding getColumns(int index);
- /**
- * repeated .orc.proto.ColumnEncoding columns = 2;
- */
- int getColumnsCount();
- /**
- * repeated .orc.proto.ColumnEncoding columns = 2;
- */
- java.util.List extends org.apache.orc.OrcProto.ColumnEncodingOrBuilder>
- getColumnsOrBuilderList();
- /**
- * repeated .orc.proto.ColumnEncoding columns = 2;
- */
- org.apache.orc.OrcProto.ColumnEncodingOrBuilder getColumnsOrBuilder(
- int index);
-
- // optional string writerTimezone = 3;
- /**
- * optional string writerTimezone = 3;
- */
- boolean hasWriterTimezone();
- /**
- * optional string writerTimezone = 3;
- */
- java.lang.String getWriterTimezone();
- /**
- * optional string writerTimezone = 3;
- */
- com.google.protobuf.ByteString
- getWriterTimezoneBytes();
- }
- /**
- * Protobuf type {@code orc.proto.StripeFooter}
- */
- public static final class StripeFooter extends
- com.google.protobuf.GeneratedMessage
- implements StripeFooterOrBuilder {
- // Use StripeFooter.newBuilder() to construct.
- private StripeFooter(com.google.protobuf.GeneratedMessage.Builder> builder) {
- super(builder);
- this.unknownFields = builder.getUnknownFields();
- }
- private StripeFooter(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
-
- private static final StripeFooter defaultInstance;
- public static StripeFooter getDefaultInstance() {
- return defaultInstance;
- }
-
- public StripeFooter getDefaultInstanceForType() {
- return defaultInstance;
- }
-
- private final com.google.protobuf.UnknownFieldSet unknownFields;
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet
- getUnknownFields() {
- return this.unknownFields;
- }
- private StripeFooter(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- initFields();
- int mutable_bitField0_ = 0;
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder();
- try {
- boolean done = false;
- while (!done) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- done = true;
- break;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- done = true;
- }
- break;
- }
- case 10: {
- if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
- streams_ = new java.util.ArrayListrepeated .orc.proto.Stream streams = 1;
- */
- public java.util.Listrepeated .orc.proto.Stream streams = 1;
- */
- public java.util.List extends org.apache.orc.OrcProto.StreamOrBuilder>
- getStreamsOrBuilderList() {
- return streams_;
- }
- /**
- * repeated .orc.proto.Stream streams = 1;
- */
- public int getStreamsCount() {
- return streams_.size();
- }
- /**
- * repeated .orc.proto.Stream streams = 1;
- */
- public org.apache.orc.OrcProto.Stream getStreams(int index) {
- return streams_.get(index);
- }
- /**
- * repeated .orc.proto.Stream streams = 1;
- */
- public org.apache.orc.OrcProto.StreamOrBuilder getStreamsOrBuilder(
- int index) {
- return streams_.get(index);
- }
-
- // repeated .orc.proto.ColumnEncoding columns = 2;
- public static final int COLUMNS_FIELD_NUMBER = 2;
- private java.util.Listrepeated .orc.proto.ColumnEncoding columns = 2;
- */
- public java.util.Listrepeated .orc.proto.ColumnEncoding columns = 2;
- */
- public java.util.List extends org.apache.orc.OrcProto.ColumnEncodingOrBuilder>
- getColumnsOrBuilderList() {
- return columns_;
- }
- /**
- * repeated .orc.proto.ColumnEncoding columns = 2;
- */
- public int getColumnsCount() {
- return columns_.size();
- }
- /**
- * repeated .orc.proto.ColumnEncoding columns = 2;
- */
- public org.apache.orc.OrcProto.ColumnEncoding getColumns(int index) {
- return columns_.get(index);
- }
- /**
- * repeated .orc.proto.ColumnEncoding columns = 2;
- */
- public org.apache.orc.OrcProto.ColumnEncodingOrBuilder getColumnsOrBuilder(
- int index) {
- return columns_.get(index);
- }
-
- // optional string writerTimezone = 3;
- public static final int WRITERTIMEZONE_FIELD_NUMBER = 3;
- private java.lang.Object writerTimezone_;
- /**
- * optional string writerTimezone = 3;
- */
- public boolean hasWriterTimezone() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
- /**
- * optional string writerTimezone = 3;
- */
- public java.lang.String getWriterTimezone() {
- java.lang.Object ref = writerTimezone_;
- if (ref instanceof java.lang.String) {
- return (java.lang.String) ref;
- } else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- if (bs.isValidUtf8()) {
- writerTimezone_ = s;
- }
- return s;
- }
- }
- /**
- * optional string writerTimezone = 3;
- */
- public com.google.protobuf.ByteString
- getWriterTimezoneBytes() {
- java.lang.Object ref = writerTimezone_;
- if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- writerTimezone_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- private void initFields() {
- streams_ = java.util.Collections.emptyList();
- columns_ = java.util.Collections.emptyList();
- writerTimezone_ = "";
- }
- private byte memoizedIsInitialized = -1;
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1) return isInitialized == 1;
-
- memoizedIsInitialized = 1;
- return true;
- }
-
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- getSerializedSize();
- for (int i = 0; i < streams_.size(); i++) {
- output.writeMessage(1, streams_.get(i));
- }
- for (int i = 0; i < columns_.size(); i++) {
- output.writeMessage(2, columns_.get(i));
- }
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- output.writeBytes(3, getWriterTimezoneBytes());
- }
- getUnknownFields().writeTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public int getSerializedSize() {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- for (int i = 0; i < streams_.size(); i++) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(1, streams_.get(i));
- }
- for (int i = 0; i < columns_.size(); i++) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(2, columns_.get(i));
- }
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- size += com.google.protobuf.CodedOutputStream
- .computeBytesSize(3, getWriterTimezoneBytes());
- }
- size += getUnknownFields().getSerializedSize();
- memoizedSerializedSize = size;
- return size;
- }
-
- private static final long serialVersionUID = 0L;
- @java.lang.Override
- protected java.lang.Object writeReplace()
- throws java.io.ObjectStreamException {
- return super.writeReplace();
- }
-
- public static org.apache.orc.OrcProto.StripeFooter parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static org.apache.orc.OrcProto.StripeFooter parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static org.apache.orc.OrcProto.StripeFooter parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static org.apache.orc.OrcProto.StripeFooter parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static org.apache.orc.OrcProto.StripeFooter parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return PARSER.parseFrom(input);
- }
- public static org.apache.orc.OrcProto.StripeFooter parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return PARSER.parseFrom(input, extensionRegistry);
- }
- public static org.apache.orc.OrcProto.StripeFooter parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- return PARSER.parseDelimitedFrom(input);
- }
- public static org.apache.orc.OrcProto.StripeFooter parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return PARSER.parseDelimitedFrom(input, extensionRegistry);
- }
- public static org.apache.orc.OrcProto.StripeFooter parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return PARSER.parseFrom(input);
- }
- public static org.apache.orc.OrcProto.StripeFooter parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return PARSER.parseFrom(input, extensionRegistry);
- }
-
- public static Builder newBuilder() { return Builder.create(); }
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder(org.apache.orc.OrcProto.StripeFooter prototype) {
- return newBuilder().mergeFrom(prototype);
- }
- public Builder toBuilder() { return newBuilder(this); }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
- /**
- * Protobuf type {@code orc.proto.StripeFooter}
- */
- public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builderrepeated .orc.proto.Stream streams = 1;
- */
- public java.util.Listrepeated .orc.proto.Stream streams = 1;
- */
- public int getStreamsCount() {
- if (streamsBuilder_ == null) {
- return streams_.size();
- } else {
- return streamsBuilder_.getCount();
- }
- }
- /**
- * repeated .orc.proto.Stream streams = 1;
- */
- public org.apache.orc.OrcProto.Stream getStreams(int index) {
- if (streamsBuilder_ == null) {
- return streams_.get(index);
- } else {
- return streamsBuilder_.getMessage(index);
- }
- }
- /**
- * repeated .orc.proto.Stream streams = 1;
- */
- public Builder setStreams(
- int index, org.apache.orc.OrcProto.Stream value) {
- if (streamsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureStreamsIsMutable();
- streams_.set(index, value);
- onChanged();
- } else {
- streamsBuilder_.setMessage(index, value);
- }
- return this;
- }
- /**
- * repeated .orc.proto.Stream streams = 1;
- */
- public Builder setStreams(
- int index, org.apache.orc.OrcProto.Stream.Builder builderForValue) {
- if (streamsBuilder_ == null) {
- ensureStreamsIsMutable();
- streams_.set(index, builderForValue.build());
- onChanged();
- } else {
- streamsBuilder_.setMessage(index, builderForValue.build());
- }
- return this;
- }
- /**
- * repeated .orc.proto.Stream streams = 1;
- */
- public Builder addStreams(org.apache.orc.OrcProto.Stream value) {
- if (streamsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureStreamsIsMutable();
- streams_.add(value);
- onChanged();
- } else {
- streamsBuilder_.addMessage(value);
- }
- return this;
- }
- /**
- * repeated .orc.proto.Stream streams = 1;
- */
- public Builder addStreams(
- int index, org.apache.orc.OrcProto.Stream value) {
- if (streamsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureStreamsIsMutable();
- streams_.add(index, value);
- onChanged();
- } else {
- streamsBuilder_.addMessage(index, value);
- }
- return this;
- }
- /**
- * repeated .orc.proto.Stream streams = 1;
- */
- public Builder addStreams(
- org.apache.orc.OrcProto.Stream.Builder builderForValue) {
- if (streamsBuilder_ == null) {
- ensureStreamsIsMutable();
- streams_.add(builderForValue.build());
- onChanged();
- } else {
- streamsBuilder_.addMessage(builderForValue.build());
- }
- return this;
- }
- /**
- * repeated .orc.proto.Stream streams = 1;
- */
- public Builder addStreams(
- int index, org.apache.orc.OrcProto.Stream.Builder builderForValue) {
- if (streamsBuilder_ == null) {
- ensureStreamsIsMutable();
- streams_.add(index, builderForValue.build());
- onChanged();
- } else {
- streamsBuilder_.addMessage(index, builderForValue.build());
- }
- return this;
- }
- /**
- * repeated .orc.proto.Stream streams = 1;
- */
- public Builder addAllStreams(
- java.lang.Iterable extends org.apache.orc.OrcProto.Stream> values) {
- if (streamsBuilder_ == null) {
- ensureStreamsIsMutable();
- super.addAll(values, streams_);
- onChanged();
- } else {
- streamsBuilder_.addAllMessages(values);
- }
- return this;
- }
- /**
- * repeated .orc.proto.Stream streams = 1;
- */
- public Builder clearStreams() {
- if (streamsBuilder_ == null) {
- streams_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000001);
- onChanged();
- } else {
- streamsBuilder_.clear();
- }
- return this;
- }
- /**
- * repeated .orc.proto.Stream streams = 1;
- */
- public Builder removeStreams(int index) {
- if (streamsBuilder_ == null) {
- ensureStreamsIsMutable();
- streams_.remove(index);
- onChanged();
- } else {
- streamsBuilder_.remove(index);
- }
- return this;
- }
- /**
- * repeated .orc.proto.Stream streams = 1;
- */
- public org.apache.orc.OrcProto.Stream.Builder getStreamsBuilder(
- int index) {
- return getStreamsFieldBuilder().getBuilder(index);
- }
- /**
- * repeated .orc.proto.Stream streams = 1;
- */
- public org.apache.orc.OrcProto.StreamOrBuilder getStreamsOrBuilder(
- int index) {
- if (streamsBuilder_ == null) {
- return streams_.get(index); } else {
- return streamsBuilder_.getMessageOrBuilder(index);
- }
- }
- /**
- * repeated .orc.proto.Stream streams = 1;
- */
- public java.util.List extends org.apache.orc.OrcProto.StreamOrBuilder>
- getStreamsOrBuilderList() {
- if (streamsBuilder_ != null) {
- return streamsBuilder_.getMessageOrBuilderList();
- } else {
- return java.util.Collections.unmodifiableList(streams_);
- }
- }
- /**
- * repeated .orc.proto.Stream streams = 1;
- */
- public org.apache.orc.OrcProto.Stream.Builder addStreamsBuilder() {
- return getStreamsFieldBuilder().addBuilder(
- org.apache.orc.OrcProto.Stream.getDefaultInstance());
- }
- /**
- * repeated .orc.proto.Stream streams = 1;
- */
- public org.apache.orc.OrcProto.Stream.Builder addStreamsBuilder(
- int index) {
- return getStreamsFieldBuilder().addBuilder(
- index, org.apache.orc.OrcProto.Stream.getDefaultInstance());
- }
- /**
- * repeated .orc.proto.Stream streams = 1;
- */
- public java.util.Listrepeated .orc.proto.ColumnEncoding columns = 2;
- */
- public java.util.Listrepeated .orc.proto.ColumnEncoding columns = 2;
- */
- public int getColumnsCount() {
- if (columnsBuilder_ == null) {
- return columns_.size();
- } else {
- return columnsBuilder_.getCount();
- }
- }
- /**
- * repeated .orc.proto.ColumnEncoding columns = 2;
- */
- public org.apache.orc.OrcProto.ColumnEncoding getColumns(int index) {
- if (columnsBuilder_ == null) {
- return columns_.get(index);
- } else {
- return columnsBuilder_.getMessage(index);
- }
- }
- /**
- * repeated .orc.proto.ColumnEncoding columns = 2;
- */
- public Builder setColumns(
- int index, org.apache.orc.OrcProto.ColumnEncoding value) {
- if (columnsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureColumnsIsMutable();
- columns_.set(index, value);
- onChanged();
- } else {
- columnsBuilder_.setMessage(index, value);
- }
- return this;
- }
- /**
- * repeated .orc.proto.ColumnEncoding columns = 2;
- */
- public Builder setColumns(
- int index, org.apache.orc.OrcProto.ColumnEncoding.Builder builderForValue) {
- if (columnsBuilder_ == null) {
- ensureColumnsIsMutable();
- columns_.set(index, builderForValue.build());
- onChanged();
- } else {
- columnsBuilder_.setMessage(index, builderForValue.build());
- }
- return this;
- }
- /**
- * repeated .orc.proto.ColumnEncoding columns = 2;
- */
- public Builder addColumns(org.apache.orc.OrcProto.ColumnEncoding value) {
- if (columnsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureColumnsIsMutable();
- columns_.add(value);
- onChanged();
- } else {
- columnsBuilder_.addMessage(value);
- }
- return this;
- }
- /**
- * repeated .orc.proto.ColumnEncoding columns = 2;
- */
- public Builder addColumns(
- int index, org.apache.orc.OrcProto.ColumnEncoding value) {
- if (columnsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureColumnsIsMutable();
- columns_.add(index, value);
- onChanged();
- } else {
- columnsBuilder_.addMessage(index, value);
- }
- return this;
- }
- /**
- * repeated .orc.proto.ColumnEncoding columns = 2;
- */
- public Builder addColumns(
- org.apache.orc.OrcProto.ColumnEncoding.Builder builderForValue) {
- if (columnsBuilder_ == null) {
- ensureColumnsIsMutable();
- columns_.add(builderForValue.build());
- onChanged();
- } else {
- columnsBuilder_.addMessage(builderForValue.build());
- }
- return this;
- }
- /**
- * repeated .orc.proto.ColumnEncoding columns = 2;
- */
- public Builder addColumns(
- int index, org.apache.orc.OrcProto.ColumnEncoding.Builder builderForValue) {
- if (columnsBuilder_ == null) {
- ensureColumnsIsMutable();
- columns_.add(index, builderForValue.build());
- onChanged();
- } else {
- columnsBuilder_.addMessage(index, builderForValue.build());
- }
- return this;
- }
- /**
- * repeated .orc.proto.ColumnEncoding columns = 2;
- */
- public Builder addAllColumns(
- java.lang.Iterable extends org.apache.orc.OrcProto.ColumnEncoding> values) {
- if (columnsBuilder_ == null) {
- ensureColumnsIsMutable();
- super.addAll(values, columns_);
- onChanged();
- } else {
- columnsBuilder_.addAllMessages(values);
- }
- return this;
- }
- /**
- * repeated .orc.proto.ColumnEncoding columns = 2;
- */
- public Builder clearColumns() {
- if (columnsBuilder_ == null) {
- columns_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000002);
- onChanged();
- } else {
- columnsBuilder_.clear();
- }
- return this;
- }
- /**
- * repeated .orc.proto.ColumnEncoding columns = 2;
- */
- public Builder removeColumns(int index) {
- if (columnsBuilder_ == null) {
- ensureColumnsIsMutable();
- columns_.remove(index);
- onChanged();
- } else {
- columnsBuilder_.remove(index);
- }
- return this;
- }
- /**
- * repeated .orc.proto.ColumnEncoding columns = 2;
- */
- public org.apache.orc.OrcProto.ColumnEncoding.Builder getColumnsBuilder(
- int index) {
- return getColumnsFieldBuilder().getBuilder(index);
- }
- /**
- * repeated .orc.proto.ColumnEncoding columns = 2;
- */
- public org.apache.orc.OrcProto.ColumnEncodingOrBuilder getColumnsOrBuilder(
- int index) {
- if (columnsBuilder_ == null) {
- return columns_.get(index); } else {
- return columnsBuilder_.getMessageOrBuilder(index);
- }
- }
- /**
- * repeated .orc.proto.ColumnEncoding columns = 2;
- */
- public java.util.List extends org.apache.orc.OrcProto.ColumnEncodingOrBuilder>
- getColumnsOrBuilderList() {
- if (columnsBuilder_ != null) {
- return columnsBuilder_.getMessageOrBuilderList();
- } else {
- return java.util.Collections.unmodifiableList(columns_);
- }
- }
- /**
- * repeated .orc.proto.ColumnEncoding columns = 2;
- */
- public org.apache.orc.OrcProto.ColumnEncoding.Builder addColumnsBuilder() {
- return getColumnsFieldBuilder().addBuilder(
- org.apache.orc.OrcProto.ColumnEncoding.getDefaultInstance());
- }
- /**
- * repeated .orc.proto.ColumnEncoding columns = 2;
- */
- public org.apache.orc.OrcProto.ColumnEncoding.Builder addColumnsBuilder(
- int index) {
- return getColumnsFieldBuilder().addBuilder(
- index, org.apache.orc.OrcProto.ColumnEncoding.getDefaultInstance());
- }
- /**
- * repeated .orc.proto.ColumnEncoding columns = 2;
- */
- public java.util.Listoptional string writerTimezone = 3;
- */
- public boolean hasWriterTimezone() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
- }
- /**
- * optional string writerTimezone = 3;
- */
- public java.lang.String getWriterTimezone() {
- java.lang.Object ref = writerTimezone_;
- if (!(ref instanceof java.lang.String)) {
- java.lang.String s = ((com.google.protobuf.ByteString) ref)
- .toStringUtf8();
- writerTimezone_ = s;
- return s;
- } else {
- return (java.lang.String) ref;
- }
- }
- /**
- * optional string writerTimezone = 3;
- */
- public com.google.protobuf.ByteString
- getWriterTimezoneBytes() {
- java.lang.Object ref = writerTimezone_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- writerTimezone_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
- /**
- * optional string writerTimezone = 3;
- */
- public Builder setWriterTimezone(
- java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000004;
- writerTimezone_ = value;
- onChanged();
- return this;
- }
- /**
- * optional string writerTimezone = 3;
- */
- public Builder clearWriterTimezone() {
- bitField0_ = (bitField0_ & ~0x00000004);
- writerTimezone_ = getDefaultInstance().getWriterTimezone();
- onChanged();
- return this;
- }
- /**
- * optional string writerTimezone = 3;
- */
- public Builder setWriterTimezoneBytes(
- com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000004;
- writerTimezone_ = value;
- onChanged();
- return this;
- }
-
- // @@protoc_insertion_point(builder_scope:orc.proto.StripeFooter)
- }
-
- static {
- defaultInstance = new StripeFooter(true);
- defaultInstance.initFields();
- }
-
- // @@protoc_insertion_point(class_scope:orc.proto.StripeFooter)
- }
-
- public interface TypeOrBuilder
- extends com.google.protobuf.MessageOrBuilder {
-
- // optional .orc.proto.Type.Kind kind = 1;
- /**
- * optional .orc.proto.Type.Kind kind = 1;
- */
- boolean hasKind();
- /**
- * optional .orc.proto.Type.Kind kind = 1;
- */
- org.apache.orc.OrcProto.Type.Kind getKind();
-
- // repeated uint32 subtypes = 2 [packed = true];
- /**
- * repeated uint32 subtypes = 2 [packed = true];
- */
- java.util.Listrepeated uint32 subtypes = 2 [packed = true];
- */
- int getSubtypesCount();
- /**
- * repeated uint32 subtypes = 2 [packed = true];
- */
- int getSubtypes(int index);
-
- // repeated string fieldNames = 3;
- /**
- * repeated string fieldNames = 3;
- */
- java.util.Listrepeated string fieldNames = 3;
- */
- int getFieldNamesCount();
- /**
- * repeated string fieldNames = 3;
- */
- java.lang.String getFieldNames(int index);
- /**
- * repeated string fieldNames = 3;
- */
- com.google.protobuf.ByteString
- getFieldNamesBytes(int index);
-
- // optional uint32 maximumLength = 4;
- /**
- * optional uint32 maximumLength = 4;
- */
- boolean hasMaximumLength();
- /**
- * optional uint32 maximumLength = 4;
- */
- int getMaximumLength();
-
- // optional uint32 precision = 5;
- /**
- * optional uint32 precision = 5;
- */
- boolean hasPrecision();
- /**
- * optional uint32 precision = 5;
- */
- int getPrecision();
-
- // optional uint32 scale = 6;
- /**
- * optional uint32 scale = 6;
- */
- boolean hasScale();
- /**
- * optional uint32 scale = 6;
- */
- int getScale();
- }
- /**
- * Protobuf type {@code orc.proto.Type}
- */
- public static final class Type extends
- com.google.protobuf.GeneratedMessage
- implements TypeOrBuilder {
- // Use Type.newBuilder() to construct.
- private Type(com.google.protobuf.GeneratedMessage.Builder> builder) {
- super(builder);
- this.unknownFields = builder.getUnknownFields();
- }
- private Type(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
-
- private static final Type defaultInstance;
- public static Type getDefaultInstance() {
- return defaultInstance;
- }
-
- public Type getDefaultInstanceForType() {
- return defaultInstance;
- }
-
- private final com.google.protobuf.UnknownFieldSet unknownFields;
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet
- getUnknownFields() {
- return this.unknownFields;
- }
- private Type(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- initFields();
- int mutable_bitField0_ = 0;
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder();
- try {
- boolean done = false;
- while (!done) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- done = true;
- break;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- done = true;
- }
- break;
- }
- case 8: {
- int rawValue = input.readEnum();
- org.apache.orc.OrcProto.Type.Kind value = org.apache.orc.OrcProto.Type.Kind.valueOf(rawValue);
- if (value == null) {
- unknownFields.mergeVarintField(1, rawValue);
- } else {
- bitField0_ |= 0x00000001;
- kind_ = value;
- }
- break;
- }
- case 16: {
- if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
- subtypes_ = new java.util.ArrayListBOOLEAN = 0;
- */
- BOOLEAN(0, 0),
- /**
- * BYTE = 1;
- */
- BYTE(1, 1),
- /**
- * SHORT = 2;
- */
- SHORT(2, 2),
- /**
- * INT = 3;
- */
- INT(3, 3),
- /**
- * LONG = 4;
- */
- LONG(4, 4),
- /**
- * FLOAT = 5;
- */
- FLOAT(5, 5),
- /**
- * DOUBLE = 6;
- */
- DOUBLE(6, 6),
- /**
- * STRING = 7;
- */
- STRING(7, 7),
- /**
- * BINARY = 8;
- */
- BINARY(8, 8),
- /**
- * TIMESTAMP = 9;
- */
- TIMESTAMP(9, 9),
- /**
- * LIST = 10;
- */
- LIST(10, 10),
- /**
- * MAP = 11;
- */
- MAP(11, 11),
- /**
- * STRUCT = 12;
- */
- STRUCT(12, 12),
- /**
- * UNION = 13;
- */
- UNION(13, 13),
- /**
- * DECIMAL = 14;
- */
- DECIMAL(14, 14),
- /**
- * DATE = 15;
- */
- DATE(15, 15),
- /**
- * VARCHAR = 16;
- */
- VARCHAR(16, 16),
- /**
- * CHAR = 17;
- */
- CHAR(17, 17),
- ;
-
- /**
- * BOOLEAN = 0;
- */
- public static final int BOOLEAN_VALUE = 0;
- /**
- * BYTE = 1;
- */
- public static final int BYTE_VALUE = 1;
- /**
- * SHORT = 2;
- */
- public static final int SHORT_VALUE = 2;
- /**
- * INT = 3;
- */
- public static final int INT_VALUE = 3;
- /**
- * LONG = 4;
- */
- public static final int LONG_VALUE = 4;
- /**
- * FLOAT = 5;
- */
- public static final int FLOAT_VALUE = 5;
- /**
- * DOUBLE = 6;
- */
- public static final int DOUBLE_VALUE = 6;
- /**
- * STRING = 7;
- */
- public static final int STRING_VALUE = 7;
- /**
- * BINARY = 8;
- */
- public static final int BINARY_VALUE = 8;
- /**
- * TIMESTAMP = 9;
- */
- public static final int TIMESTAMP_VALUE = 9;
- /**
- * LIST = 10;
- */
- public static final int LIST_VALUE = 10;
- /**
- * MAP = 11;
- */
- public static final int MAP_VALUE = 11;
- /**
- * STRUCT = 12;
- */
- public static final int STRUCT_VALUE = 12;
- /**
- * UNION = 13;
- */
- public static final int UNION_VALUE = 13;
- /**
- * DECIMAL = 14;
- */
- public static final int DECIMAL_VALUE = 14;
- /**
- * DATE = 15;
- */
- public static final int DATE_VALUE = 15;
- /**
- * VARCHAR = 16;
- */
- public static final int VARCHAR_VALUE = 16;
- /**
- * CHAR = 17;
- */
- public static final int CHAR_VALUE = 17;
-
-
- public final int getNumber() { return value; }
-
- public static Kind valueOf(int value) {
- switch (value) {
- case 0: return BOOLEAN;
- case 1: return BYTE;
- case 2: return SHORT;
- case 3: return INT;
- case 4: return LONG;
- case 5: return FLOAT;
- case 6: return DOUBLE;
- case 7: return STRING;
- case 8: return BINARY;
- case 9: return TIMESTAMP;
- case 10: return LIST;
- case 11: return MAP;
- case 12: return STRUCT;
- case 13: return UNION;
- case 14: return DECIMAL;
- case 15: return DATE;
- case 16: return VARCHAR;
- case 17: return CHAR;
- default: return null;
- }
- }
-
- public static com.google.protobuf.Internal.EnumLiteMapoptional .orc.proto.Type.Kind kind = 1;
- */
- public boolean hasKind() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
- /**
- * optional .orc.proto.Type.Kind kind = 1;
- */
- public org.apache.orc.OrcProto.Type.Kind getKind() {
- return kind_;
- }
-
- // repeated uint32 subtypes = 2 [packed = true];
- public static final int SUBTYPES_FIELD_NUMBER = 2;
- private java.util.Listrepeated uint32 subtypes = 2 [packed = true];
- */
- public java.util.Listrepeated uint32 subtypes = 2 [packed = true];
- */
- public int getSubtypesCount() {
- return subtypes_.size();
- }
- /**
- * repeated uint32 subtypes = 2 [packed = true];
- */
- public int getSubtypes(int index) {
- return subtypes_.get(index);
- }
- private int subtypesMemoizedSerializedSize = -1;
-
- // repeated string fieldNames = 3;
- public static final int FIELDNAMES_FIELD_NUMBER = 3;
- private com.google.protobuf.LazyStringList fieldNames_;
- /**
- * repeated string fieldNames = 3;
- */
- public java.util.Listrepeated string fieldNames = 3;
- */
- public int getFieldNamesCount() {
- return fieldNames_.size();
- }
- /**
- * repeated string fieldNames = 3;
- */
- public java.lang.String getFieldNames(int index) {
- return fieldNames_.get(index);
- }
- /**
- * repeated string fieldNames = 3;
- */
- public com.google.protobuf.ByteString
- getFieldNamesBytes(int index) {
- return fieldNames_.getByteString(index);
- }
-
- // optional uint32 maximumLength = 4;
- public static final int MAXIMUMLENGTH_FIELD_NUMBER = 4;
- private int maximumLength_;
- /**
- * optional uint32 maximumLength = 4;
- */
- public boolean hasMaximumLength() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
- }
- /**
- * optional uint32 maximumLength = 4;
- */
- public int getMaximumLength() {
- return maximumLength_;
- }
-
- // optional uint32 precision = 5;
- public static final int PRECISION_FIELD_NUMBER = 5;
- private int precision_;
- /**
- * optional uint32 precision = 5;
- */
- public boolean hasPrecision() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
- }
- /**
- * optional uint32 precision = 5;
- */
- public int getPrecision() {
- return precision_;
- }
-
- // optional uint32 scale = 6;
- public static final int SCALE_FIELD_NUMBER = 6;
- private int scale_;
- /**
- * optional uint32 scale = 6;
- */
- public boolean hasScale() {
- return ((bitField0_ & 0x00000008) == 0x00000008);
- }
- /**
- * optional uint32 scale = 6;
- */
- public int getScale() {
- return scale_;
- }
-
- private void initFields() {
- kind_ = org.apache.orc.OrcProto.Type.Kind.BOOLEAN;
- subtypes_ = java.util.Collections.emptyList();
- fieldNames_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- maximumLength_ = 0;
- precision_ = 0;
- scale_ = 0;
- }
- private byte memoizedIsInitialized = -1;
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1) return isInitialized == 1;
-
- memoizedIsInitialized = 1;
- return true;
- }
-
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- getSerializedSize();
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- output.writeEnum(1, kind_.getNumber());
- }
- if (getSubtypesList().size() > 0) {
- output.writeRawVarint32(18);
- output.writeRawVarint32(subtypesMemoizedSerializedSize);
- }
- for (int i = 0; i < subtypes_.size(); i++) {
- output.writeUInt32NoTag(subtypes_.get(i));
- }
- for (int i = 0; i < fieldNames_.size(); i++) {
- output.writeBytes(3, fieldNames_.getByteString(i));
- }
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
- output.writeUInt32(4, maximumLength_);
- }
- if (((bitField0_ & 0x00000004) == 0x00000004)) {
- output.writeUInt32(5, precision_);
- }
- if (((bitField0_ & 0x00000008) == 0x00000008)) {
- output.writeUInt32(6, scale_);
- }
- getUnknownFields().writeTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public int getSerializedSize() {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- size += com.google.protobuf.CodedOutputStream
- .computeEnumSize(1, kind_.getNumber());
- }
- {
- int dataSize = 0;
- for (int i = 0; i < subtypes_.size(); i++) {
- dataSize += com.google.protobuf.CodedOutputStream
- .computeUInt32SizeNoTag(subtypes_.get(i));
- }
- size += dataSize;
- if (!getSubtypesList().isEmpty()) {
- size += 1;
- size += com.google.protobuf.CodedOutputStream
- .computeInt32SizeNoTag(dataSize);
- }
- subtypesMemoizedSerializedSize = dataSize;
- }
- {
- int dataSize = 0;
- for (int i = 0; i < fieldNames_.size(); i++) {
- dataSize += com.google.protobuf.CodedOutputStream
- .computeBytesSizeNoTag(fieldNames_.getByteString(i));
- }
- size += dataSize;
- size += 1 * getFieldNamesList().size();
- }
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
- size += com.google.protobuf.CodedOutputStream
- .computeUInt32Size(4, maximumLength_);
- }
- if (((bitField0_ & 0x00000004) == 0x00000004)) {
- size += com.google.protobuf.CodedOutputStream
- .computeUInt32Size(5, precision_);
- }
- if (((bitField0_ & 0x00000008) == 0x00000008)) {
- size += com.google.protobuf.CodedOutputStream
- .computeUInt32Size(6, scale_);
- }
- size += getUnknownFields().getSerializedSize();
- memoizedSerializedSize = size;
- return size;
- }
-
- private static final long serialVersionUID = 0L;
- @java.lang.Override
- protected java.lang.Object writeReplace()
- throws java.io.ObjectStreamException {
- return super.writeReplace();
- }
-
- public static org.apache.orc.OrcProto.Type parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static org.apache.orc.OrcProto.Type parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static org.apache.orc.OrcProto.Type parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static org.apache.orc.OrcProto.Type parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static org.apache.orc.OrcProto.Type parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return PARSER.parseFrom(input);
- }
- public static org.apache.orc.OrcProto.Type parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return PARSER.parseFrom(input, extensionRegistry);
- }
- public static org.apache.orc.OrcProto.Type parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- return PARSER.parseDelimitedFrom(input);
- }
- public static org.apache.orc.OrcProto.Type parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return PARSER.parseDelimitedFrom(input, extensionRegistry);
- }
- public static org.apache.orc.OrcProto.Type parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return PARSER.parseFrom(input);
- }
- public static org.apache.orc.OrcProto.Type parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return PARSER.parseFrom(input, extensionRegistry);
- }
-
- public static Builder newBuilder() { return Builder.create(); }
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder(org.apache.orc.OrcProto.Type prototype) {
- return newBuilder().mergeFrom(prototype);
- }
- public Builder toBuilder() { return newBuilder(this); }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
- /**
- * Protobuf type {@code orc.proto.Type}
- */
- public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builderoptional .orc.proto.Type.Kind kind = 1;
- */
- public boolean hasKind() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
- /**
- * optional .orc.proto.Type.Kind kind = 1;
- */
- public org.apache.orc.OrcProto.Type.Kind getKind() {
- return kind_;
- }
- /**
- * optional .orc.proto.Type.Kind kind = 1;
- */
- public Builder setKind(org.apache.orc.OrcProto.Type.Kind value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000001;
- kind_ = value;
- onChanged();
- return this;
- }
- /**
- * optional .orc.proto.Type.Kind kind = 1;
- */
- public Builder clearKind() {
- bitField0_ = (bitField0_ & ~0x00000001);
- kind_ = org.apache.orc.OrcProto.Type.Kind.BOOLEAN;
- onChanged();
- return this;
- }
-
- // repeated uint32 subtypes = 2 [packed = true];
- private java.util.Listrepeated uint32 subtypes = 2 [packed = true];
- */
- public java.util.Listrepeated uint32 subtypes = 2 [packed = true];
- */
- public int getSubtypesCount() {
- return subtypes_.size();
- }
- /**
- * repeated uint32 subtypes = 2 [packed = true];
- */
- public int getSubtypes(int index) {
- return subtypes_.get(index);
- }
- /**
- * repeated uint32 subtypes = 2 [packed = true];
- */
- public Builder setSubtypes(
- int index, int value) {
- ensureSubtypesIsMutable();
- subtypes_.set(index, value);
- onChanged();
- return this;
- }
- /**
- * repeated uint32 subtypes = 2 [packed = true];
- */
- public Builder addSubtypes(int value) {
- ensureSubtypesIsMutable();
- subtypes_.add(value);
- onChanged();
- return this;
- }
- /**
- * repeated uint32 subtypes = 2 [packed = true];
- */
- public Builder addAllSubtypes(
- java.lang.Iterable extends java.lang.Integer> values) {
- ensureSubtypesIsMutable();
- super.addAll(values, subtypes_);
- onChanged();
- return this;
- }
- /**
- * repeated uint32 subtypes = 2 [packed = true];
- */
- public Builder clearSubtypes() {
- subtypes_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000002);
- onChanged();
- return this;
- }
-
- // repeated string fieldNames = 3;
- private com.google.protobuf.LazyStringList fieldNames_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- private void ensureFieldNamesIsMutable() {
- if (!((bitField0_ & 0x00000004) == 0x00000004)) {
- fieldNames_ = new com.google.protobuf.LazyStringArrayList(fieldNames_);
- bitField0_ |= 0x00000004;
- }
- }
- /**
- * repeated string fieldNames = 3;
- */
- public java.util.Listrepeated string fieldNames = 3;
- */
- public int getFieldNamesCount() {
- return fieldNames_.size();
- }
- /**
- * repeated string fieldNames = 3;
- */
- public java.lang.String getFieldNames(int index) {
- return fieldNames_.get(index);
- }
- /**
- * repeated string fieldNames = 3;
- */
- public com.google.protobuf.ByteString
- getFieldNamesBytes(int index) {
- return fieldNames_.getByteString(index);
- }
- /**
- * repeated string fieldNames = 3;
- */
- public Builder setFieldNames(
- int index, java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureFieldNamesIsMutable();
- fieldNames_.set(index, value);
- onChanged();
- return this;
- }
- /**
- * repeated string fieldNames = 3;
- */
- public Builder addFieldNames(
- java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureFieldNamesIsMutable();
- fieldNames_.add(value);
- onChanged();
- return this;
- }
- /**
- * repeated string fieldNames = 3;
- */
- public Builder addAllFieldNames(
- java.lang.Iterablerepeated string fieldNames = 3;
- */
- public Builder clearFieldNames() {
- fieldNames_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000004);
- onChanged();
- return this;
- }
- /**
- * repeated string fieldNames = 3;
- */
- public Builder addFieldNamesBytes(
- com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureFieldNamesIsMutable();
- fieldNames_.add(value);
- onChanged();
- return this;
- }
-
- // optional uint32 maximumLength = 4;
- private int maximumLength_ ;
- /**
- * optional uint32 maximumLength = 4;
- */
- public boolean hasMaximumLength() {
- return ((bitField0_ & 0x00000008) == 0x00000008);
- }
- /**
- * optional uint32 maximumLength = 4;
- */
- public int getMaximumLength() {
- return maximumLength_;
- }
- /**
- * optional uint32 maximumLength = 4;
- */
- public Builder setMaximumLength(int value) {
- bitField0_ |= 0x00000008;
- maximumLength_ = value;
- onChanged();
- return this;
- }
- /**
- * optional uint32 maximumLength = 4;
- */
- public Builder clearMaximumLength() {
- bitField0_ = (bitField0_ & ~0x00000008);
- maximumLength_ = 0;
- onChanged();
- return this;
- }
-
- // optional uint32 precision = 5;
- private int precision_ ;
- /**
- * optional uint32 precision = 5;
- */
- public boolean hasPrecision() {
- return ((bitField0_ & 0x00000010) == 0x00000010);
- }
- /**
- * optional uint32 precision = 5;
- */
- public int getPrecision() {
- return precision_;
- }
- /**
- * optional uint32 precision = 5;
- */
- public Builder setPrecision(int value) {
- bitField0_ |= 0x00000010;
- precision_ = value;
- onChanged();
- return this;
- }
- /**
- * optional uint32 precision = 5;
- */
- public Builder clearPrecision() {
- bitField0_ = (bitField0_ & ~0x00000010);
- precision_ = 0;
- onChanged();
- return this;
- }
-
- // optional uint32 scale = 6;
- private int scale_ ;
- /**
- * optional uint32 scale = 6;
- */
- public boolean hasScale() {
- return ((bitField0_ & 0x00000020) == 0x00000020);
- }
- /**
- * optional uint32 scale = 6;
- */
- public int getScale() {
- return scale_;
- }
- /**
- * optional uint32 scale = 6;
- */
- public Builder setScale(int value) {
- bitField0_ |= 0x00000020;
- scale_ = value;
- onChanged();
- return this;
- }
- /**
- * optional uint32 scale = 6;
- */
- public Builder clearScale() {
- bitField0_ = (bitField0_ & ~0x00000020);
- scale_ = 0;
- onChanged();
- return this;
- }
-
- // @@protoc_insertion_point(builder_scope:orc.proto.Type)
- }
-
- static {
- defaultInstance = new Type(true);
- defaultInstance.initFields();
- }
-
- // @@protoc_insertion_point(class_scope:orc.proto.Type)
- }
-
- public interface StripeInformationOrBuilder
- extends com.google.protobuf.MessageOrBuilder {
-
- // optional uint64 offset = 1;
- /**
- * optional uint64 offset = 1;
- */
- boolean hasOffset();
- /**
- * optional uint64 offset = 1;
- */
- long getOffset();
-
- // optional uint64 indexLength = 2;
- /**
- * optional uint64 indexLength = 2;
- */
- boolean hasIndexLength();
- /**
- * optional uint64 indexLength = 2;
- */
- long getIndexLength();
-
- // optional uint64 dataLength = 3;
- /**
- * optional uint64 dataLength = 3;
- */
- boolean hasDataLength();
- /**
- * optional uint64 dataLength = 3;
- */
- long getDataLength();
-
- // optional uint64 footerLength = 4;
- /**
- * optional uint64 footerLength = 4;
- */
- boolean hasFooterLength();
- /**
- * optional uint64 footerLength = 4;
- */
- long getFooterLength();
-
- // optional uint64 numberOfRows = 5;
- /**
- * optional uint64 numberOfRows = 5;
- */
- boolean hasNumberOfRows();
- /**
- * optional uint64 numberOfRows = 5;
- */
- long getNumberOfRows();
- }
- /**
- * Protobuf type {@code orc.proto.StripeInformation}
- */
- public static final class StripeInformation extends
- com.google.protobuf.GeneratedMessage
- implements StripeInformationOrBuilder {
- // Use StripeInformation.newBuilder() to construct.
- private StripeInformation(com.google.protobuf.GeneratedMessage.Builder> builder) {
- super(builder);
- this.unknownFields = builder.getUnknownFields();
- }
- private StripeInformation(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
-
- private static final StripeInformation defaultInstance;
- public static StripeInformation getDefaultInstance() {
- return defaultInstance;
- }
-
- public StripeInformation getDefaultInstanceForType() {
- return defaultInstance;
- }
-
- private final com.google.protobuf.UnknownFieldSet unknownFields;
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet
- getUnknownFields() {
- return this.unknownFields;
- }
- private StripeInformation(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- initFields();
- int mutable_bitField0_ = 0;
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder();
- try {
- boolean done = false;
- while (!done) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- done = true;
- break;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- done = true;
- }
- break;
- }
- case 8: {
- bitField0_ |= 0x00000001;
- offset_ = input.readUInt64();
- break;
- }
- case 16: {
- bitField0_ |= 0x00000002;
- indexLength_ = input.readUInt64();
- break;
- }
- case 24: {
- bitField0_ |= 0x00000004;
- dataLength_ = input.readUInt64();
- break;
- }
- case 32: {
- bitField0_ |= 0x00000008;
- footerLength_ = input.readUInt64();
- break;
- }
- case 40: {
- bitField0_ |= 0x00000010;
- numberOfRows_ = input.readUInt64();
- break;
- }
- }
- }
- } catch (com.google.protobuf.InvalidProtocolBufferException e) {
- throw e.setUnfinishedMessage(this);
- } catch (java.io.IOException e) {
- throw new com.google.protobuf.InvalidProtocolBufferException(
- e.getMessage()).setUnfinishedMessage(this);
- } finally {
- this.unknownFields = unknownFields.build();
- makeExtensionsImmutable();
- }
- }
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return org.apache.orc.OrcProto.internal_static_orc_proto_StripeInformation_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return org.apache.orc.OrcProto.internal_static_orc_proto_StripeInformation_fieldAccessorTable
- .ensureFieldAccessorsInitialized(
- org.apache.orc.OrcProto.StripeInformation.class, org.apache.orc.OrcProto.StripeInformation.Builder.class);
- }
-
- public static com.google.protobuf.Parseroptional uint64 offset = 1;
- */
- public boolean hasOffset() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
- /**
- * optional uint64 offset = 1;
- */
- public long getOffset() {
- return offset_;
- }
-
- // optional uint64 indexLength = 2;
- public static final int INDEXLENGTH_FIELD_NUMBER = 2;
- private long indexLength_;
- /**
- * optional uint64 indexLength = 2;
- */
- public boolean hasIndexLength() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
- }
- /**
- * optional uint64 indexLength = 2;
- */
- public long getIndexLength() {
- return indexLength_;
- }
-
- // optional uint64 dataLength = 3;
- public static final int DATALENGTH_FIELD_NUMBER = 3;
- private long dataLength_;
- /**
- * optional uint64 dataLength = 3;
- */
- public boolean hasDataLength() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
- }
- /**
- * optional uint64 dataLength = 3;
- */
- public long getDataLength() {
- return dataLength_;
- }
-
- // optional uint64 footerLength = 4;
- public static final int FOOTERLENGTH_FIELD_NUMBER = 4;
- private long footerLength_;
- /**
- * optional uint64 footerLength = 4;
- */
- public boolean hasFooterLength() {
- return ((bitField0_ & 0x00000008) == 0x00000008);
- }
- /**
- * optional uint64 footerLength = 4;
- */
- public long getFooterLength() {
- return footerLength_;
- }
-
- // optional uint64 numberOfRows = 5;
- public static final int NUMBEROFROWS_FIELD_NUMBER = 5;
- private long numberOfRows_;
- /**
- * optional uint64 numberOfRows = 5;
- */
- public boolean hasNumberOfRows() {
- return ((bitField0_ & 0x00000010) == 0x00000010);
- }
- /**
- * optional uint64 numberOfRows = 5;
- */
- public long getNumberOfRows() {
- return numberOfRows_;
- }
-
- private void initFields() {
- offset_ = 0L;
- indexLength_ = 0L;
- dataLength_ = 0L;
- footerLength_ = 0L;
- numberOfRows_ = 0L;
- }
- private byte memoizedIsInitialized = -1;
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1) return isInitialized == 1;
-
- memoizedIsInitialized = 1;
- return true;
- }
-
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- getSerializedSize();
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- output.writeUInt64(1, offset_);
- }
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
- output.writeUInt64(2, indexLength_);
- }
- if (((bitField0_ & 0x00000004) == 0x00000004)) {
- output.writeUInt64(3, dataLength_);
- }
- if (((bitField0_ & 0x00000008) == 0x00000008)) {
- output.writeUInt64(4, footerLength_);
- }
- if (((bitField0_ & 0x00000010) == 0x00000010)) {
- output.writeUInt64(5, numberOfRows_);
- }
- getUnknownFields().writeTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public int getSerializedSize() {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- size += com.google.protobuf.CodedOutputStream
- .computeUInt64Size(1, offset_);
- }
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
- size += com.google.protobuf.CodedOutputStream
- .computeUInt64Size(2, indexLength_);
- }
- if (((bitField0_ & 0x00000004) == 0x00000004)) {
- size += com.google.protobuf.CodedOutputStream
- .computeUInt64Size(3, dataLength_);
- }
- if (((bitField0_ & 0x00000008) == 0x00000008)) {
- size += com.google.protobuf.CodedOutputStream
- .computeUInt64Size(4, footerLength_);
- }
- if (((bitField0_ & 0x00000010) == 0x00000010)) {
- size += com.google.protobuf.CodedOutputStream
- .computeUInt64Size(5, numberOfRows_);
- }
- size += getUnknownFields().getSerializedSize();
- memoizedSerializedSize = size;
- return size;
- }
-
- private static final long serialVersionUID = 0L;
- @java.lang.Override
- protected java.lang.Object writeReplace()
- throws java.io.ObjectStreamException {
- return super.writeReplace();
- }
-
- public static org.apache.orc.OrcProto.StripeInformation parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static org.apache.orc.OrcProto.StripeInformation parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static org.apache.orc.OrcProto.StripeInformation parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static org.apache.orc.OrcProto.StripeInformation parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static org.apache.orc.OrcProto.StripeInformation parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return PARSER.parseFrom(input);
- }
- public static org.apache.orc.OrcProto.StripeInformation parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return PARSER.parseFrom(input, extensionRegistry);
- }
- public static org.apache.orc.OrcProto.StripeInformation parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- return PARSER.parseDelimitedFrom(input);
- }
- public static org.apache.orc.OrcProto.StripeInformation parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return PARSER.parseDelimitedFrom(input, extensionRegistry);
- }
- public static org.apache.orc.OrcProto.StripeInformation parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return PARSER.parseFrom(input);
- }
- public static org.apache.orc.OrcProto.StripeInformation parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return PARSER.parseFrom(input, extensionRegistry);
- }
-
- public static Builder newBuilder() { return Builder.create(); }
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder(org.apache.orc.OrcProto.StripeInformation prototype) {
- return newBuilder().mergeFrom(prototype);
- }
- public Builder toBuilder() { return newBuilder(this); }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
- /**
- * Protobuf type {@code orc.proto.StripeInformation}
- */
- public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builderoptional uint64 offset = 1;
- */
- public boolean hasOffset() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
- /**
- * optional uint64 offset = 1;
- */
- public long getOffset() {
- return offset_;
- }
- /**
- * optional uint64 offset = 1;
- */
- public Builder setOffset(long value) {
- bitField0_ |= 0x00000001;
- offset_ = value;
- onChanged();
- return this;
- }
- /**
- * optional uint64 offset = 1;
- */
- public Builder clearOffset() {
- bitField0_ = (bitField0_ & ~0x00000001);
- offset_ = 0L;
- onChanged();
- return this;
- }
-
- // optional uint64 indexLength = 2;
- private long indexLength_ ;
- /**
- * optional uint64 indexLength = 2;
- */
- public boolean hasIndexLength() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
- }
- /**
- * optional uint64 indexLength = 2;
- */
- public long getIndexLength() {
- return indexLength_;
- }
- /**
- * optional uint64 indexLength = 2;
- */
- public Builder setIndexLength(long value) {
- bitField0_ |= 0x00000002;
- indexLength_ = value;
- onChanged();
- return this;
- }
- /**
- * optional uint64 indexLength = 2;
- */
- public Builder clearIndexLength() {
- bitField0_ = (bitField0_ & ~0x00000002);
- indexLength_ = 0L;
- onChanged();
- return this;
- }
-
- // optional uint64 dataLength = 3;
- private long dataLength_ ;
- /**
- * optional uint64 dataLength = 3;
- */
- public boolean hasDataLength() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
- }
- /**
- * optional uint64 dataLength = 3;
- */
- public long getDataLength() {
- return dataLength_;
- }
- /**
- * optional uint64 dataLength = 3;
- */
- public Builder setDataLength(long value) {
- bitField0_ |= 0x00000004;
- dataLength_ = value;
- onChanged();
- return this;
- }
- /**
- * optional uint64 dataLength = 3;
- */
- public Builder clearDataLength() {
- bitField0_ = (bitField0_ & ~0x00000004);
- dataLength_ = 0L;
- onChanged();
- return this;
- }
-
- // optional uint64 footerLength = 4;
- private long footerLength_ ;
- /**
- * optional uint64 footerLength = 4;
- */
- public boolean hasFooterLength() {
- return ((bitField0_ & 0x00000008) == 0x00000008);
- }
- /**
- * optional uint64 footerLength = 4;
- */
- public long getFooterLength() {
- return footerLength_;
- }
- /**
- * optional uint64 footerLength = 4;
- */
- public Builder setFooterLength(long value) {
- bitField0_ |= 0x00000008;
- footerLength_ = value;
- onChanged();
- return this;
- }
- /**
- * optional uint64 footerLength = 4;
- */
- public Builder clearFooterLength() {
- bitField0_ = (bitField0_ & ~0x00000008);
- footerLength_ = 0L;
- onChanged();
- return this;
- }
-
- // optional uint64 numberOfRows = 5;
- private long numberOfRows_ ;
- /**
- * optional uint64 numberOfRows = 5;
- */
- public boolean hasNumberOfRows() {
- return ((bitField0_ & 0x00000010) == 0x00000010);
- }
- /**
- * optional uint64 numberOfRows = 5;
- */
- public long getNumberOfRows() {
- return numberOfRows_;
- }
- /**
- * optional uint64 numberOfRows = 5;
- */
- public Builder setNumberOfRows(long value) {
- bitField0_ |= 0x00000010;
- numberOfRows_ = value;
- onChanged();
- return this;
- }
- /**
- * optional uint64 numberOfRows = 5;
- */
- public Builder clearNumberOfRows() {
- bitField0_ = (bitField0_ & ~0x00000010);
- numberOfRows_ = 0L;
- onChanged();
- return this;
- }
-
- // @@protoc_insertion_point(builder_scope:orc.proto.StripeInformation)
- }
-
- static {
- defaultInstance = new StripeInformation(true);
- defaultInstance.initFields();
- }
-
- // @@protoc_insertion_point(class_scope:orc.proto.StripeInformation)
- }
-
- public interface UserMetadataItemOrBuilder
- extends com.google.protobuf.MessageOrBuilder {
-
- // optional string name = 1;
- /**
- * optional string name = 1;
- */
- boolean hasName();
- /**
- * optional string name = 1;
- */
- java.lang.String getName();
- /**
- * optional string name = 1;
- */
- com.google.protobuf.ByteString
- getNameBytes();
-
- // optional bytes value = 2;
- /**
- * optional bytes value = 2;
- */
- boolean hasValue();
- /**
- * optional bytes value = 2;
- */
- com.google.protobuf.ByteString getValue();
- }
- /**
- * Protobuf type {@code orc.proto.UserMetadataItem}
- */
- public static final class UserMetadataItem extends
- com.google.protobuf.GeneratedMessage
- implements UserMetadataItemOrBuilder {
- // Use UserMetadataItem.newBuilder() to construct.
- private UserMetadataItem(com.google.protobuf.GeneratedMessage.Builder> builder) {
- super(builder);
- this.unknownFields = builder.getUnknownFields();
- }
- private UserMetadataItem(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
-
- private static final UserMetadataItem defaultInstance;
- public static UserMetadataItem getDefaultInstance() {
- return defaultInstance;
- }
-
- public UserMetadataItem getDefaultInstanceForType() {
- return defaultInstance;
- }
-
- private final com.google.protobuf.UnknownFieldSet unknownFields;
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet
- getUnknownFields() {
- return this.unknownFields;
- }
- private UserMetadataItem(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- initFields();
- int mutable_bitField0_ = 0;
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder();
- try {
- boolean done = false;
- while (!done) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- done = true;
- break;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- done = true;
- }
- break;
- }
- case 10: {
- bitField0_ |= 0x00000001;
- name_ = input.readBytes();
- break;
- }
- case 18: {
- bitField0_ |= 0x00000002;
- value_ = input.readBytes();
- break;
- }
- }
- }
- } catch (com.google.protobuf.InvalidProtocolBufferException e) {
- throw e.setUnfinishedMessage(this);
- } catch (java.io.IOException e) {
- throw new com.google.protobuf.InvalidProtocolBufferException(
- e.getMessage()).setUnfinishedMessage(this);
- } finally {
- this.unknownFields = unknownFields.build();
- makeExtensionsImmutable();
- }
- }
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return org.apache.orc.OrcProto.internal_static_orc_proto_UserMetadataItem_descriptor;
- }
-
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return org.apache.orc.OrcProto.internal_static_orc_proto_UserMetadataItem_fieldAccessorTable
- .ensureFieldAccessorsInitialized(
- org.apache.orc.OrcProto.UserMetadataItem.class, org.apache.orc.OrcProto.UserMetadataItem.Builder.class);
- }
-
- public static com.google.protobuf.Parseroptional string name = 1;
- */
- public boolean hasName() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
- /**
- * optional string name = 1;
- */
- public java.lang.String getName() {
- java.lang.Object ref = name_;
- if (ref instanceof java.lang.String) {
- return (java.lang.String) ref;
- } else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- if (bs.isValidUtf8()) {
- name_ = s;
- }
- return s;
- }
- }
- /**
- * optional string name = 1;
- */
- public com.google.protobuf.ByteString
- getNameBytes() {
- java.lang.Object ref = name_;
- if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- name_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- // optional bytes value = 2;
- public static final int VALUE_FIELD_NUMBER = 2;
- private com.google.protobuf.ByteString value_;
- /**
- * optional bytes value = 2;
- */
- public boolean hasValue() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
- }
- /**
- * optional bytes value = 2;
- */
- public com.google.protobuf.ByteString getValue() {
- return value_;
- }
-
- private void initFields() {
- name_ = "";
- value_ = com.google.protobuf.ByteString.EMPTY;
- }
- private byte memoizedIsInitialized = -1;
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1) return isInitialized == 1;
-
- memoizedIsInitialized = 1;
- return true;
- }
-
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- getSerializedSize();
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- output.writeBytes(1, getNameBytes());
- }
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
- output.writeBytes(2, value_);
- }
- getUnknownFields().writeTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public int getSerializedSize() {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- size += com.google.protobuf.CodedOutputStream
- .computeBytesSize(1, getNameBytes());
- }
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
- size += com.google.protobuf.CodedOutputStream
- .computeBytesSize(2, value_);
- }
- size += getUnknownFields().getSerializedSize();
- memoizedSerializedSize = size;
- return size;
- }
-
- private static final long serialVersionUID = 0L;
- @java.lang.Override
- protected java.lang.Object writeReplace()
- throws java.io.ObjectStreamException {
- return super.writeReplace();
- }
-
- public static org.apache.orc.OrcProto.UserMetadataItem parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static org.apache.orc.OrcProto.UserMetadataItem parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static org.apache.orc.OrcProto.UserMetadataItem parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static org.apache.orc.OrcProto.UserMetadataItem parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static org.apache.orc.OrcProto.UserMetadataItem parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return PARSER.parseFrom(input);
- }
- public static org.apache.orc.OrcProto.UserMetadataItem parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return PARSER.parseFrom(input, extensionRegistry);
- }
- public static org.apache.orc.OrcProto.UserMetadataItem parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- return PARSER.parseDelimitedFrom(input);
- }
- public static org.apache.orc.OrcProto.UserMetadataItem parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return PARSER.parseDelimitedFrom(input, extensionRegistry);
- }
- public static org.apache.orc.OrcProto.UserMetadataItem parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return PARSER.parseFrom(input);
- }
- public static org.apache.orc.OrcProto.UserMetadataItem parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return PARSER.parseFrom(input, extensionRegistry);
- }
-
- public static Builder newBuilder() { return Builder.create(); }
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder(org.apache.orc.OrcProto.UserMetadataItem prototype) {
- return newBuilder().mergeFrom(prototype);
- }
- public Builder toBuilder() { return newBuilder(this); }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
- /**
- * Protobuf type {@code orc.proto.UserMetadataItem}
- */
- public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builderoptional string name = 1;
- */
- public boolean hasName() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
- /**
- * optional string name = 1;
- */
- public java.lang.String getName() {
- java.lang.Object ref = name_;
- if (!(ref instanceof java.lang.String)) {
- java.lang.String s = ((com.google.protobuf.ByteString) ref)
- .toStringUtf8();
- name_ = s;
- return s;
- } else {
- return (java.lang.String) ref;
- }
- }
- /**
- * optional string name = 1;
- */
- public com.google.protobuf.ByteString
- getNameBytes() {
- java.lang.Object ref = name_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- name_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
- /**
- * optional string name = 1;
- */
- public Builder setName(
- java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000001;
- name_ = value;
- onChanged();
- return this;
- }
- /**
- * optional string name = 1;
- */
- public Builder clearName() {
- bitField0_ = (bitField0_ & ~0x00000001);
- name_ = getDefaultInstance().getName();
- onChanged();
- return this;
- }
- /**
- * optional string name = 1;
- */
- public Builder setNameBytes(
- com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000001;
- name_ = value;
- onChanged();
- return this;
- }
-
- // optional bytes value = 2;
- private com.google.protobuf.ByteString value_ = com.google.protobuf.ByteString.EMPTY;
- /**
- * optional bytes value = 2;
- */
- public boolean hasValue() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
- }
- /**
- * optional bytes value = 2;
- */
- public com.google.protobuf.ByteString getValue() {
- return value_;
- }
- /**
- * optional bytes value = 2;
- */
- public Builder setValue(com.google.protobuf.ByteString value) {
- if (value == null) {
- throw new NullPointerException();
- }
- bitField0_ |= 0x00000002;
- value_ = value;
- onChanged();
- return this;
- }
- /**
- * optional bytes value = 2;
- */
- public Builder clearValue() {
- bitField0_ = (bitField0_ & ~0x00000002);
- value_ = getDefaultInstance().getValue();
- onChanged();
- return this;
- }
-
- // @@protoc_insertion_point(builder_scope:orc.proto.UserMetadataItem)
- }
-
- static {
- defaultInstance = new UserMetadataItem(true);
- defaultInstance.initFields();
- }
-
- // @@protoc_insertion_point(class_scope:orc.proto.UserMetadataItem)
- }
-
- public interface StripeStatisticsOrBuilder
- extends com.google.protobuf.MessageOrBuilder {
-
- // repeated .orc.proto.ColumnStatistics colStats = 1;
- /**
- * repeated .orc.proto.ColumnStatistics colStats = 1;
- */
- java.util.Listrepeated .orc.proto.ColumnStatistics colStats = 1;
- */
- org.apache.orc.OrcProto.ColumnStatistics getColStats(int index);
- /**
- * repeated .orc.proto.ColumnStatistics colStats = 1;
- */
- int getColStatsCount();
- /**
- * repeated .orc.proto.ColumnStatistics colStats = 1;
- */
- java.util.List extends org.apache.orc.OrcProto.ColumnStatisticsOrBuilder>
- getColStatsOrBuilderList();
- /**
- * repeated .orc.proto.ColumnStatistics colStats = 1;
- */
- org.apache.orc.OrcProto.ColumnStatisticsOrBuilder getColStatsOrBuilder(
- int index);
- }
- /**
- * Protobuf type {@code orc.proto.StripeStatistics}
- */
- public static final class StripeStatistics extends
- com.google.protobuf.GeneratedMessage
- implements StripeStatisticsOrBuilder {
- // Use StripeStatistics.newBuilder() to construct.
- private StripeStatistics(com.google.protobuf.GeneratedMessage.Builder> builder) {
- super(builder);
- this.unknownFields = builder.getUnknownFields();
- }
- private StripeStatistics(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
-
- private static final StripeStatistics defaultInstance;
- public static StripeStatistics getDefaultInstance() {
- return defaultInstance;
- }
-
- public StripeStatistics getDefaultInstanceForType() {
- return defaultInstance;
- }
-
- private final com.google.protobuf.UnknownFieldSet unknownFields;
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet
- getUnknownFields() {
- return this.unknownFields;
- }
- private StripeStatistics(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- initFields();
- int mutable_bitField0_ = 0;
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder();
- try {
- boolean done = false;
- while (!done) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- done = true;
- break;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- done = true;
- }
- break;
- }
- case 10: {
- if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
- colStats_ = new java.util.ArrayListrepeated .orc.proto.ColumnStatistics colStats = 1;
- */
- public java.util.Listrepeated .orc.proto.ColumnStatistics colStats = 1;
- */
- public java.util.List extends org.apache.orc.OrcProto.ColumnStatisticsOrBuilder>
- getColStatsOrBuilderList() {
- return colStats_;
- }
- /**
- * repeated .orc.proto.ColumnStatistics colStats = 1;
- */
- public int getColStatsCount() {
- return colStats_.size();
- }
- /**
- * repeated .orc.proto.ColumnStatistics colStats = 1;
- */
- public org.apache.orc.OrcProto.ColumnStatistics getColStats(int index) {
- return colStats_.get(index);
- }
- /**
- * repeated .orc.proto.ColumnStatistics colStats = 1;
- */
- public org.apache.orc.OrcProto.ColumnStatisticsOrBuilder getColStatsOrBuilder(
- int index) {
- return colStats_.get(index);
- }
-
- private void initFields() {
- colStats_ = java.util.Collections.emptyList();
- }
- private byte memoizedIsInitialized = -1;
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1) return isInitialized == 1;
-
- memoizedIsInitialized = 1;
- return true;
- }
-
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- getSerializedSize();
- for (int i = 0; i < colStats_.size(); i++) {
- output.writeMessage(1, colStats_.get(i));
- }
- getUnknownFields().writeTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public int getSerializedSize() {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- for (int i = 0; i < colStats_.size(); i++) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(1, colStats_.get(i));
- }
- size += getUnknownFields().getSerializedSize();
- memoizedSerializedSize = size;
- return size;
- }
-
- private static final long serialVersionUID = 0L;
- @java.lang.Override
- protected java.lang.Object writeReplace()
- throws java.io.ObjectStreamException {
- return super.writeReplace();
- }
-
- public static org.apache.orc.OrcProto.StripeStatistics parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static org.apache.orc.OrcProto.StripeStatistics parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static org.apache.orc.OrcProto.StripeStatistics parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static org.apache.orc.OrcProto.StripeStatistics parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static org.apache.orc.OrcProto.StripeStatistics parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return PARSER.parseFrom(input);
- }
- public static org.apache.orc.OrcProto.StripeStatistics parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return PARSER.parseFrom(input, extensionRegistry);
- }
- public static org.apache.orc.OrcProto.StripeStatistics parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- return PARSER.parseDelimitedFrom(input);
- }
- public static org.apache.orc.OrcProto.StripeStatistics parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return PARSER.parseDelimitedFrom(input, extensionRegistry);
- }
- public static org.apache.orc.OrcProto.StripeStatistics parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return PARSER.parseFrom(input);
- }
- public static org.apache.orc.OrcProto.StripeStatistics parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return PARSER.parseFrom(input, extensionRegistry);
- }
-
- public static Builder newBuilder() { return Builder.create(); }
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder(org.apache.orc.OrcProto.StripeStatistics prototype) {
- return newBuilder().mergeFrom(prototype);
- }
- public Builder toBuilder() { return newBuilder(this); }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
- /**
- * Protobuf type {@code orc.proto.StripeStatistics}
- */
- public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builderrepeated .orc.proto.ColumnStatistics colStats = 1;
- */
- public java.util.Listrepeated .orc.proto.ColumnStatistics colStats = 1;
- */
- public int getColStatsCount() {
- if (colStatsBuilder_ == null) {
- return colStats_.size();
- } else {
- return colStatsBuilder_.getCount();
- }
- }
- /**
- * repeated .orc.proto.ColumnStatistics colStats = 1;
- */
- public org.apache.orc.OrcProto.ColumnStatistics getColStats(int index) {
- if (colStatsBuilder_ == null) {
- return colStats_.get(index);
- } else {
- return colStatsBuilder_.getMessage(index);
- }
- }
- /**
- * repeated .orc.proto.ColumnStatistics colStats = 1;
- */
- public Builder setColStats(
- int index, org.apache.orc.OrcProto.ColumnStatistics value) {
- if (colStatsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureColStatsIsMutable();
- colStats_.set(index, value);
- onChanged();
- } else {
- colStatsBuilder_.setMessage(index, value);
- }
- return this;
- }
- /**
- * repeated .orc.proto.ColumnStatistics colStats = 1;
- */
- public Builder setColStats(
- int index, org.apache.orc.OrcProto.ColumnStatistics.Builder builderForValue) {
- if (colStatsBuilder_ == null) {
- ensureColStatsIsMutable();
- colStats_.set(index, builderForValue.build());
- onChanged();
- } else {
- colStatsBuilder_.setMessage(index, builderForValue.build());
- }
- return this;
- }
- /**
- * repeated .orc.proto.ColumnStatistics colStats = 1;
- */
- public Builder addColStats(org.apache.orc.OrcProto.ColumnStatistics value) {
- if (colStatsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureColStatsIsMutable();
- colStats_.add(value);
- onChanged();
- } else {
- colStatsBuilder_.addMessage(value);
- }
- return this;
- }
- /**
- * repeated .orc.proto.ColumnStatistics colStats = 1;
- */
- public Builder addColStats(
- int index, org.apache.orc.OrcProto.ColumnStatistics value) {
- if (colStatsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureColStatsIsMutable();
- colStats_.add(index, value);
- onChanged();
- } else {
- colStatsBuilder_.addMessage(index, value);
- }
- return this;
- }
- /**
- * repeated .orc.proto.ColumnStatistics colStats = 1;
- */
- public Builder addColStats(
- org.apache.orc.OrcProto.ColumnStatistics.Builder builderForValue) {
- if (colStatsBuilder_ == null) {
- ensureColStatsIsMutable();
- colStats_.add(builderForValue.build());
- onChanged();
- } else {
- colStatsBuilder_.addMessage(builderForValue.build());
- }
- return this;
- }
- /**
- * repeated .orc.proto.ColumnStatistics colStats = 1;
- */
- public Builder addColStats(
- int index, org.apache.orc.OrcProto.ColumnStatistics.Builder builderForValue) {
- if (colStatsBuilder_ == null) {
- ensureColStatsIsMutable();
- colStats_.add(index, builderForValue.build());
- onChanged();
- } else {
- colStatsBuilder_.addMessage(index, builderForValue.build());
- }
- return this;
- }
- /**
- * repeated .orc.proto.ColumnStatistics colStats = 1;
- */
- public Builder addAllColStats(
- java.lang.Iterable extends org.apache.orc.OrcProto.ColumnStatistics> values) {
- if (colStatsBuilder_ == null) {
- ensureColStatsIsMutable();
- super.addAll(values, colStats_);
- onChanged();
- } else {
- colStatsBuilder_.addAllMessages(values);
- }
- return this;
- }
- /**
- * repeated .orc.proto.ColumnStatistics colStats = 1;
- */
- public Builder clearColStats() {
- if (colStatsBuilder_ == null) {
- colStats_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000001);
- onChanged();
- } else {
- colStatsBuilder_.clear();
- }
- return this;
- }
- /**
- * repeated .orc.proto.ColumnStatistics colStats = 1;
- */
- public Builder removeColStats(int index) {
- if (colStatsBuilder_ == null) {
- ensureColStatsIsMutable();
- colStats_.remove(index);
- onChanged();
- } else {
- colStatsBuilder_.remove(index);
- }
- return this;
- }
- /**
- * repeated .orc.proto.ColumnStatistics colStats = 1;
- */
- public org.apache.orc.OrcProto.ColumnStatistics.Builder getColStatsBuilder(
- int index) {
- return getColStatsFieldBuilder().getBuilder(index);
- }
- /**
- * repeated .orc.proto.ColumnStatistics colStats = 1;
- */
- public org.apache.orc.OrcProto.ColumnStatisticsOrBuilder getColStatsOrBuilder(
- int index) {
- if (colStatsBuilder_ == null) {
- return colStats_.get(index); } else {
- return colStatsBuilder_.getMessageOrBuilder(index);
- }
- }
- /**
- * repeated .orc.proto.ColumnStatistics colStats = 1;
- */
- public java.util.List extends org.apache.orc.OrcProto.ColumnStatisticsOrBuilder>
- getColStatsOrBuilderList() {
- if (colStatsBuilder_ != null) {
- return colStatsBuilder_.getMessageOrBuilderList();
- } else {
- return java.util.Collections.unmodifiableList(colStats_);
- }
- }
- /**
- * repeated .orc.proto.ColumnStatistics colStats = 1;
- */
- public org.apache.orc.OrcProto.ColumnStatistics.Builder addColStatsBuilder() {
- return getColStatsFieldBuilder().addBuilder(
- org.apache.orc.OrcProto.ColumnStatistics.getDefaultInstance());
- }
- /**
- * repeated .orc.proto.ColumnStatistics colStats = 1;
- */
- public org.apache.orc.OrcProto.ColumnStatistics.Builder addColStatsBuilder(
- int index) {
- return getColStatsFieldBuilder().addBuilder(
- index, org.apache.orc.OrcProto.ColumnStatistics.getDefaultInstance());
- }
- /**
- * repeated .orc.proto.ColumnStatistics colStats = 1;
- */
- public java.util.Listrepeated .orc.proto.StripeStatistics stripeStats = 1;
- */
- java.util.Listrepeated .orc.proto.StripeStatistics stripeStats = 1;
- */
- org.apache.orc.OrcProto.StripeStatistics getStripeStats(int index);
- /**
- * repeated .orc.proto.StripeStatistics stripeStats = 1;
- */
- int getStripeStatsCount();
- /**
- * repeated .orc.proto.StripeStatistics stripeStats = 1;
- */
- java.util.List extends org.apache.orc.OrcProto.StripeStatisticsOrBuilder>
- getStripeStatsOrBuilderList();
- /**
- * repeated .orc.proto.StripeStatistics stripeStats = 1;
- */
- org.apache.orc.OrcProto.StripeStatisticsOrBuilder getStripeStatsOrBuilder(
- int index);
- }
- /**
- * Protobuf type {@code orc.proto.Metadata}
- */
- public static final class Metadata extends
- com.google.protobuf.GeneratedMessage
- implements MetadataOrBuilder {
- // Use Metadata.newBuilder() to construct.
- private Metadata(com.google.protobuf.GeneratedMessage.Builder> builder) {
- super(builder);
- this.unknownFields = builder.getUnknownFields();
- }
- private Metadata(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
-
- private static final Metadata defaultInstance;
- public static Metadata getDefaultInstance() {
- return defaultInstance;
- }
-
- public Metadata getDefaultInstanceForType() {
- return defaultInstance;
- }
-
- private final com.google.protobuf.UnknownFieldSet unknownFields;
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet
- getUnknownFields() {
- return this.unknownFields;
- }
- private Metadata(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- initFields();
- int mutable_bitField0_ = 0;
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder();
- try {
- boolean done = false;
- while (!done) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- done = true;
- break;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- done = true;
- }
- break;
- }
- case 10: {
- if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
- stripeStats_ = new java.util.ArrayListrepeated .orc.proto.StripeStatistics stripeStats = 1;
- */
- public java.util.Listrepeated .orc.proto.StripeStatistics stripeStats = 1;
- */
- public java.util.List extends org.apache.orc.OrcProto.StripeStatisticsOrBuilder>
- getStripeStatsOrBuilderList() {
- return stripeStats_;
- }
- /**
- * repeated .orc.proto.StripeStatistics stripeStats = 1;
- */
- public int getStripeStatsCount() {
- return stripeStats_.size();
- }
- /**
- * repeated .orc.proto.StripeStatistics stripeStats = 1;
- */
- public org.apache.orc.OrcProto.StripeStatistics getStripeStats(int index) {
- return stripeStats_.get(index);
- }
- /**
- * repeated .orc.proto.StripeStatistics stripeStats = 1;
- */
- public org.apache.orc.OrcProto.StripeStatisticsOrBuilder getStripeStatsOrBuilder(
- int index) {
- return stripeStats_.get(index);
- }
-
- private void initFields() {
- stripeStats_ = java.util.Collections.emptyList();
- }
- private byte memoizedIsInitialized = -1;
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1) return isInitialized == 1;
-
- memoizedIsInitialized = 1;
- return true;
- }
-
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- getSerializedSize();
- for (int i = 0; i < stripeStats_.size(); i++) {
- output.writeMessage(1, stripeStats_.get(i));
- }
- getUnknownFields().writeTo(output);
- }
-
- private int memoizedSerializedSize = -1;
- public int getSerializedSize() {
- int size = memoizedSerializedSize;
- if (size != -1) return size;
-
- size = 0;
- for (int i = 0; i < stripeStats_.size(); i++) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(1, stripeStats_.get(i));
- }
- size += getUnknownFields().getSerializedSize();
- memoizedSerializedSize = size;
- return size;
- }
-
- private static final long serialVersionUID = 0L;
- @java.lang.Override
- protected java.lang.Object writeReplace()
- throws java.io.ObjectStreamException {
- return super.writeReplace();
- }
-
- public static org.apache.orc.OrcProto.Metadata parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static org.apache.orc.OrcProto.Metadata parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static org.apache.orc.OrcProto.Metadata parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static org.apache.orc.OrcProto.Metadata parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static org.apache.orc.OrcProto.Metadata parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return PARSER.parseFrom(input);
- }
- public static org.apache.orc.OrcProto.Metadata parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return PARSER.parseFrom(input, extensionRegistry);
- }
- public static org.apache.orc.OrcProto.Metadata parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- return PARSER.parseDelimitedFrom(input);
- }
- public static org.apache.orc.OrcProto.Metadata parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return PARSER.parseDelimitedFrom(input, extensionRegistry);
- }
- public static org.apache.orc.OrcProto.Metadata parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return PARSER.parseFrom(input);
- }
- public static org.apache.orc.OrcProto.Metadata parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return PARSER.parseFrom(input, extensionRegistry);
- }
-
- public static Builder newBuilder() { return Builder.create(); }
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder(org.apache.orc.OrcProto.Metadata prototype) {
- return newBuilder().mergeFrom(prototype);
- }
- public Builder toBuilder() { return newBuilder(this); }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
- /**
- * Protobuf type {@code orc.proto.Metadata}
- */
- public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builderrepeated .orc.proto.StripeStatistics stripeStats = 1;
- */
- public java.util.Listrepeated .orc.proto.StripeStatistics stripeStats = 1;
- */
- public int getStripeStatsCount() {
- if (stripeStatsBuilder_ == null) {
- return stripeStats_.size();
- } else {
- return stripeStatsBuilder_.getCount();
- }
- }
- /**
- * repeated .orc.proto.StripeStatistics stripeStats = 1;
- */
- public org.apache.orc.OrcProto.StripeStatistics getStripeStats(int index) {
- if (stripeStatsBuilder_ == null) {
- return stripeStats_.get(index);
- } else {
- return stripeStatsBuilder_.getMessage(index);
- }
- }
- /**
- * repeated .orc.proto.StripeStatistics stripeStats = 1;
- */
- public Builder setStripeStats(
- int index, org.apache.orc.OrcProto.StripeStatistics value) {
- if (stripeStatsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureStripeStatsIsMutable();
- stripeStats_.set(index, value);
- onChanged();
- } else {
- stripeStatsBuilder_.setMessage(index, value);
- }
- return this;
- }
- /**
- * repeated .orc.proto.StripeStatistics stripeStats = 1;
- */
- public Builder setStripeStats(
- int index, org.apache.orc.OrcProto.StripeStatistics.Builder builderForValue) {
- if (stripeStatsBuilder_ == null) {
- ensureStripeStatsIsMutable();
- stripeStats_.set(index, builderForValue.build());
- onChanged();
- } else {
- stripeStatsBuilder_.setMessage(index, builderForValue.build());
- }
- return this;
- }
- /**
- * repeated .orc.proto.StripeStatistics stripeStats = 1;
- */
- public Builder addStripeStats(org.apache.orc.OrcProto.StripeStatistics value) {
- if (stripeStatsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureStripeStatsIsMutable();
- stripeStats_.add(value);
- onChanged();
- } else {
- stripeStatsBuilder_.addMessage(value);
- }
- return this;
- }
- /**
- * repeated .orc.proto.StripeStatistics stripeStats = 1;
- */
- public Builder addStripeStats(
- int index, org.apache.orc.OrcProto.StripeStatistics value) {
- if (stripeStatsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureStripeStatsIsMutable();
- stripeStats_.add(index, value);
- onChanged();
- } else {
- stripeStatsBuilder_.addMessage(index, value);
- }
- return this;
- }
- /**
- * repeated .orc.proto.StripeStatistics stripeStats = 1;
- */
- public Builder addStripeStats(
- org.apache.orc.OrcProto.StripeStatistics.Builder builderForValue) {
- if (stripeStatsBuilder_ == null) {
- ensureStripeStatsIsMutable();
- stripeStats_.add(builderForValue.build());
- onChanged();
- } else {
- stripeStatsBuilder_.addMessage(builderForValue.build());
- }
- return this;
- }
- /**
- * repeated .orc.proto.StripeStatistics stripeStats = 1;
- */
- public Builder addStripeStats(
- int index, org.apache.orc.OrcProto.StripeStatistics.Builder builderForValue) {
- if (stripeStatsBuilder_ == null) {
- ensureStripeStatsIsMutable();
- stripeStats_.add(index, builderForValue.build());
- onChanged();
- } else {
- stripeStatsBuilder_.addMessage(index, builderForValue.build());
- }
- return this;
- }
- /**
- * repeated .orc.proto.StripeStatistics stripeStats = 1;
- */
- public Builder addAllStripeStats(
- java.lang.Iterable extends org.apache.orc.OrcProto.StripeStatistics> values) {
- if (stripeStatsBuilder_ == null) {
- ensureStripeStatsIsMutable();
- super.addAll(values, stripeStats_);
- onChanged();
- } else {
- stripeStatsBuilder_.addAllMessages(values);
- }
- return this;
- }
- /**
- * repeated .orc.proto.StripeStatistics stripeStats = 1;
- */
- public Builder clearStripeStats() {
- if (stripeStatsBuilder_ == null) {
- stripeStats_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000001);
- onChanged();
- } else {
- stripeStatsBuilder_.clear();
- }
- return this;
- }
- /**
- * repeated .orc.proto.StripeStatistics stripeStats = 1;
- */
- public Builder removeStripeStats(int index) {
- if (stripeStatsBuilder_ == null) {
- ensureStripeStatsIsMutable();
- stripeStats_.remove(index);
- onChanged();
- } else {
- stripeStatsBuilder_.remove(index);
- }
- return this;
- }
- /**
- * repeated .orc.proto.StripeStatistics stripeStats = 1;
- */
- public org.apache.orc.OrcProto.StripeStatistics.Builder getStripeStatsBuilder(
- int index) {
- return getStripeStatsFieldBuilder().getBuilder(index);
- }
- /**
- * repeated .orc.proto.StripeStatistics stripeStats = 1;
- */
- public org.apache.orc.OrcProto.StripeStatisticsOrBuilder getStripeStatsOrBuilder(
- int index) {
- if (stripeStatsBuilder_ == null) {
- return stripeStats_.get(index); } else {
- return stripeStatsBuilder_.getMessageOrBuilder(index);
- }
- }
- /**
- * repeated .orc.proto.StripeStatistics stripeStats = 1;
- */
- public java.util.List extends org.apache.orc.OrcProto.StripeStatisticsOrBuilder>
- getStripeStatsOrBuilderList() {
- if (stripeStatsBuilder_ != null) {
- return stripeStatsBuilder_.getMessageOrBuilderList();
- } else {
- return java.util.Collections.unmodifiableList(stripeStats_);
- }
- }
- /**
- * repeated .orc.proto.StripeStatistics stripeStats = 1;
- */
- public org.apache.orc.OrcProto.StripeStatistics.Builder addStripeStatsBuilder() {
- return getStripeStatsFieldBuilder().addBuilder(
- org.apache.orc.OrcProto.StripeStatistics.getDefaultInstance());
- }
- /**
- * repeated .orc.proto.StripeStatistics stripeStats = 1;
- */
- public org.apache.orc.OrcProto.StripeStatistics.Builder addStripeStatsBuilder(
- int index) {
- return getStripeStatsFieldBuilder().addBuilder(
- index, org.apache.orc.OrcProto.StripeStatistics.getDefaultInstance());
- }
- /**
- * repeated .orc.proto.StripeStatistics stripeStats = 1;
- */
- public java.util.Listoptional uint64 headerLength = 1;
- */
- boolean hasHeaderLength();
- /**
- * optional uint64 headerLength = 1;
- */
- long getHeaderLength();
-
- // optional uint64 contentLength = 2;
- /**
- * optional uint64 contentLength = 2;
- */
- boolean hasContentLength();
- /**
- * optional uint64 contentLength = 2;
- */
- long getContentLength();
-
- // repeated .orc.proto.StripeInformation stripes = 3;
- /**
- * repeated .orc.proto.StripeInformation stripes = 3;
- */
- java.util.Listrepeated .orc.proto.StripeInformation stripes = 3;
- */
- org.apache.orc.OrcProto.StripeInformation getStripes(int index);
- /**
- * repeated .orc.proto.StripeInformation stripes = 3;
- */
- int getStripesCount();
- /**
- * repeated .orc.proto.StripeInformation stripes = 3;
- */
- java.util.List extends org.apache.orc.OrcProto.StripeInformationOrBuilder>
- getStripesOrBuilderList();
- /**
- * repeated .orc.proto.StripeInformation stripes = 3;
- */
- org.apache.orc.OrcProto.StripeInformationOrBuilder getStripesOrBuilder(
- int index);
-
- // repeated .orc.proto.Type types = 4;
- /**
- * repeated .orc.proto.Type types = 4;
- */
- java.util.Listrepeated .orc.proto.Type types = 4;
- */
- org.apache.orc.OrcProto.Type getTypes(int index);
- /**
- * repeated .orc.proto.Type types = 4;
- */
- int getTypesCount();
- /**
- * repeated .orc.proto.Type types = 4;
- */
- java.util.List extends org.apache.orc.OrcProto.TypeOrBuilder>
- getTypesOrBuilderList();
- /**
- * repeated .orc.proto.Type types = 4;
- */
- org.apache.orc.OrcProto.TypeOrBuilder getTypesOrBuilder(
- int index);
-
- // repeated .orc.proto.UserMetadataItem metadata = 5;
- /**
- * repeated .orc.proto.UserMetadataItem metadata = 5;
- */
- java.util.Listrepeated .orc.proto.UserMetadataItem metadata = 5;
- */
- org.apache.orc.OrcProto.UserMetadataItem getMetadata(int index);
- /**
- * repeated .orc.proto.UserMetadataItem metadata = 5;
- */
- int getMetadataCount();
- /**
- * repeated .orc.proto.UserMetadataItem metadata = 5;
- */
- java.util.List extends org.apache.orc.OrcProto.UserMetadataItemOrBuilder>
- getMetadataOrBuilderList();
- /**
- * repeated .orc.proto.UserMetadataItem metadata = 5;
- */
- org.apache.orc.OrcProto.UserMetadataItemOrBuilder getMetadataOrBuilder(
- int index);
-
- // optional uint64 numberOfRows = 6;
- /**
- * optional uint64 numberOfRows = 6;
- */
- boolean hasNumberOfRows();
- /**
- * optional uint64 numberOfRows = 6;
- */
- long getNumberOfRows();
-
- // repeated .orc.proto.ColumnStatistics statistics = 7;
- /**
- * repeated .orc.proto.ColumnStatistics statistics = 7;
- */
- java.util.Listrepeated .orc.proto.ColumnStatistics statistics = 7;
- */
- org.apache.orc.OrcProto.ColumnStatistics getStatistics(int index);
- /**
- * repeated .orc.proto.ColumnStatistics statistics = 7;
- */
- int getStatisticsCount();
- /**
- * repeated .orc.proto.ColumnStatistics statistics = 7;
- */
- java.util.List extends org.apache.orc.OrcProto.ColumnStatisticsOrBuilder>
- getStatisticsOrBuilderList();
- /**
- * repeated .orc.proto.ColumnStatistics statistics = 7;
- */
- org.apache.orc.OrcProto.ColumnStatisticsOrBuilder getStatisticsOrBuilder(
- int index);
-
- // optional uint32 rowIndexStride = 8;
- /**
- * optional uint32 rowIndexStride = 8;
- */
- boolean hasRowIndexStride();
- /**
- * optional uint32 rowIndexStride = 8;
- */
- int getRowIndexStride();
- }
- /**
- * Protobuf type {@code orc.proto.Footer}
- */
- public static final class Footer extends
- com.google.protobuf.GeneratedMessage
- implements FooterOrBuilder {
- // Use Footer.newBuilder() to construct.
- private Footer(com.google.protobuf.GeneratedMessage.Builder> builder) {
- super(builder);
- this.unknownFields = builder.getUnknownFields();
- }
- private Footer(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
-
- private static final Footer defaultInstance;
- public static Footer getDefaultInstance() {
- return defaultInstance;
- }
-
- public Footer getDefaultInstanceForType() {
- return defaultInstance;
- }
-
- private final com.google.protobuf.UnknownFieldSet unknownFields;
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet
- getUnknownFields() {
- return this.unknownFields;
- }
- private Footer(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- initFields();
- int mutable_bitField0_ = 0;
- com.google.protobuf.UnknownFieldSet.Builder unknownFields =
- com.google.protobuf.UnknownFieldSet.newBuilder();
- try {
- boolean done = false;
- while (!done) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- done = true;
- break;
- default: {
- if (!parseUnknownField(input, unknownFields,
- extensionRegistry, tag)) {
- done = true;
- }
- break;
- }
- case 8: {
- bitField0_ |= 0x00000001;
- headerLength_ = input.readUInt64();
- break;
- }
- case 16: {
- bitField0_ |= 0x00000002;
- contentLength_ = input.readUInt64();
- break;
- }
- case 26: {
- if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
- stripes_ = new java.util.ArrayList