org.apache.comet.serde.OperatorOuterClass Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: operator.proto
package org.apache.comet.serde;
public final class OperatorOuterClass {
private OperatorOuterClass() {}
public static void registerAllExtensions(
org.apache.comet.shaded.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
org.apache.comet.shaded.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(org.apache.comet.shaded.protobuf.ExtensionRegistryLite) registry);
}
/**
* Protobuf enum {@code spark.spark_operator.AggregateMode}
*/
public enum AggregateMode
implements org.apache.comet.shaded.protobuf.ProtocolMessageEnum {
/**
* Partial = 0;
*/
Partial(0),
/**
* Final = 1;
*/
Final(1),
UNRECOGNIZED(-1),
;
/**
* Partial = 0;
*/
public static final int Partial_VALUE = 0;
/**
* Final = 1;
*/
public static final int Final_VALUE = 1;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static AggregateMode valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static AggregateMode forNumber(int value) {
switch (value) {
case 0: return Partial;
case 1: return Final;
default: return null;
}
}
public static org.apache.comet.shaded.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final org.apache.comet.shaded.protobuf.Internal.EnumLiteMap<
AggregateMode> internalValueMap =
new org.apache.comet.shaded.protobuf.Internal.EnumLiteMap() {
public AggregateMode findValueByNumber(int number) {
return AggregateMode.forNumber(number);
}
};
public final org.apache.comet.shaded.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}
public final org.apache.comet.shaded.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final org.apache.comet.shaded.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return org.apache.comet.serde.OperatorOuterClass.getDescriptor().getEnumTypes().get(0);
}
private static final AggregateMode[] VALUES = values();
public static AggregateMode valueOf(
org.apache.comet.shaded.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private AggregateMode(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:spark.spark_operator.AggregateMode)
}
/**
* Protobuf enum {@code spark.spark_operator.JoinType}
*/
public enum JoinType
implements org.apache.comet.shaded.protobuf.ProtocolMessageEnum {
/**
* Inner = 0;
*/
Inner(0),
/**
* LeftOuter = 1;
*/
LeftOuter(1),
/**
* RightOuter = 2;
*/
RightOuter(2),
/**
* FullOuter = 3;
*/
FullOuter(3),
/**
* LeftSemi = 4;
*/
LeftSemi(4),
/**
* RightSemi = 5;
*/
RightSemi(5),
/**
* LeftAnti = 6;
*/
LeftAnti(6),
/**
* RightAnti = 7;
*/
RightAnti(7),
UNRECOGNIZED(-1),
;
/**
* Inner = 0;
*/
public static final int Inner_VALUE = 0;
/**
* LeftOuter = 1;
*/
public static final int LeftOuter_VALUE = 1;
/**
* RightOuter = 2;
*/
public static final int RightOuter_VALUE = 2;
/**
* FullOuter = 3;
*/
public static final int FullOuter_VALUE = 3;
/**
* LeftSemi = 4;
*/
public static final int LeftSemi_VALUE = 4;
/**
* RightSemi = 5;
*/
public static final int RightSemi_VALUE = 5;
/**
* LeftAnti = 6;
*/
public static final int LeftAnti_VALUE = 6;
/**
* RightAnti = 7;
*/
public static final int RightAnti_VALUE = 7;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static JoinType valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static JoinType forNumber(int value) {
switch (value) {
case 0: return Inner;
case 1: return LeftOuter;
case 2: return RightOuter;
case 3: return FullOuter;
case 4: return LeftSemi;
case 5: return RightSemi;
case 6: return LeftAnti;
case 7: return RightAnti;
default: return null;
}
}
public static org.apache.comet.shaded.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final org.apache.comet.shaded.protobuf.Internal.EnumLiteMap<
JoinType> internalValueMap =
new org.apache.comet.shaded.protobuf.Internal.EnumLiteMap() {
public JoinType findValueByNumber(int number) {
return JoinType.forNumber(number);
}
};
public final org.apache.comet.shaded.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}
public final org.apache.comet.shaded.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final org.apache.comet.shaded.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return org.apache.comet.serde.OperatorOuterClass.getDescriptor().getEnumTypes().get(1);
}
private static final JoinType[] VALUES = values();
public static JoinType valueOf(
org.apache.comet.shaded.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private JoinType(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:spark.spark_operator.JoinType)
}
/**
* Protobuf enum {@code spark.spark_operator.BuildSide}
*/
public enum BuildSide
implements org.apache.comet.shaded.protobuf.ProtocolMessageEnum {
/**
* BuildLeft = 0;
*/
BuildLeft(0),
/**
* BuildRight = 1;
*/
BuildRight(1),
UNRECOGNIZED(-1),
;
/**
* BuildLeft = 0;
*/
public static final int BuildLeft_VALUE = 0;
/**
* BuildRight = 1;
*/
public static final int BuildRight_VALUE = 1;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static BuildSide valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static BuildSide forNumber(int value) {
switch (value) {
case 0: return BuildLeft;
case 1: return BuildRight;
default: return null;
}
}
public static org.apache.comet.shaded.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final org.apache.comet.shaded.protobuf.Internal.EnumLiteMap<
BuildSide> internalValueMap =
new org.apache.comet.shaded.protobuf.Internal.EnumLiteMap() {
public BuildSide findValueByNumber(int number) {
return BuildSide.forNumber(number);
}
};
public final org.apache.comet.shaded.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}
public final org.apache.comet.shaded.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final org.apache.comet.shaded.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return org.apache.comet.serde.OperatorOuterClass.getDescriptor().getEnumTypes().get(2);
}
private static final BuildSide[] VALUES = values();
public static BuildSide valueOf(
org.apache.comet.shaded.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private BuildSide(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:spark.spark_operator.BuildSide)
}
/**
* Protobuf enum {@code spark.spark_operator.WindowFrameType}
*/
public enum WindowFrameType
implements org.apache.comet.shaded.protobuf.ProtocolMessageEnum {
/**
* Rows = 0;
*/
Rows(0),
/**
* Range = 1;
*/
Range(1),
UNRECOGNIZED(-1),
;
/**
* Rows = 0;
*/
public static final int Rows_VALUE = 0;
/**
* Range = 1;
*/
public static final int Range_VALUE = 1;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static WindowFrameType valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static WindowFrameType forNumber(int value) {
switch (value) {
case 0: return Rows;
case 1: return Range;
default: return null;
}
}
public static org.apache.comet.shaded.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final org.apache.comet.shaded.protobuf.Internal.EnumLiteMap<
WindowFrameType> internalValueMap =
new org.apache.comet.shaded.protobuf.Internal.EnumLiteMap() {
public WindowFrameType findValueByNumber(int number) {
return WindowFrameType.forNumber(number);
}
};
public final org.apache.comet.shaded.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}
public final org.apache.comet.shaded.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final org.apache.comet.shaded.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return org.apache.comet.serde.OperatorOuterClass.getDescriptor().getEnumTypes().get(3);
}
private static final WindowFrameType[] VALUES = values();
public static WindowFrameType valueOf(
org.apache.comet.shaded.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private WindowFrameType(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:spark.spark_operator.WindowFrameType)
}
public interface OperatorOrBuilder extends
// @@protoc_insertion_point(interface_extends:spark.spark_operator.Operator)
org.apache.comet.shaded.protobuf.MessageOrBuilder {
/**
*
* The child operators of this
*
*
* repeated .spark.spark_operator.Operator children = 1;
*/
java.util.List
getChildrenList();
/**
*
* The child operators of this
*
*
* repeated .spark.spark_operator.Operator children = 1;
*/
org.apache.comet.serde.OperatorOuterClass.Operator getChildren(int index);
/**
*
* The child operators of this
*
*
* repeated .spark.spark_operator.Operator children = 1;
*/
int getChildrenCount();
/**
*
* The child operators of this
*
*
* repeated .spark.spark_operator.Operator children = 1;
*/
java.util.List extends org.apache.comet.serde.OperatorOuterClass.OperatorOrBuilder>
getChildrenOrBuilderList();
/**
*
* The child operators of this
*
*
* repeated .spark.spark_operator.Operator children = 1;
*/
org.apache.comet.serde.OperatorOuterClass.OperatorOrBuilder getChildrenOrBuilder(
int index);
/**
* .spark.spark_operator.Scan scan = 100;
* @return Whether the scan field is set.
*/
boolean hasScan();
/**
* .spark.spark_operator.Scan scan = 100;
* @return The scan.
*/
org.apache.comet.serde.OperatorOuterClass.Scan getScan();
/**
* .spark.spark_operator.Scan scan = 100;
*/
org.apache.comet.serde.OperatorOuterClass.ScanOrBuilder getScanOrBuilder();
/**
* .spark.spark_operator.Projection projection = 101;
* @return Whether the projection field is set.
*/
boolean hasProjection();
/**
* .spark.spark_operator.Projection projection = 101;
* @return The projection.
*/
org.apache.comet.serde.OperatorOuterClass.Projection getProjection();
/**
* .spark.spark_operator.Projection projection = 101;
*/
org.apache.comet.serde.OperatorOuterClass.ProjectionOrBuilder getProjectionOrBuilder();
/**
* .spark.spark_operator.Filter filter = 102;
* @return Whether the filter field is set.
*/
boolean hasFilter();
/**
* .spark.spark_operator.Filter filter = 102;
* @return The filter.
*/
org.apache.comet.serde.OperatorOuterClass.Filter getFilter();
/**
* .spark.spark_operator.Filter filter = 102;
*/
org.apache.comet.serde.OperatorOuterClass.FilterOrBuilder getFilterOrBuilder();
/**
* .spark.spark_operator.Sort sort = 103;
* @return Whether the sort field is set.
*/
boolean hasSort();
/**
* .spark.spark_operator.Sort sort = 103;
* @return The sort.
*/
org.apache.comet.serde.OperatorOuterClass.Sort getSort();
/**
* .spark.spark_operator.Sort sort = 103;
*/
org.apache.comet.serde.OperatorOuterClass.SortOrBuilder getSortOrBuilder();
/**
* .spark.spark_operator.HashAggregate hash_agg = 104;
* @return Whether the hashAgg field is set.
*/
boolean hasHashAgg();
/**
* .spark.spark_operator.HashAggregate hash_agg = 104;
* @return The hashAgg.
*/
org.apache.comet.serde.OperatorOuterClass.HashAggregate getHashAgg();
/**
* .spark.spark_operator.HashAggregate hash_agg = 104;
*/
org.apache.comet.serde.OperatorOuterClass.HashAggregateOrBuilder getHashAggOrBuilder();
/**
* .spark.spark_operator.Limit limit = 105;
* @return Whether the limit field is set.
*/
boolean hasLimit();
/**
* .spark.spark_operator.Limit limit = 105;
* @return The limit.
*/
org.apache.comet.serde.OperatorOuterClass.Limit getLimit();
/**
* .spark.spark_operator.Limit limit = 105;
*/
org.apache.comet.serde.OperatorOuterClass.LimitOrBuilder getLimitOrBuilder();
/**
* .spark.spark_operator.ShuffleWriter shuffle_writer = 106;
* @return Whether the shuffleWriter field is set.
*/
boolean hasShuffleWriter();
/**
* .spark.spark_operator.ShuffleWriter shuffle_writer = 106;
* @return The shuffleWriter.
*/
org.apache.comet.serde.OperatorOuterClass.ShuffleWriter getShuffleWriter();
/**
* .spark.spark_operator.ShuffleWriter shuffle_writer = 106;
*/
org.apache.comet.serde.OperatorOuterClass.ShuffleWriterOrBuilder getShuffleWriterOrBuilder();
/**
* .spark.spark_operator.Expand expand = 107;
* @return Whether the expand field is set.
*/
boolean hasExpand();
/**
* .spark.spark_operator.Expand expand = 107;
* @return The expand.
*/
org.apache.comet.serde.OperatorOuterClass.Expand getExpand();
/**
* .spark.spark_operator.Expand expand = 107;
*/
org.apache.comet.serde.OperatorOuterClass.ExpandOrBuilder getExpandOrBuilder();
/**
* .spark.spark_operator.SortMergeJoin sort_merge_join = 108;
* @return Whether the sortMergeJoin field is set.
*/
boolean hasSortMergeJoin();
/**
* .spark.spark_operator.SortMergeJoin sort_merge_join = 108;
* @return The sortMergeJoin.
*/
org.apache.comet.serde.OperatorOuterClass.SortMergeJoin getSortMergeJoin();
/**
* .spark.spark_operator.SortMergeJoin sort_merge_join = 108;
*/
org.apache.comet.serde.OperatorOuterClass.SortMergeJoinOrBuilder getSortMergeJoinOrBuilder();
/**
* .spark.spark_operator.HashJoin hash_join = 109;
* @return Whether the hashJoin field is set.
*/
boolean hasHashJoin();
/**
* .spark.spark_operator.HashJoin hash_join = 109;
* @return The hashJoin.
*/
org.apache.comet.serde.OperatorOuterClass.HashJoin getHashJoin();
/**
* .spark.spark_operator.HashJoin hash_join = 109;
*/
org.apache.comet.serde.OperatorOuterClass.HashJoinOrBuilder getHashJoinOrBuilder();
/**
* .spark.spark_operator.Window window = 110;
* @return Whether the window field is set.
*/
boolean hasWindow();
/**
* .spark.spark_operator.Window window = 110;
* @return The window.
*/
org.apache.comet.serde.OperatorOuterClass.Window getWindow();
/**
* .spark.spark_operator.Window window = 110;
*/
org.apache.comet.serde.OperatorOuterClass.WindowOrBuilder getWindowOrBuilder();
public org.apache.comet.serde.OperatorOuterClass.Operator.OpStructCase getOpStructCase();
}
/**
*
* The basic message representing a Spark operator.
*
*
* Protobuf type {@code spark.spark_operator.Operator}
*/
public static final class Operator extends
org.apache.comet.shaded.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:spark.spark_operator.Operator)
OperatorOrBuilder {
private static final long serialVersionUID = 0L;
// Use Operator.newBuilder() to construct.
private Operator(org.apache.comet.shaded.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Operator() {
children_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Operator();
}
@java.lang.Override
public final org.apache.comet.shaded.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final org.apache.comet.shaded.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_Operator_descriptor;
}
@java.lang.Override
protected org.apache.comet.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_Operator_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.comet.serde.OperatorOuterClass.Operator.class, org.apache.comet.serde.OperatorOuterClass.Operator.Builder.class);
}
private int opStructCase_ = 0;
private java.lang.Object opStruct_;
public enum OpStructCase
implements org.apache.comet.shaded.protobuf.Internal.EnumLite,
org.apache.comet.shaded.protobuf.AbstractMessage.InternalOneOfEnum {
SCAN(100),
PROJECTION(101),
FILTER(102),
SORT(103),
HASH_AGG(104),
LIMIT(105),
SHUFFLE_WRITER(106),
EXPAND(107),
SORT_MERGE_JOIN(108),
HASH_JOIN(109),
WINDOW(110),
OPSTRUCT_NOT_SET(0);
private final int value;
private OpStructCase(int value) {
this.value = value;
}
/**
* @param value The number of the enum to look for.
* @return The enum associated with the given number.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static OpStructCase valueOf(int value) {
return forNumber(value);
}
public static OpStructCase forNumber(int value) {
switch (value) {
case 100: return SCAN;
case 101: return PROJECTION;
case 102: return FILTER;
case 103: return SORT;
case 104: return HASH_AGG;
case 105: return LIMIT;
case 106: return SHUFFLE_WRITER;
case 107: return EXPAND;
case 108: return SORT_MERGE_JOIN;
case 109: return HASH_JOIN;
case 110: return WINDOW;
case 0: return OPSTRUCT_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
public OpStructCase
getOpStructCase() {
return OpStructCase.forNumber(
opStructCase_);
}
public static final int CHILDREN_FIELD_NUMBER = 1;
private java.util.List children_;
/**
*
* The child operators of this
*
*
* repeated .spark.spark_operator.Operator children = 1;
*/
@java.lang.Override
public java.util.List getChildrenList() {
return children_;
}
/**
*
* The child operators of this
*
*
* repeated .spark.spark_operator.Operator children = 1;
*/
@java.lang.Override
public java.util.List extends org.apache.comet.serde.OperatorOuterClass.OperatorOrBuilder>
getChildrenOrBuilderList() {
return children_;
}
/**
*
* The child operators of this
*
*
* repeated .spark.spark_operator.Operator children = 1;
*/
@java.lang.Override
public int getChildrenCount() {
return children_.size();
}
/**
*
* The child operators of this
*
*
* repeated .spark.spark_operator.Operator children = 1;
*/
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.Operator getChildren(int index) {
return children_.get(index);
}
/**
*
* The child operators of this
*
*
* repeated .spark.spark_operator.Operator children = 1;
*/
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.OperatorOrBuilder getChildrenOrBuilder(
int index) {
return children_.get(index);
}
public static final int SCAN_FIELD_NUMBER = 100;
/**
* .spark.spark_operator.Scan scan = 100;
* @return Whether the scan field is set.
*/
@java.lang.Override
public boolean hasScan() {
return opStructCase_ == 100;
}
/**
* .spark.spark_operator.Scan scan = 100;
* @return The scan.
*/
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.Scan getScan() {
if (opStructCase_ == 100) {
return (org.apache.comet.serde.OperatorOuterClass.Scan) opStruct_;
}
return org.apache.comet.serde.OperatorOuterClass.Scan.getDefaultInstance();
}
/**
* .spark.spark_operator.Scan scan = 100;
*/
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.ScanOrBuilder getScanOrBuilder() {
if (opStructCase_ == 100) {
return (org.apache.comet.serde.OperatorOuterClass.Scan) opStruct_;
}
return org.apache.comet.serde.OperatorOuterClass.Scan.getDefaultInstance();
}
public static final int PROJECTION_FIELD_NUMBER = 101;
/**
* .spark.spark_operator.Projection projection = 101;
* @return Whether the projection field is set.
*/
@java.lang.Override
public boolean hasProjection() {
return opStructCase_ == 101;
}
/**
* .spark.spark_operator.Projection projection = 101;
* @return The projection.
*/
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.Projection getProjection() {
if (opStructCase_ == 101) {
return (org.apache.comet.serde.OperatorOuterClass.Projection) opStruct_;
}
return org.apache.comet.serde.OperatorOuterClass.Projection.getDefaultInstance();
}
/**
* .spark.spark_operator.Projection projection = 101;
*/
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.ProjectionOrBuilder getProjectionOrBuilder() {
if (opStructCase_ == 101) {
return (org.apache.comet.serde.OperatorOuterClass.Projection) opStruct_;
}
return org.apache.comet.serde.OperatorOuterClass.Projection.getDefaultInstance();
}
public static final int FILTER_FIELD_NUMBER = 102;
/**
* .spark.spark_operator.Filter filter = 102;
* @return Whether the filter field is set.
*/
@java.lang.Override
public boolean hasFilter() {
return opStructCase_ == 102;
}
/**
* .spark.spark_operator.Filter filter = 102;
* @return The filter.
*/
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.Filter getFilter() {
if (opStructCase_ == 102) {
return (org.apache.comet.serde.OperatorOuterClass.Filter) opStruct_;
}
return org.apache.comet.serde.OperatorOuterClass.Filter.getDefaultInstance();
}
/**
* .spark.spark_operator.Filter filter = 102;
*/
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.FilterOrBuilder getFilterOrBuilder() {
if (opStructCase_ == 102) {
return (org.apache.comet.serde.OperatorOuterClass.Filter) opStruct_;
}
return org.apache.comet.serde.OperatorOuterClass.Filter.getDefaultInstance();
}
public static final int SORT_FIELD_NUMBER = 103;
/**
* .spark.spark_operator.Sort sort = 103;
* @return Whether the sort field is set.
*/
@java.lang.Override
public boolean hasSort() {
return opStructCase_ == 103;
}
/**
* .spark.spark_operator.Sort sort = 103;
* @return The sort.
*/
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.Sort getSort() {
if (opStructCase_ == 103) {
return (org.apache.comet.serde.OperatorOuterClass.Sort) opStruct_;
}
return org.apache.comet.serde.OperatorOuterClass.Sort.getDefaultInstance();
}
/**
* .spark.spark_operator.Sort sort = 103;
*/
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.SortOrBuilder getSortOrBuilder() {
if (opStructCase_ == 103) {
return (org.apache.comet.serde.OperatorOuterClass.Sort) opStruct_;
}
return org.apache.comet.serde.OperatorOuterClass.Sort.getDefaultInstance();
}
public static final int HASH_AGG_FIELD_NUMBER = 104;
/**
* .spark.spark_operator.HashAggregate hash_agg = 104;
* @return Whether the hashAgg field is set.
*/
@java.lang.Override
public boolean hasHashAgg() {
return opStructCase_ == 104;
}
/**
* .spark.spark_operator.HashAggregate hash_agg = 104;
* @return The hashAgg.
*/
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.HashAggregate getHashAgg() {
if (opStructCase_ == 104) {
return (org.apache.comet.serde.OperatorOuterClass.HashAggregate) opStruct_;
}
return org.apache.comet.serde.OperatorOuterClass.HashAggregate.getDefaultInstance();
}
/**
* .spark.spark_operator.HashAggregate hash_agg = 104;
*/
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.HashAggregateOrBuilder getHashAggOrBuilder() {
if (opStructCase_ == 104) {
return (org.apache.comet.serde.OperatorOuterClass.HashAggregate) opStruct_;
}
return org.apache.comet.serde.OperatorOuterClass.HashAggregate.getDefaultInstance();
}
public static final int LIMIT_FIELD_NUMBER = 105;
/**
* .spark.spark_operator.Limit limit = 105;
* @return Whether the limit field is set.
*/
@java.lang.Override
public boolean hasLimit() {
return opStructCase_ == 105;
}
/**
* .spark.spark_operator.Limit limit = 105;
* @return The limit.
*/
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.Limit getLimit() {
if (opStructCase_ == 105) {
return (org.apache.comet.serde.OperatorOuterClass.Limit) opStruct_;
}
return org.apache.comet.serde.OperatorOuterClass.Limit.getDefaultInstance();
}
/**
* .spark.spark_operator.Limit limit = 105;
*/
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.LimitOrBuilder getLimitOrBuilder() {
if (opStructCase_ == 105) {
return (org.apache.comet.serde.OperatorOuterClass.Limit) opStruct_;
}
return org.apache.comet.serde.OperatorOuterClass.Limit.getDefaultInstance();
}
public static final int SHUFFLE_WRITER_FIELD_NUMBER = 106;
/**
* .spark.spark_operator.ShuffleWriter shuffle_writer = 106;
* @return Whether the shuffleWriter field is set.
*/
@java.lang.Override
public boolean hasShuffleWriter() {
return opStructCase_ == 106;
}
/**
* .spark.spark_operator.ShuffleWriter shuffle_writer = 106;
* @return The shuffleWriter.
*/
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.ShuffleWriter getShuffleWriter() {
if (opStructCase_ == 106) {
return (org.apache.comet.serde.OperatorOuterClass.ShuffleWriter) opStruct_;
}
return org.apache.comet.serde.OperatorOuterClass.ShuffleWriter.getDefaultInstance();
}
/**
* .spark.spark_operator.ShuffleWriter shuffle_writer = 106;
*/
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.ShuffleWriterOrBuilder getShuffleWriterOrBuilder() {
if (opStructCase_ == 106) {
return (org.apache.comet.serde.OperatorOuterClass.ShuffleWriter) opStruct_;
}
return org.apache.comet.serde.OperatorOuterClass.ShuffleWriter.getDefaultInstance();
}
public static final int EXPAND_FIELD_NUMBER = 107;
/**
* .spark.spark_operator.Expand expand = 107;
* @return Whether the expand field is set.
*/
@java.lang.Override
public boolean hasExpand() {
return opStructCase_ == 107;
}
/**
* .spark.spark_operator.Expand expand = 107;
* @return The expand.
*/
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.Expand getExpand() {
if (opStructCase_ == 107) {
return (org.apache.comet.serde.OperatorOuterClass.Expand) opStruct_;
}
return org.apache.comet.serde.OperatorOuterClass.Expand.getDefaultInstance();
}
/**
* .spark.spark_operator.Expand expand = 107;
*/
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.ExpandOrBuilder getExpandOrBuilder() {
if (opStructCase_ == 107) {
return (org.apache.comet.serde.OperatorOuterClass.Expand) opStruct_;
}
return org.apache.comet.serde.OperatorOuterClass.Expand.getDefaultInstance();
}
public static final int SORT_MERGE_JOIN_FIELD_NUMBER = 108;
/**
* .spark.spark_operator.SortMergeJoin sort_merge_join = 108;
* @return Whether the sortMergeJoin field is set.
*/
@java.lang.Override
public boolean hasSortMergeJoin() {
return opStructCase_ == 108;
}
/**
* .spark.spark_operator.SortMergeJoin sort_merge_join = 108;
* @return The sortMergeJoin.
*/
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.SortMergeJoin getSortMergeJoin() {
if (opStructCase_ == 108) {
return (org.apache.comet.serde.OperatorOuterClass.SortMergeJoin) opStruct_;
}
return org.apache.comet.serde.OperatorOuterClass.SortMergeJoin.getDefaultInstance();
}
/**
* .spark.spark_operator.SortMergeJoin sort_merge_join = 108;
*/
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.SortMergeJoinOrBuilder getSortMergeJoinOrBuilder() {
if (opStructCase_ == 108) {
return (org.apache.comet.serde.OperatorOuterClass.SortMergeJoin) opStruct_;
}
return org.apache.comet.serde.OperatorOuterClass.SortMergeJoin.getDefaultInstance();
}
public static final int HASH_JOIN_FIELD_NUMBER = 109;
/**
* .spark.spark_operator.HashJoin hash_join = 109;
* @return Whether the hashJoin field is set.
*/
@java.lang.Override
public boolean hasHashJoin() {
return opStructCase_ == 109;
}
/**
* .spark.spark_operator.HashJoin hash_join = 109;
* @return The hashJoin.
*/
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.HashJoin getHashJoin() {
if (opStructCase_ == 109) {
return (org.apache.comet.serde.OperatorOuterClass.HashJoin) opStruct_;
}
return org.apache.comet.serde.OperatorOuterClass.HashJoin.getDefaultInstance();
}
/**
* .spark.spark_operator.HashJoin hash_join = 109;
*/
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.HashJoinOrBuilder getHashJoinOrBuilder() {
if (opStructCase_ == 109) {
return (org.apache.comet.serde.OperatorOuterClass.HashJoin) opStruct_;
}
return org.apache.comet.serde.OperatorOuterClass.HashJoin.getDefaultInstance();
}
public static final int WINDOW_FIELD_NUMBER = 110;
/**
* .spark.spark_operator.Window window = 110;
* @return Whether the window field is set.
*/
@java.lang.Override
public boolean hasWindow() {
return opStructCase_ == 110;
}
/**
* .spark.spark_operator.Window window = 110;
* @return The window.
*/
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.Window getWindow() {
if (opStructCase_ == 110) {
return (org.apache.comet.serde.OperatorOuterClass.Window) opStruct_;
}
return org.apache.comet.serde.OperatorOuterClass.Window.getDefaultInstance();
}
/**
* .spark.spark_operator.Window window = 110;
*/
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.WindowOrBuilder getWindowOrBuilder() {
if (opStructCase_ == 110) {
return (org.apache.comet.serde.OperatorOuterClass.Window) opStruct_;
}
return org.apache.comet.serde.OperatorOuterClass.Window.getDefaultInstance();
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(org.apache.comet.shaded.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < children_.size(); i++) {
output.writeMessage(1, children_.get(i));
}
if (opStructCase_ == 100) {
output.writeMessage(100, (org.apache.comet.serde.OperatorOuterClass.Scan) opStruct_);
}
if (opStructCase_ == 101) {
output.writeMessage(101, (org.apache.comet.serde.OperatorOuterClass.Projection) opStruct_);
}
if (opStructCase_ == 102) {
output.writeMessage(102, (org.apache.comet.serde.OperatorOuterClass.Filter) opStruct_);
}
if (opStructCase_ == 103) {
output.writeMessage(103, (org.apache.comet.serde.OperatorOuterClass.Sort) opStruct_);
}
if (opStructCase_ == 104) {
output.writeMessage(104, (org.apache.comet.serde.OperatorOuterClass.HashAggregate) opStruct_);
}
if (opStructCase_ == 105) {
output.writeMessage(105, (org.apache.comet.serde.OperatorOuterClass.Limit) opStruct_);
}
if (opStructCase_ == 106) {
output.writeMessage(106, (org.apache.comet.serde.OperatorOuterClass.ShuffleWriter) opStruct_);
}
if (opStructCase_ == 107) {
output.writeMessage(107, (org.apache.comet.serde.OperatorOuterClass.Expand) opStruct_);
}
if (opStructCase_ == 108) {
output.writeMessage(108, (org.apache.comet.serde.OperatorOuterClass.SortMergeJoin) opStruct_);
}
if (opStructCase_ == 109) {
output.writeMessage(109, (org.apache.comet.serde.OperatorOuterClass.HashJoin) opStruct_);
}
if (opStructCase_ == 110) {
output.writeMessage(110, (org.apache.comet.serde.OperatorOuterClass.Window) opStruct_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < children_.size(); i++) {
size += org.apache.comet.shaded.protobuf.CodedOutputStream
.computeMessageSize(1, children_.get(i));
}
if (opStructCase_ == 100) {
size += org.apache.comet.shaded.protobuf.CodedOutputStream
.computeMessageSize(100, (org.apache.comet.serde.OperatorOuterClass.Scan) opStruct_);
}
if (opStructCase_ == 101) {
size += org.apache.comet.shaded.protobuf.CodedOutputStream
.computeMessageSize(101, (org.apache.comet.serde.OperatorOuterClass.Projection) opStruct_);
}
if (opStructCase_ == 102) {
size += org.apache.comet.shaded.protobuf.CodedOutputStream
.computeMessageSize(102, (org.apache.comet.serde.OperatorOuterClass.Filter) opStruct_);
}
if (opStructCase_ == 103) {
size += org.apache.comet.shaded.protobuf.CodedOutputStream
.computeMessageSize(103, (org.apache.comet.serde.OperatorOuterClass.Sort) opStruct_);
}
if (opStructCase_ == 104) {
size += org.apache.comet.shaded.protobuf.CodedOutputStream
.computeMessageSize(104, (org.apache.comet.serde.OperatorOuterClass.HashAggregate) opStruct_);
}
if (opStructCase_ == 105) {
size += org.apache.comet.shaded.protobuf.CodedOutputStream
.computeMessageSize(105, (org.apache.comet.serde.OperatorOuterClass.Limit) opStruct_);
}
if (opStructCase_ == 106) {
size += org.apache.comet.shaded.protobuf.CodedOutputStream
.computeMessageSize(106, (org.apache.comet.serde.OperatorOuterClass.ShuffleWriter) opStruct_);
}
if (opStructCase_ == 107) {
size += org.apache.comet.shaded.protobuf.CodedOutputStream
.computeMessageSize(107, (org.apache.comet.serde.OperatorOuterClass.Expand) opStruct_);
}
if (opStructCase_ == 108) {
size += org.apache.comet.shaded.protobuf.CodedOutputStream
.computeMessageSize(108, (org.apache.comet.serde.OperatorOuterClass.SortMergeJoin) opStruct_);
}
if (opStructCase_ == 109) {
size += org.apache.comet.shaded.protobuf.CodedOutputStream
.computeMessageSize(109, (org.apache.comet.serde.OperatorOuterClass.HashJoin) opStruct_);
}
if (opStructCase_ == 110) {
size += org.apache.comet.shaded.protobuf.CodedOutputStream
.computeMessageSize(110, (org.apache.comet.serde.OperatorOuterClass.Window) opStruct_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.comet.serde.OperatorOuterClass.Operator)) {
return super.equals(obj);
}
org.apache.comet.serde.OperatorOuterClass.Operator other = (org.apache.comet.serde.OperatorOuterClass.Operator) obj;
if (!getChildrenList()
.equals(other.getChildrenList())) return false;
if (!getOpStructCase().equals(other.getOpStructCase())) return false;
switch (opStructCase_) {
case 100:
if (!getScan()
.equals(other.getScan())) return false;
break;
case 101:
if (!getProjection()
.equals(other.getProjection())) return false;
break;
case 102:
if (!getFilter()
.equals(other.getFilter())) return false;
break;
case 103:
if (!getSort()
.equals(other.getSort())) return false;
break;
case 104:
if (!getHashAgg()
.equals(other.getHashAgg())) return false;
break;
case 105:
if (!getLimit()
.equals(other.getLimit())) return false;
break;
case 106:
if (!getShuffleWriter()
.equals(other.getShuffleWriter())) return false;
break;
case 107:
if (!getExpand()
.equals(other.getExpand())) return false;
break;
case 108:
if (!getSortMergeJoin()
.equals(other.getSortMergeJoin())) return false;
break;
case 109:
if (!getHashJoin()
.equals(other.getHashJoin())) return false;
break;
case 110:
if (!getWindow()
.equals(other.getWindow())) return false;
break;
case 0:
default:
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getChildrenCount() > 0) {
hash = (37 * hash) + CHILDREN_FIELD_NUMBER;
hash = (53 * hash) + getChildrenList().hashCode();
}
switch (opStructCase_) {
case 100:
hash = (37 * hash) + SCAN_FIELD_NUMBER;
hash = (53 * hash) + getScan().hashCode();
break;
case 101:
hash = (37 * hash) + PROJECTION_FIELD_NUMBER;
hash = (53 * hash) + getProjection().hashCode();
break;
case 102:
hash = (37 * hash) + FILTER_FIELD_NUMBER;
hash = (53 * hash) + getFilter().hashCode();
break;
case 103:
hash = (37 * hash) + SORT_FIELD_NUMBER;
hash = (53 * hash) + getSort().hashCode();
break;
case 104:
hash = (37 * hash) + HASH_AGG_FIELD_NUMBER;
hash = (53 * hash) + getHashAgg().hashCode();
break;
case 105:
hash = (37 * hash) + LIMIT_FIELD_NUMBER;
hash = (53 * hash) + getLimit().hashCode();
break;
case 106:
hash = (37 * hash) + SHUFFLE_WRITER_FIELD_NUMBER;
hash = (53 * hash) + getShuffleWriter().hashCode();
break;
case 107:
hash = (37 * hash) + EXPAND_FIELD_NUMBER;
hash = (53 * hash) + getExpand().hashCode();
break;
case 108:
hash = (37 * hash) + SORT_MERGE_JOIN_FIELD_NUMBER;
hash = (53 * hash) + getSortMergeJoin().hashCode();
break;
case 109:
hash = (37 * hash) + HASH_JOIN_FIELD_NUMBER;
hash = (53 * hash) + getHashJoin().hashCode();
break;
case 110:
hash = (37 * hash) + WINDOW_FIELD_NUMBER;
hash = (53 * hash) + getWindow().hashCode();
break;
case 0:
default:
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.comet.serde.OperatorOuterClass.Operator parseFrom(
java.nio.ByteBuffer data)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.comet.serde.OperatorOuterClass.Operator parseFrom(
java.nio.ByteBuffer data,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.Operator parseFrom(
org.apache.comet.shaded.protobuf.ByteString data)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.comet.serde.OperatorOuterClass.Operator parseFrom(
org.apache.comet.shaded.protobuf.ByteString data,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.Operator parseFrom(byte[] data)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.comet.serde.OperatorOuterClass.Operator parseFrom(
byte[] data,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.Operator parseFrom(java.io.InputStream input)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.comet.serde.OperatorOuterClass.Operator parseFrom(
java.io.InputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.Operator parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.comet.serde.OperatorOuterClass.Operator parseDelimitedFrom(
java.io.InputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.Operator parseFrom(
org.apache.comet.shaded.protobuf.CodedInputStream input)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.comet.serde.OperatorOuterClass.Operator parseFrom(
org.apache.comet.shaded.protobuf.CodedInputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.comet.serde.OperatorOuterClass.Operator prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
org.apache.comet.shaded.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* The basic message representing a Spark operator.
*
*
* Protobuf type {@code spark.spark_operator.Operator}
*/
public static final class Builder extends
org.apache.comet.shaded.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:spark.spark_operator.Operator)
org.apache.comet.serde.OperatorOuterClass.OperatorOrBuilder {
public static final org.apache.comet.shaded.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_Operator_descriptor;
}
@java.lang.Override
protected org.apache.comet.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_Operator_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.comet.serde.OperatorOuterClass.Operator.class, org.apache.comet.serde.OperatorOuterClass.Operator.Builder.class);
}
// Construct using org.apache.comet.serde.OperatorOuterClass.Operator.newBuilder()
private Builder() {
}
private Builder(
org.apache.comet.shaded.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
if (childrenBuilder_ == null) {
children_ = java.util.Collections.emptyList();
} else {
children_ = null;
childrenBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
if (scanBuilder_ != null) {
scanBuilder_.clear();
}
if (projectionBuilder_ != null) {
projectionBuilder_.clear();
}
if (filterBuilder_ != null) {
filterBuilder_.clear();
}
if (sortBuilder_ != null) {
sortBuilder_.clear();
}
if (hashAggBuilder_ != null) {
hashAggBuilder_.clear();
}
if (limitBuilder_ != null) {
limitBuilder_.clear();
}
if (shuffleWriterBuilder_ != null) {
shuffleWriterBuilder_.clear();
}
if (expandBuilder_ != null) {
expandBuilder_.clear();
}
if (sortMergeJoinBuilder_ != null) {
sortMergeJoinBuilder_.clear();
}
if (hashJoinBuilder_ != null) {
hashJoinBuilder_.clear();
}
if (windowBuilder_ != null) {
windowBuilder_.clear();
}
opStructCase_ = 0;
opStruct_ = null;
return this;
}
@java.lang.Override
public org.apache.comet.shaded.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_Operator_descriptor;
}
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.Operator getDefaultInstanceForType() {
return org.apache.comet.serde.OperatorOuterClass.Operator.getDefaultInstance();
}
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.Operator build() {
org.apache.comet.serde.OperatorOuterClass.Operator result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.Operator buildPartial() {
org.apache.comet.serde.OperatorOuterClass.Operator result = new org.apache.comet.serde.OperatorOuterClass.Operator(this);
int from_bitField0_ = bitField0_;
if (childrenBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
children_ = java.util.Collections.unmodifiableList(children_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.children_ = children_;
} else {
result.children_ = childrenBuilder_.build();
}
if (opStructCase_ == 100) {
if (scanBuilder_ == null) {
result.opStruct_ = opStruct_;
} else {
result.opStruct_ = scanBuilder_.build();
}
}
if (opStructCase_ == 101) {
if (projectionBuilder_ == null) {
result.opStruct_ = opStruct_;
} else {
result.opStruct_ = projectionBuilder_.build();
}
}
if (opStructCase_ == 102) {
if (filterBuilder_ == null) {
result.opStruct_ = opStruct_;
} else {
result.opStruct_ = filterBuilder_.build();
}
}
if (opStructCase_ == 103) {
if (sortBuilder_ == null) {
result.opStruct_ = opStruct_;
} else {
result.opStruct_ = sortBuilder_.build();
}
}
if (opStructCase_ == 104) {
if (hashAggBuilder_ == null) {
result.opStruct_ = opStruct_;
} else {
result.opStruct_ = hashAggBuilder_.build();
}
}
if (opStructCase_ == 105) {
if (limitBuilder_ == null) {
result.opStruct_ = opStruct_;
} else {
result.opStruct_ = limitBuilder_.build();
}
}
if (opStructCase_ == 106) {
if (shuffleWriterBuilder_ == null) {
result.opStruct_ = opStruct_;
} else {
result.opStruct_ = shuffleWriterBuilder_.build();
}
}
if (opStructCase_ == 107) {
if (expandBuilder_ == null) {
result.opStruct_ = opStruct_;
} else {
result.opStruct_ = expandBuilder_.build();
}
}
if (opStructCase_ == 108) {
if (sortMergeJoinBuilder_ == null) {
result.opStruct_ = opStruct_;
} else {
result.opStruct_ = sortMergeJoinBuilder_.build();
}
}
if (opStructCase_ == 109) {
if (hashJoinBuilder_ == null) {
result.opStruct_ = opStruct_;
} else {
result.opStruct_ = hashJoinBuilder_.build();
}
}
if (opStructCase_ == 110) {
if (windowBuilder_ == null) {
result.opStruct_ = opStruct_;
} else {
result.opStruct_ = windowBuilder_.build();
}
}
result.opStructCase_ = opStructCase_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
org.apache.comet.shaded.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
org.apache.comet.shaded.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
org.apache.comet.shaded.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
org.apache.comet.shaded.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
org.apache.comet.shaded.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(org.apache.comet.shaded.protobuf.Message other) {
if (other instanceof org.apache.comet.serde.OperatorOuterClass.Operator) {
return mergeFrom((org.apache.comet.serde.OperatorOuterClass.Operator)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.comet.serde.OperatorOuterClass.Operator other) {
if (other == org.apache.comet.serde.OperatorOuterClass.Operator.getDefaultInstance()) return this;
if (childrenBuilder_ == null) {
if (!other.children_.isEmpty()) {
if (children_.isEmpty()) {
children_ = other.children_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureChildrenIsMutable();
children_.addAll(other.children_);
}
onChanged();
}
} else {
if (!other.children_.isEmpty()) {
if (childrenBuilder_.isEmpty()) {
childrenBuilder_.dispose();
childrenBuilder_ = null;
children_ = other.children_;
bitField0_ = (bitField0_ & ~0x00000001);
childrenBuilder_ =
org.apache.comet.shaded.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getChildrenFieldBuilder() : null;
} else {
childrenBuilder_.addAllMessages(other.children_);
}
}
}
switch (other.getOpStructCase()) {
case SCAN: {
mergeScan(other.getScan());
break;
}
case PROJECTION: {
mergeProjection(other.getProjection());
break;
}
case FILTER: {
mergeFilter(other.getFilter());
break;
}
case SORT: {
mergeSort(other.getSort());
break;
}
case HASH_AGG: {
mergeHashAgg(other.getHashAgg());
break;
}
case LIMIT: {
mergeLimit(other.getLimit());
break;
}
case SHUFFLE_WRITER: {
mergeShuffleWriter(other.getShuffleWriter());
break;
}
case EXPAND: {
mergeExpand(other.getExpand());
break;
}
case SORT_MERGE_JOIN: {
mergeSortMergeJoin(other.getSortMergeJoin());
break;
}
case HASH_JOIN: {
mergeHashJoin(other.getHashJoin());
break;
}
case WINDOW: {
mergeWindow(other.getWindow());
break;
}
case OPSTRUCT_NOT_SET: {
break;
}
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
org.apache.comet.shaded.protobuf.CodedInputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
org.apache.comet.serde.OperatorOuterClass.Operator m =
input.readMessage(
org.apache.comet.serde.OperatorOuterClass.Operator.parser(),
extensionRegistry);
if (childrenBuilder_ == null) {
ensureChildrenIsMutable();
children_.add(m);
} else {
childrenBuilder_.addMessage(m);
}
break;
} // case 10
case 802: {
input.readMessage(
getScanFieldBuilder().getBuilder(),
extensionRegistry);
opStructCase_ = 100;
break;
} // case 802
case 810: {
input.readMessage(
getProjectionFieldBuilder().getBuilder(),
extensionRegistry);
opStructCase_ = 101;
break;
} // case 810
case 818: {
input.readMessage(
getFilterFieldBuilder().getBuilder(),
extensionRegistry);
opStructCase_ = 102;
break;
} // case 818
case 826: {
input.readMessage(
getSortFieldBuilder().getBuilder(),
extensionRegistry);
opStructCase_ = 103;
break;
} // case 826
case 834: {
input.readMessage(
getHashAggFieldBuilder().getBuilder(),
extensionRegistry);
opStructCase_ = 104;
break;
} // case 834
case 842: {
input.readMessage(
getLimitFieldBuilder().getBuilder(),
extensionRegistry);
opStructCase_ = 105;
break;
} // case 842
case 850: {
input.readMessage(
getShuffleWriterFieldBuilder().getBuilder(),
extensionRegistry);
opStructCase_ = 106;
break;
} // case 850
case 858: {
input.readMessage(
getExpandFieldBuilder().getBuilder(),
extensionRegistry);
opStructCase_ = 107;
break;
} // case 858
case 866: {
input.readMessage(
getSortMergeJoinFieldBuilder().getBuilder(),
extensionRegistry);
opStructCase_ = 108;
break;
} // case 866
case 874: {
input.readMessage(
getHashJoinFieldBuilder().getBuilder(),
extensionRegistry);
opStructCase_ = 109;
break;
} // case 874
case 882: {
input.readMessage(
getWindowFieldBuilder().getBuilder(),
extensionRegistry);
opStructCase_ = 110;
break;
} // case 882
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (org.apache.comet.shaded.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int opStructCase_ = 0;
private java.lang.Object opStruct_;
public OpStructCase
getOpStructCase() {
return OpStructCase.forNumber(
opStructCase_);
}
public Builder clearOpStruct() {
opStructCase_ = 0;
opStruct_ = null;
onChanged();
return this;
}
private int bitField0_;
private java.util.List children_ =
java.util.Collections.emptyList();
private void ensureChildrenIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
children_ = new java.util.ArrayList(children_);
bitField0_ |= 0x00000001;
}
}
private org.apache.comet.shaded.protobuf.RepeatedFieldBuilderV3<
org.apache.comet.serde.OperatorOuterClass.Operator, org.apache.comet.serde.OperatorOuterClass.Operator.Builder, org.apache.comet.serde.OperatorOuterClass.OperatorOrBuilder> childrenBuilder_;
/**
*
* The child operators of this
*
*
* repeated .spark.spark_operator.Operator children = 1;
*/
public java.util.List getChildrenList() {
if (childrenBuilder_ == null) {
return java.util.Collections.unmodifiableList(children_);
} else {
return childrenBuilder_.getMessageList();
}
}
/**
*
* The child operators of this
*
*
* repeated .spark.spark_operator.Operator children = 1;
*/
public int getChildrenCount() {
if (childrenBuilder_ == null) {
return children_.size();
} else {
return childrenBuilder_.getCount();
}
}
/**
*
* The child operators of this
*
*
* repeated .spark.spark_operator.Operator children = 1;
*/
public org.apache.comet.serde.OperatorOuterClass.Operator getChildren(int index) {
if (childrenBuilder_ == null) {
return children_.get(index);
} else {
return childrenBuilder_.getMessage(index);
}
}
/**
*
* The child operators of this
*
*
* repeated .spark.spark_operator.Operator children = 1;
*/
public Builder setChildren(
int index, org.apache.comet.serde.OperatorOuterClass.Operator value) {
if (childrenBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureChildrenIsMutable();
children_.set(index, value);
onChanged();
} else {
childrenBuilder_.setMessage(index, value);
}
return this;
}
/**
*
* The child operators of this
*
*
* repeated .spark.spark_operator.Operator children = 1;
*/
public Builder setChildren(
int index, org.apache.comet.serde.OperatorOuterClass.Operator.Builder builderForValue) {
if (childrenBuilder_ == null) {
ensureChildrenIsMutable();
children_.set(index, builderForValue.build());
onChanged();
} else {
childrenBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
* The child operators of this
*
*
* repeated .spark.spark_operator.Operator children = 1;
*/
public Builder addChildren(org.apache.comet.serde.OperatorOuterClass.Operator value) {
if (childrenBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureChildrenIsMutable();
children_.add(value);
onChanged();
} else {
childrenBuilder_.addMessage(value);
}
return this;
}
/**
*
* The child operators of this
*
*
* repeated .spark.spark_operator.Operator children = 1;
*/
public Builder addChildren(
int index, org.apache.comet.serde.OperatorOuterClass.Operator value) {
if (childrenBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureChildrenIsMutable();
children_.add(index, value);
onChanged();
} else {
childrenBuilder_.addMessage(index, value);
}
return this;
}
/**
*
* The child operators of this
*
*
* repeated .spark.spark_operator.Operator children = 1;
*/
public Builder addChildren(
org.apache.comet.serde.OperatorOuterClass.Operator.Builder builderForValue) {
if (childrenBuilder_ == null) {
ensureChildrenIsMutable();
children_.add(builderForValue.build());
onChanged();
} else {
childrenBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
* The child operators of this
*
*
* repeated .spark.spark_operator.Operator children = 1;
*/
public Builder addChildren(
int index, org.apache.comet.serde.OperatorOuterClass.Operator.Builder builderForValue) {
if (childrenBuilder_ == null) {
ensureChildrenIsMutable();
children_.add(index, builderForValue.build());
onChanged();
} else {
childrenBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
* The child operators of this
*
*
* repeated .spark.spark_operator.Operator children = 1;
*/
public Builder addAllChildren(
java.lang.Iterable extends org.apache.comet.serde.OperatorOuterClass.Operator> values) {
if (childrenBuilder_ == null) {
ensureChildrenIsMutable();
org.apache.comet.shaded.protobuf.AbstractMessageLite.Builder.addAll(
values, children_);
onChanged();
} else {
childrenBuilder_.addAllMessages(values);
}
return this;
}
/**
*
* The child operators of this
*
*
* repeated .spark.spark_operator.Operator children = 1;
*/
public Builder clearChildren() {
if (childrenBuilder_ == null) {
children_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
childrenBuilder_.clear();
}
return this;
}
/**
*
* The child operators of this
*
*
* repeated .spark.spark_operator.Operator children = 1;
*/
public Builder removeChildren(int index) {
if (childrenBuilder_ == null) {
ensureChildrenIsMutable();
children_.remove(index);
onChanged();
} else {
childrenBuilder_.remove(index);
}
return this;
}
/**
*
* The child operators of this
*
*
* repeated .spark.spark_operator.Operator children = 1;
*/
public org.apache.comet.serde.OperatorOuterClass.Operator.Builder getChildrenBuilder(
int index) {
return getChildrenFieldBuilder().getBuilder(index);
}
/**
*
* The child operators of this
*
*
* repeated .spark.spark_operator.Operator children = 1;
*/
public org.apache.comet.serde.OperatorOuterClass.OperatorOrBuilder getChildrenOrBuilder(
int index) {
if (childrenBuilder_ == null) {
return children_.get(index); } else {
return childrenBuilder_.getMessageOrBuilder(index);
}
}
/**
*
* The child operators of this
*
*
* repeated .spark.spark_operator.Operator children = 1;
*/
public java.util.List extends org.apache.comet.serde.OperatorOuterClass.OperatorOrBuilder>
getChildrenOrBuilderList() {
if (childrenBuilder_ != null) {
return childrenBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(children_);
}
}
/**
*
* The child operators of this
*
*
* repeated .spark.spark_operator.Operator children = 1;
*/
public org.apache.comet.serde.OperatorOuterClass.Operator.Builder addChildrenBuilder() {
return getChildrenFieldBuilder().addBuilder(
org.apache.comet.serde.OperatorOuterClass.Operator.getDefaultInstance());
}
/**
*
* The child operators of this
*
*
* repeated .spark.spark_operator.Operator children = 1;
*/
public org.apache.comet.serde.OperatorOuterClass.Operator.Builder addChildrenBuilder(
int index) {
return getChildrenFieldBuilder().addBuilder(
index, org.apache.comet.serde.OperatorOuterClass.Operator.getDefaultInstance());
}
/**
*
* The child operators of this
*
*
* repeated .spark.spark_operator.Operator children = 1;
*/
public java.util.List
getChildrenBuilderList() {
return getChildrenFieldBuilder().getBuilderList();
}
private org.apache.comet.shaded.protobuf.RepeatedFieldBuilderV3<
org.apache.comet.serde.OperatorOuterClass.Operator, org.apache.comet.serde.OperatorOuterClass.Operator.Builder, org.apache.comet.serde.OperatorOuterClass.OperatorOrBuilder>
getChildrenFieldBuilder() {
if (childrenBuilder_ == null) {
childrenBuilder_ = new org.apache.comet.shaded.protobuf.RepeatedFieldBuilderV3<
org.apache.comet.serde.OperatorOuterClass.Operator, org.apache.comet.serde.OperatorOuterClass.Operator.Builder, org.apache.comet.serde.OperatorOuterClass.OperatorOrBuilder>(
children_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
children_ = null;
}
return childrenBuilder_;
}
private org.apache.comet.shaded.protobuf.SingleFieldBuilderV3<
org.apache.comet.serde.OperatorOuterClass.Scan, org.apache.comet.serde.OperatorOuterClass.Scan.Builder, org.apache.comet.serde.OperatorOuterClass.ScanOrBuilder> scanBuilder_;
/**
* .spark.spark_operator.Scan scan = 100;
* @return Whether the scan field is set.
*/
@java.lang.Override
public boolean hasScan() {
return opStructCase_ == 100;
}
/**
* .spark.spark_operator.Scan scan = 100;
* @return The scan.
*/
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.Scan getScan() {
if (scanBuilder_ == null) {
if (opStructCase_ == 100) {
return (org.apache.comet.serde.OperatorOuterClass.Scan) opStruct_;
}
return org.apache.comet.serde.OperatorOuterClass.Scan.getDefaultInstance();
} else {
if (opStructCase_ == 100) {
return scanBuilder_.getMessage();
}
return org.apache.comet.serde.OperatorOuterClass.Scan.getDefaultInstance();
}
}
/**
* .spark.spark_operator.Scan scan = 100;
*/
public Builder setScan(org.apache.comet.serde.OperatorOuterClass.Scan value) {
if (scanBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
opStruct_ = value;
onChanged();
} else {
scanBuilder_.setMessage(value);
}
opStructCase_ = 100;
return this;
}
/**
* .spark.spark_operator.Scan scan = 100;
*/
public Builder setScan(
org.apache.comet.serde.OperatorOuterClass.Scan.Builder builderForValue) {
if (scanBuilder_ == null) {
opStruct_ = builderForValue.build();
onChanged();
} else {
scanBuilder_.setMessage(builderForValue.build());
}
opStructCase_ = 100;
return this;
}
/**
* .spark.spark_operator.Scan scan = 100;
*/
public Builder mergeScan(org.apache.comet.serde.OperatorOuterClass.Scan value) {
if (scanBuilder_ == null) {
if (opStructCase_ == 100 &&
opStruct_ != org.apache.comet.serde.OperatorOuterClass.Scan.getDefaultInstance()) {
opStruct_ = org.apache.comet.serde.OperatorOuterClass.Scan.newBuilder((org.apache.comet.serde.OperatorOuterClass.Scan) opStruct_)
.mergeFrom(value).buildPartial();
} else {
opStruct_ = value;
}
onChanged();
} else {
if (opStructCase_ == 100) {
scanBuilder_.mergeFrom(value);
}
scanBuilder_.setMessage(value);
}
opStructCase_ = 100;
return this;
}
/**
* .spark.spark_operator.Scan scan = 100;
*/
public Builder clearScan() {
if (scanBuilder_ == null) {
if (opStructCase_ == 100) {
opStructCase_ = 0;
opStruct_ = null;
onChanged();
}
} else {
if (opStructCase_ == 100) {
opStructCase_ = 0;
opStruct_ = null;
}
scanBuilder_.clear();
}
return this;
}
/**
* .spark.spark_operator.Scan scan = 100;
*/
public org.apache.comet.serde.OperatorOuterClass.Scan.Builder getScanBuilder() {
return getScanFieldBuilder().getBuilder();
}
/**
* .spark.spark_operator.Scan scan = 100;
*/
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.ScanOrBuilder getScanOrBuilder() {
if ((opStructCase_ == 100) && (scanBuilder_ != null)) {
return scanBuilder_.getMessageOrBuilder();
} else {
if (opStructCase_ == 100) {
return (org.apache.comet.serde.OperatorOuterClass.Scan) opStruct_;
}
return org.apache.comet.serde.OperatorOuterClass.Scan.getDefaultInstance();
}
}
/**
* .spark.spark_operator.Scan scan = 100;
*/
private org.apache.comet.shaded.protobuf.SingleFieldBuilderV3<
org.apache.comet.serde.OperatorOuterClass.Scan, org.apache.comet.serde.OperatorOuterClass.Scan.Builder, org.apache.comet.serde.OperatorOuterClass.ScanOrBuilder>
getScanFieldBuilder() {
if (scanBuilder_ == null) {
if (!(opStructCase_ == 100)) {
opStruct_ = org.apache.comet.serde.OperatorOuterClass.Scan.getDefaultInstance();
}
scanBuilder_ = new org.apache.comet.shaded.protobuf.SingleFieldBuilderV3<
org.apache.comet.serde.OperatorOuterClass.Scan, org.apache.comet.serde.OperatorOuterClass.Scan.Builder, org.apache.comet.serde.OperatorOuterClass.ScanOrBuilder>(
(org.apache.comet.serde.OperatorOuterClass.Scan) opStruct_,
getParentForChildren(),
isClean());
opStruct_ = null;
}
opStructCase_ = 100;
onChanged();;
return scanBuilder_;
}
private org.apache.comet.shaded.protobuf.SingleFieldBuilderV3<
org.apache.comet.serde.OperatorOuterClass.Projection, org.apache.comet.serde.OperatorOuterClass.Projection.Builder, org.apache.comet.serde.OperatorOuterClass.ProjectionOrBuilder> projectionBuilder_;
/**
* .spark.spark_operator.Projection projection = 101;
* @return Whether the projection field is set.
*/
@java.lang.Override
public boolean hasProjection() {
return opStructCase_ == 101;
}
/**
* .spark.spark_operator.Projection projection = 101;
* @return The projection.
*/
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.Projection getProjection() {
if (projectionBuilder_ == null) {
if (opStructCase_ == 101) {
return (org.apache.comet.serde.OperatorOuterClass.Projection) opStruct_;
}
return org.apache.comet.serde.OperatorOuterClass.Projection.getDefaultInstance();
} else {
if (opStructCase_ == 101) {
return projectionBuilder_.getMessage();
}
return org.apache.comet.serde.OperatorOuterClass.Projection.getDefaultInstance();
}
}
/**
* .spark.spark_operator.Projection projection = 101;
*/
public Builder setProjection(org.apache.comet.serde.OperatorOuterClass.Projection value) {
if (projectionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
opStruct_ = value;
onChanged();
} else {
projectionBuilder_.setMessage(value);
}
opStructCase_ = 101;
return this;
}
/**
* .spark.spark_operator.Projection projection = 101;
*/
public Builder setProjection(
org.apache.comet.serde.OperatorOuterClass.Projection.Builder builderForValue) {
if (projectionBuilder_ == null) {
opStruct_ = builderForValue.build();
onChanged();
} else {
projectionBuilder_.setMessage(builderForValue.build());
}
opStructCase_ = 101;
return this;
}
/**
* .spark.spark_operator.Projection projection = 101;
*/
public Builder mergeProjection(org.apache.comet.serde.OperatorOuterClass.Projection value) {
if (projectionBuilder_ == null) {
if (opStructCase_ == 101 &&
opStruct_ != org.apache.comet.serde.OperatorOuterClass.Projection.getDefaultInstance()) {
opStruct_ = org.apache.comet.serde.OperatorOuterClass.Projection.newBuilder((org.apache.comet.serde.OperatorOuterClass.Projection) opStruct_)
.mergeFrom(value).buildPartial();
} else {
opStruct_ = value;
}
onChanged();
} else {
if (opStructCase_ == 101) {
projectionBuilder_.mergeFrom(value);
}
projectionBuilder_.setMessage(value);
}
opStructCase_ = 101;
return this;
}
/**
* .spark.spark_operator.Projection projection = 101;
*/
public Builder clearProjection() {
if (projectionBuilder_ == null) {
if (opStructCase_ == 101) {
opStructCase_ = 0;
opStruct_ = null;
onChanged();
}
} else {
if (opStructCase_ == 101) {
opStructCase_ = 0;
opStruct_ = null;
}
projectionBuilder_.clear();
}
return this;
}
/**
* .spark.spark_operator.Projection projection = 101;
*/
public org.apache.comet.serde.OperatorOuterClass.Projection.Builder getProjectionBuilder() {
return getProjectionFieldBuilder().getBuilder();
}
/**
* .spark.spark_operator.Projection projection = 101;
*/
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.ProjectionOrBuilder getProjectionOrBuilder() {
if ((opStructCase_ == 101) && (projectionBuilder_ != null)) {
return projectionBuilder_.getMessageOrBuilder();
} else {
if (opStructCase_ == 101) {
return (org.apache.comet.serde.OperatorOuterClass.Projection) opStruct_;
}
return org.apache.comet.serde.OperatorOuterClass.Projection.getDefaultInstance();
}
}
/**
* .spark.spark_operator.Projection projection = 101;
*/
private org.apache.comet.shaded.protobuf.SingleFieldBuilderV3<
org.apache.comet.serde.OperatorOuterClass.Projection, org.apache.comet.serde.OperatorOuterClass.Projection.Builder, org.apache.comet.serde.OperatorOuterClass.ProjectionOrBuilder>
getProjectionFieldBuilder() {
if (projectionBuilder_ == null) {
if (!(opStructCase_ == 101)) {
opStruct_ = org.apache.comet.serde.OperatorOuterClass.Projection.getDefaultInstance();
}
projectionBuilder_ = new org.apache.comet.shaded.protobuf.SingleFieldBuilderV3<
org.apache.comet.serde.OperatorOuterClass.Projection, org.apache.comet.serde.OperatorOuterClass.Projection.Builder, org.apache.comet.serde.OperatorOuterClass.ProjectionOrBuilder>(
(org.apache.comet.serde.OperatorOuterClass.Projection) opStruct_,
getParentForChildren(),
isClean());
opStruct_ = null;
}
opStructCase_ = 101;
onChanged();;
return projectionBuilder_;
}
private org.apache.comet.shaded.protobuf.SingleFieldBuilderV3<
org.apache.comet.serde.OperatorOuterClass.Filter, org.apache.comet.serde.OperatorOuterClass.Filter.Builder, org.apache.comet.serde.OperatorOuterClass.FilterOrBuilder> filterBuilder_;
/**
* .spark.spark_operator.Filter filter = 102;
* @return Whether the filter field is set.
*/
@java.lang.Override
public boolean hasFilter() {
return opStructCase_ == 102;
}
/**
* .spark.spark_operator.Filter filter = 102;
* @return The filter.
*/
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.Filter getFilter() {
if (filterBuilder_ == null) {
if (opStructCase_ == 102) {
return (org.apache.comet.serde.OperatorOuterClass.Filter) opStruct_;
}
return org.apache.comet.serde.OperatorOuterClass.Filter.getDefaultInstance();
} else {
if (opStructCase_ == 102) {
return filterBuilder_.getMessage();
}
return org.apache.comet.serde.OperatorOuterClass.Filter.getDefaultInstance();
}
}
/**
* .spark.spark_operator.Filter filter = 102;
*/
public Builder setFilter(org.apache.comet.serde.OperatorOuterClass.Filter value) {
if (filterBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
opStruct_ = value;
onChanged();
} else {
filterBuilder_.setMessage(value);
}
opStructCase_ = 102;
return this;
}
/**
* .spark.spark_operator.Filter filter = 102;
*/
public Builder setFilter(
org.apache.comet.serde.OperatorOuterClass.Filter.Builder builderForValue) {
if (filterBuilder_ == null) {
opStruct_ = builderForValue.build();
onChanged();
} else {
filterBuilder_.setMessage(builderForValue.build());
}
opStructCase_ = 102;
return this;
}
/**
* .spark.spark_operator.Filter filter = 102;
*/
public Builder mergeFilter(org.apache.comet.serde.OperatorOuterClass.Filter value) {
if (filterBuilder_ == null) {
if (opStructCase_ == 102 &&
opStruct_ != org.apache.comet.serde.OperatorOuterClass.Filter.getDefaultInstance()) {
opStruct_ = org.apache.comet.serde.OperatorOuterClass.Filter.newBuilder((org.apache.comet.serde.OperatorOuterClass.Filter) opStruct_)
.mergeFrom(value).buildPartial();
} else {
opStruct_ = value;
}
onChanged();
} else {
if (opStructCase_ == 102) {
filterBuilder_.mergeFrom(value);
}
filterBuilder_.setMessage(value);
}
opStructCase_ = 102;
return this;
}
/**
* .spark.spark_operator.Filter filter = 102;
*/
public Builder clearFilter() {
if (filterBuilder_ == null) {
if (opStructCase_ == 102) {
opStructCase_ = 0;
opStruct_ = null;
onChanged();
}
} else {
if (opStructCase_ == 102) {
opStructCase_ = 0;
opStruct_ = null;
}
filterBuilder_.clear();
}
return this;
}
/**
* .spark.spark_operator.Filter filter = 102;
*/
public org.apache.comet.serde.OperatorOuterClass.Filter.Builder getFilterBuilder() {
return getFilterFieldBuilder().getBuilder();
}
/**
* .spark.spark_operator.Filter filter = 102;
*/
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.FilterOrBuilder getFilterOrBuilder() {
if ((opStructCase_ == 102) && (filterBuilder_ != null)) {
return filterBuilder_.getMessageOrBuilder();
} else {
if (opStructCase_ == 102) {
return (org.apache.comet.serde.OperatorOuterClass.Filter) opStruct_;
}
return org.apache.comet.serde.OperatorOuterClass.Filter.getDefaultInstance();
}
}
/**
* .spark.spark_operator.Filter filter = 102;
*/
private org.apache.comet.shaded.protobuf.SingleFieldBuilderV3<
org.apache.comet.serde.OperatorOuterClass.Filter, org.apache.comet.serde.OperatorOuterClass.Filter.Builder, org.apache.comet.serde.OperatorOuterClass.FilterOrBuilder>
getFilterFieldBuilder() {
if (filterBuilder_ == null) {
if (!(opStructCase_ == 102)) {
opStruct_ = org.apache.comet.serde.OperatorOuterClass.Filter.getDefaultInstance();
}
filterBuilder_ = new org.apache.comet.shaded.protobuf.SingleFieldBuilderV3<
org.apache.comet.serde.OperatorOuterClass.Filter, org.apache.comet.serde.OperatorOuterClass.Filter.Builder, org.apache.comet.serde.OperatorOuterClass.FilterOrBuilder>(
(org.apache.comet.serde.OperatorOuterClass.Filter) opStruct_,
getParentForChildren(),
isClean());
opStruct_ = null;
}
opStructCase_ = 102;
onChanged();;
return filterBuilder_;
}
private org.apache.comet.shaded.protobuf.SingleFieldBuilderV3<
org.apache.comet.serde.OperatorOuterClass.Sort, org.apache.comet.serde.OperatorOuterClass.Sort.Builder, org.apache.comet.serde.OperatorOuterClass.SortOrBuilder> sortBuilder_;
/**
* .spark.spark_operator.Sort sort = 103;
* @return Whether the sort field is set.
*/
@java.lang.Override
public boolean hasSort() {
return opStructCase_ == 103;
}
/**
* .spark.spark_operator.Sort sort = 103;
* @return The sort.
*/
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.Sort getSort() {
if (sortBuilder_ == null) {
if (opStructCase_ == 103) {
return (org.apache.comet.serde.OperatorOuterClass.Sort) opStruct_;
}
return org.apache.comet.serde.OperatorOuterClass.Sort.getDefaultInstance();
} else {
if (opStructCase_ == 103) {
return sortBuilder_.getMessage();
}
return org.apache.comet.serde.OperatorOuterClass.Sort.getDefaultInstance();
}
}
/**
* .spark.spark_operator.Sort sort = 103;
*/
public Builder setSort(org.apache.comet.serde.OperatorOuterClass.Sort value) {
if (sortBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
opStruct_ = value;
onChanged();
} else {
sortBuilder_.setMessage(value);
}
opStructCase_ = 103;
return this;
}
/**
* .spark.spark_operator.Sort sort = 103;
*/
public Builder setSort(
org.apache.comet.serde.OperatorOuterClass.Sort.Builder builderForValue) {
if (sortBuilder_ == null) {
opStruct_ = builderForValue.build();
onChanged();
} else {
sortBuilder_.setMessage(builderForValue.build());
}
opStructCase_ = 103;
return this;
}
/**
* .spark.spark_operator.Sort sort = 103;
*/
public Builder mergeSort(org.apache.comet.serde.OperatorOuterClass.Sort value) {
if (sortBuilder_ == null) {
if (opStructCase_ == 103 &&
opStruct_ != org.apache.comet.serde.OperatorOuterClass.Sort.getDefaultInstance()) {
opStruct_ = org.apache.comet.serde.OperatorOuterClass.Sort.newBuilder((org.apache.comet.serde.OperatorOuterClass.Sort) opStruct_)
.mergeFrom(value).buildPartial();
} else {
opStruct_ = value;
}
onChanged();
} else {
if (opStructCase_ == 103) {
sortBuilder_.mergeFrom(value);
}
sortBuilder_.setMessage(value);
}
opStructCase_ = 103;
return this;
}
/**
* .spark.spark_operator.Sort sort = 103;
*/
public Builder clearSort() {
if (sortBuilder_ == null) {
if (opStructCase_ == 103) {
opStructCase_ = 0;
opStruct_ = null;
onChanged();
}
} else {
if (opStructCase_ == 103) {
opStructCase_ = 0;
opStruct_ = null;
}
sortBuilder_.clear();
}
return this;
}
/**
* .spark.spark_operator.Sort sort = 103;
*/
public org.apache.comet.serde.OperatorOuterClass.Sort.Builder getSortBuilder() {
return getSortFieldBuilder().getBuilder();
}
/**
* .spark.spark_operator.Sort sort = 103;
*/
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.SortOrBuilder getSortOrBuilder() {
if ((opStructCase_ == 103) && (sortBuilder_ != null)) {
return sortBuilder_.getMessageOrBuilder();
} else {
if (opStructCase_ == 103) {
return (org.apache.comet.serde.OperatorOuterClass.Sort) opStruct_;
}
return org.apache.comet.serde.OperatorOuterClass.Sort.getDefaultInstance();
}
}
/**
* .spark.spark_operator.Sort sort = 103;
*/
private org.apache.comet.shaded.protobuf.SingleFieldBuilderV3<
org.apache.comet.serde.OperatorOuterClass.Sort, org.apache.comet.serde.OperatorOuterClass.Sort.Builder, org.apache.comet.serde.OperatorOuterClass.SortOrBuilder>
getSortFieldBuilder() {
if (sortBuilder_ == null) {
if (!(opStructCase_ == 103)) {
opStruct_ = org.apache.comet.serde.OperatorOuterClass.Sort.getDefaultInstance();
}
sortBuilder_ = new org.apache.comet.shaded.protobuf.SingleFieldBuilderV3<
org.apache.comet.serde.OperatorOuterClass.Sort, org.apache.comet.serde.OperatorOuterClass.Sort.Builder, org.apache.comet.serde.OperatorOuterClass.SortOrBuilder>(
(org.apache.comet.serde.OperatorOuterClass.Sort) opStruct_,
getParentForChildren(),
isClean());
opStruct_ = null;
}
opStructCase_ = 103;
onChanged();;
return sortBuilder_;
}
private org.apache.comet.shaded.protobuf.SingleFieldBuilderV3<
org.apache.comet.serde.OperatorOuterClass.HashAggregate, org.apache.comet.serde.OperatorOuterClass.HashAggregate.Builder, org.apache.comet.serde.OperatorOuterClass.HashAggregateOrBuilder> hashAggBuilder_;
/**
* .spark.spark_operator.HashAggregate hash_agg = 104;
* @return Whether the hashAgg field is set.
*/
@java.lang.Override
public boolean hasHashAgg() {
return opStructCase_ == 104;
}
/**
* .spark.spark_operator.HashAggregate hash_agg = 104;
* @return The hashAgg.
*/
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.HashAggregate getHashAgg() {
if (hashAggBuilder_ == null) {
if (opStructCase_ == 104) {
return (org.apache.comet.serde.OperatorOuterClass.HashAggregate) opStruct_;
}
return org.apache.comet.serde.OperatorOuterClass.HashAggregate.getDefaultInstance();
} else {
if (opStructCase_ == 104) {
return hashAggBuilder_.getMessage();
}
return org.apache.comet.serde.OperatorOuterClass.HashAggregate.getDefaultInstance();
}
}
/**
* .spark.spark_operator.HashAggregate hash_agg = 104;
*/
public Builder setHashAgg(org.apache.comet.serde.OperatorOuterClass.HashAggregate value) {
if (hashAggBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
opStruct_ = value;
onChanged();
} else {
hashAggBuilder_.setMessage(value);
}
opStructCase_ = 104;
return this;
}
/**
* .spark.spark_operator.HashAggregate hash_agg = 104;
*/
public Builder setHashAgg(
org.apache.comet.serde.OperatorOuterClass.HashAggregate.Builder builderForValue) {
if (hashAggBuilder_ == null) {
opStruct_ = builderForValue.build();
onChanged();
} else {
hashAggBuilder_.setMessage(builderForValue.build());
}
opStructCase_ = 104;
return this;
}
/**
* .spark.spark_operator.HashAggregate hash_agg = 104;
*/
public Builder mergeHashAgg(org.apache.comet.serde.OperatorOuterClass.HashAggregate value) {
if (hashAggBuilder_ == null) {
if (opStructCase_ == 104 &&
opStruct_ != org.apache.comet.serde.OperatorOuterClass.HashAggregate.getDefaultInstance()) {
opStruct_ = org.apache.comet.serde.OperatorOuterClass.HashAggregate.newBuilder((org.apache.comet.serde.OperatorOuterClass.HashAggregate) opStruct_)
.mergeFrom(value).buildPartial();
} else {
opStruct_ = value;
}
onChanged();
} else {
if (opStructCase_ == 104) {
hashAggBuilder_.mergeFrom(value);
}
hashAggBuilder_.setMessage(value);
}
opStructCase_ = 104;
return this;
}
/**
* .spark.spark_operator.HashAggregate hash_agg = 104;
*/
public Builder clearHashAgg() {
if (hashAggBuilder_ == null) {
if (opStructCase_ == 104) {
opStructCase_ = 0;
opStruct_ = null;
onChanged();
}
} else {
if (opStructCase_ == 104) {
opStructCase_ = 0;
opStruct_ = null;
}
hashAggBuilder_.clear();
}
return this;
}
/**
* .spark.spark_operator.HashAggregate hash_agg = 104;
*/
public org.apache.comet.serde.OperatorOuterClass.HashAggregate.Builder getHashAggBuilder() {
return getHashAggFieldBuilder().getBuilder();
}
/**
* .spark.spark_operator.HashAggregate hash_agg = 104;
*/
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.HashAggregateOrBuilder getHashAggOrBuilder() {
if ((opStructCase_ == 104) && (hashAggBuilder_ != null)) {
return hashAggBuilder_.getMessageOrBuilder();
} else {
if (opStructCase_ == 104) {
return (org.apache.comet.serde.OperatorOuterClass.HashAggregate) opStruct_;
}
return org.apache.comet.serde.OperatorOuterClass.HashAggregate.getDefaultInstance();
}
}
/**
* .spark.spark_operator.HashAggregate hash_agg = 104;
*/
private org.apache.comet.shaded.protobuf.SingleFieldBuilderV3<
org.apache.comet.serde.OperatorOuterClass.HashAggregate, org.apache.comet.serde.OperatorOuterClass.HashAggregate.Builder, org.apache.comet.serde.OperatorOuterClass.HashAggregateOrBuilder>
getHashAggFieldBuilder() {
if (hashAggBuilder_ == null) {
if (!(opStructCase_ == 104)) {
opStruct_ = org.apache.comet.serde.OperatorOuterClass.HashAggregate.getDefaultInstance();
}
hashAggBuilder_ = new org.apache.comet.shaded.protobuf.SingleFieldBuilderV3<
org.apache.comet.serde.OperatorOuterClass.HashAggregate, org.apache.comet.serde.OperatorOuterClass.HashAggregate.Builder, org.apache.comet.serde.OperatorOuterClass.HashAggregateOrBuilder>(
(org.apache.comet.serde.OperatorOuterClass.HashAggregate) opStruct_,
getParentForChildren(),
isClean());
opStruct_ = null;
}
opStructCase_ = 104;
onChanged();;
return hashAggBuilder_;
}
private org.apache.comet.shaded.protobuf.SingleFieldBuilderV3<
org.apache.comet.serde.OperatorOuterClass.Limit, org.apache.comet.serde.OperatorOuterClass.Limit.Builder, org.apache.comet.serde.OperatorOuterClass.LimitOrBuilder> limitBuilder_;
/**
* .spark.spark_operator.Limit limit = 105;
* @return Whether the limit field is set.
*/
@java.lang.Override
public boolean hasLimit() {
return opStructCase_ == 105;
}
/**
* .spark.spark_operator.Limit limit = 105;
* @return The limit.
*/
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.Limit getLimit() {
if (limitBuilder_ == null) {
if (opStructCase_ == 105) {
return (org.apache.comet.serde.OperatorOuterClass.Limit) opStruct_;
}
return org.apache.comet.serde.OperatorOuterClass.Limit.getDefaultInstance();
} else {
if (opStructCase_ == 105) {
return limitBuilder_.getMessage();
}
return org.apache.comet.serde.OperatorOuterClass.Limit.getDefaultInstance();
}
}
/**
* .spark.spark_operator.Limit limit = 105;
*/
public Builder setLimit(org.apache.comet.serde.OperatorOuterClass.Limit value) {
if (limitBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
opStruct_ = value;
onChanged();
} else {
limitBuilder_.setMessage(value);
}
opStructCase_ = 105;
return this;
}
/**
* .spark.spark_operator.Limit limit = 105;
*/
public Builder setLimit(
org.apache.comet.serde.OperatorOuterClass.Limit.Builder builderForValue) {
if (limitBuilder_ == null) {
opStruct_ = builderForValue.build();
onChanged();
} else {
limitBuilder_.setMessage(builderForValue.build());
}
opStructCase_ = 105;
return this;
}
/**
* .spark.spark_operator.Limit limit = 105;
*/
public Builder mergeLimit(org.apache.comet.serde.OperatorOuterClass.Limit value) {
if (limitBuilder_ == null) {
if (opStructCase_ == 105 &&
opStruct_ != org.apache.comet.serde.OperatorOuterClass.Limit.getDefaultInstance()) {
opStruct_ = org.apache.comet.serde.OperatorOuterClass.Limit.newBuilder((org.apache.comet.serde.OperatorOuterClass.Limit) opStruct_)
.mergeFrom(value).buildPartial();
} else {
opStruct_ = value;
}
onChanged();
} else {
if (opStructCase_ == 105) {
limitBuilder_.mergeFrom(value);
}
limitBuilder_.setMessage(value);
}
opStructCase_ = 105;
return this;
}
/**
* .spark.spark_operator.Limit limit = 105;
*/
public Builder clearLimit() {
if (limitBuilder_ == null) {
if (opStructCase_ == 105) {
opStructCase_ = 0;
opStruct_ = null;
onChanged();
}
} else {
if (opStructCase_ == 105) {
opStructCase_ = 0;
opStruct_ = null;
}
limitBuilder_.clear();
}
return this;
}
/**
* .spark.spark_operator.Limit limit = 105;
*/
public org.apache.comet.serde.OperatorOuterClass.Limit.Builder getLimitBuilder() {
return getLimitFieldBuilder().getBuilder();
}
/**
* .spark.spark_operator.Limit limit = 105;
*/
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.LimitOrBuilder getLimitOrBuilder() {
if ((opStructCase_ == 105) && (limitBuilder_ != null)) {
return limitBuilder_.getMessageOrBuilder();
} else {
if (opStructCase_ == 105) {
return (org.apache.comet.serde.OperatorOuterClass.Limit) opStruct_;
}
return org.apache.comet.serde.OperatorOuterClass.Limit.getDefaultInstance();
}
}
/**
* .spark.spark_operator.Limit limit = 105;
*/
private org.apache.comet.shaded.protobuf.SingleFieldBuilderV3<
org.apache.comet.serde.OperatorOuterClass.Limit, org.apache.comet.serde.OperatorOuterClass.Limit.Builder, org.apache.comet.serde.OperatorOuterClass.LimitOrBuilder>
getLimitFieldBuilder() {
if (limitBuilder_ == null) {
if (!(opStructCase_ == 105)) {
opStruct_ = org.apache.comet.serde.OperatorOuterClass.Limit.getDefaultInstance();
}
limitBuilder_ = new org.apache.comet.shaded.protobuf.SingleFieldBuilderV3<
org.apache.comet.serde.OperatorOuterClass.Limit, org.apache.comet.serde.OperatorOuterClass.Limit.Builder, org.apache.comet.serde.OperatorOuterClass.LimitOrBuilder>(
(org.apache.comet.serde.OperatorOuterClass.Limit) opStruct_,
getParentForChildren(),
isClean());
opStruct_ = null;
}
opStructCase_ = 105;
onChanged();;
return limitBuilder_;
}
private org.apache.comet.shaded.protobuf.SingleFieldBuilderV3<
org.apache.comet.serde.OperatorOuterClass.ShuffleWriter, org.apache.comet.serde.OperatorOuterClass.ShuffleWriter.Builder, org.apache.comet.serde.OperatorOuterClass.ShuffleWriterOrBuilder> shuffleWriterBuilder_;
/**
* .spark.spark_operator.ShuffleWriter shuffle_writer = 106;
* @return Whether the shuffleWriter field is set.
*/
@java.lang.Override
public boolean hasShuffleWriter() {
return opStructCase_ == 106;
}
/**
* .spark.spark_operator.ShuffleWriter shuffle_writer = 106;
* @return The shuffleWriter.
*/
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.ShuffleWriter getShuffleWriter() {
if (shuffleWriterBuilder_ == null) {
if (opStructCase_ == 106) {
return (org.apache.comet.serde.OperatorOuterClass.ShuffleWriter) opStruct_;
}
return org.apache.comet.serde.OperatorOuterClass.ShuffleWriter.getDefaultInstance();
} else {
if (opStructCase_ == 106) {
return shuffleWriterBuilder_.getMessage();
}
return org.apache.comet.serde.OperatorOuterClass.ShuffleWriter.getDefaultInstance();
}
}
/**
* .spark.spark_operator.ShuffleWriter shuffle_writer = 106;
*/
public Builder setShuffleWriter(org.apache.comet.serde.OperatorOuterClass.ShuffleWriter value) {
if (shuffleWriterBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
opStruct_ = value;
onChanged();
} else {
shuffleWriterBuilder_.setMessage(value);
}
opStructCase_ = 106;
return this;
}
/**
* .spark.spark_operator.ShuffleWriter shuffle_writer = 106;
*/
public Builder setShuffleWriter(
org.apache.comet.serde.OperatorOuterClass.ShuffleWriter.Builder builderForValue) {
if (shuffleWriterBuilder_ == null) {
opStruct_ = builderForValue.build();
onChanged();
} else {
shuffleWriterBuilder_.setMessage(builderForValue.build());
}
opStructCase_ = 106;
return this;
}
/**
* .spark.spark_operator.ShuffleWriter shuffle_writer = 106;
*/
public Builder mergeShuffleWriter(org.apache.comet.serde.OperatorOuterClass.ShuffleWriter value) {
if (shuffleWriterBuilder_ == null) {
if (opStructCase_ == 106 &&
opStruct_ != org.apache.comet.serde.OperatorOuterClass.ShuffleWriter.getDefaultInstance()) {
opStruct_ = org.apache.comet.serde.OperatorOuterClass.ShuffleWriter.newBuilder((org.apache.comet.serde.OperatorOuterClass.ShuffleWriter) opStruct_)
.mergeFrom(value).buildPartial();
} else {
opStruct_ = value;
}
onChanged();
} else {
if (opStructCase_ == 106) {
shuffleWriterBuilder_.mergeFrom(value);
}
shuffleWriterBuilder_.setMessage(value);
}
opStructCase_ = 106;
return this;
}
/**
* .spark.spark_operator.ShuffleWriter shuffle_writer = 106;
*/
public Builder clearShuffleWriter() {
if (shuffleWriterBuilder_ == null) {
if (opStructCase_ == 106) {
opStructCase_ = 0;
opStruct_ = null;
onChanged();
}
} else {
if (opStructCase_ == 106) {
opStructCase_ = 0;
opStruct_ = null;
}
shuffleWriterBuilder_.clear();
}
return this;
}
/**
* .spark.spark_operator.ShuffleWriter shuffle_writer = 106;
*/
public org.apache.comet.serde.OperatorOuterClass.ShuffleWriter.Builder getShuffleWriterBuilder() {
return getShuffleWriterFieldBuilder().getBuilder();
}
/**
* .spark.spark_operator.ShuffleWriter shuffle_writer = 106;
*/
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.ShuffleWriterOrBuilder getShuffleWriterOrBuilder() {
if ((opStructCase_ == 106) && (shuffleWriterBuilder_ != null)) {
return shuffleWriterBuilder_.getMessageOrBuilder();
} else {
if (opStructCase_ == 106) {
return (org.apache.comet.serde.OperatorOuterClass.ShuffleWriter) opStruct_;
}
return org.apache.comet.serde.OperatorOuterClass.ShuffleWriter.getDefaultInstance();
}
}
/**
* .spark.spark_operator.ShuffleWriter shuffle_writer = 106;
*/
private org.apache.comet.shaded.protobuf.SingleFieldBuilderV3<
org.apache.comet.serde.OperatorOuterClass.ShuffleWriter, org.apache.comet.serde.OperatorOuterClass.ShuffleWriter.Builder, org.apache.comet.serde.OperatorOuterClass.ShuffleWriterOrBuilder>
getShuffleWriterFieldBuilder() {
if (shuffleWriterBuilder_ == null) {
if (!(opStructCase_ == 106)) {
opStruct_ = org.apache.comet.serde.OperatorOuterClass.ShuffleWriter.getDefaultInstance();
}
shuffleWriterBuilder_ = new org.apache.comet.shaded.protobuf.SingleFieldBuilderV3<
org.apache.comet.serde.OperatorOuterClass.ShuffleWriter, org.apache.comet.serde.OperatorOuterClass.ShuffleWriter.Builder, org.apache.comet.serde.OperatorOuterClass.ShuffleWriterOrBuilder>(
(org.apache.comet.serde.OperatorOuterClass.ShuffleWriter) opStruct_,
getParentForChildren(),
isClean());
opStruct_ = null;
}
opStructCase_ = 106;
onChanged();;
return shuffleWriterBuilder_;
}
private org.apache.comet.shaded.protobuf.SingleFieldBuilderV3<
org.apache.comet.serde.OperatorOuterClass.Expand, org.apache.comet.serde.OperatorOuterClass.Expand.Builder, org.apache.comet.serde.OperatorOuterClass.ExpandOrBuilder> expandBuilder_;
/**
* .spark.spark_operator.Expand expand = 107;
* @return Whether the expand field is set.
*/
@java.lang.Override
public boolean hasExpand() {
return opStructCase_ == 107;
}
/**
* .spark.spark_operator.Expand expand = 107;
* @return The expand.
*/
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.Expand getExpand() {
if (expandBuilder_ == null) {
if (opStructCase_ == 107) {
return (org.apache.comet.serde.OperatorOuterClass.Expand) opStruct_;
}
return org.apache.comet.serde.OperatorOuterClass.Expand.getDefaultInstance();
} else {
if (opStructCase_ == 107) {
return expandBuilder_.getMessage();
}
return org.apache.comet.serde.OperatorOuterClass.Expand.getDefaultInstance();
}
}
/**
* .spark.spark_operator.Expand expand = 107;
*/
public Builder setExpand(org.apache.comet.serde.OperatorOuterClass.Expand value) {
if (expandBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
opStruct_ = value;
onChanged();
} else {
expandBuilder_.setMessage(value);
}
opStructCase_ = 107;
return this;
}
/**
* .spark.spark_operator.Expand expand = 107;
*/
public Builder setExpand(
org.apache.comet.serde.OperatorOuterClass.Expand.Builder builderForValue) {
if (expandBuilder_ == null) {
opStruct_ = builderForValue.build();
onChanged();
} else {
expandBuilder_.setMessage(builderForValue.build());
}
opStructCase_ = 107;
return this;
}
/**
* .spark.spark_operator.Expand expand = 107;
*/
public Builder mergeExpand(org.apache.comet.serde.OperatorOuterClass.Expand value) {
if (expandBuilder_ == null) {
if (opStructCase_ == 107 &&
opStruct_ != org.apache.comet.serde.OperatorOuterClass.Expand.getDefaultInstance()) {
opStruct_ = org.apache.comet.serde.OperatorOuterClass.Expand.newBuilder((org.apache.comet.serde.OperatorOuterClass.Expand) opStruct_)
.mergeFrom(value).buildPartial();
} else {
opStruct_ = value;
}
onChanged();
} else {
if (opStructCase_ == 107) {
expandBuilder_.mergeFrom(value);
}
expandBuilder_.setMessage(value);
}
opStructCase_ = 107;
return this;
}
/**
* .spark.spark_operator.Expand expand = 107;
*/
public Builder clearExpand() {
if (expandBuilder_ == null) {
if (opStructCase_ == 107) {
opStructCase_ = 0;
opStruct_ = null;
onChanged();
}
} else {
if (opStructCase_ == 107) {
opStructCase_ = 0;
opStruct_ = null;
}
expandBuilder_.clear();
}
return this;
}
/**
* .spark.spark_operator.Expand expand = 107;
*/
public org.apache.comet.serde.OperatorOuterClass.Expand.Builder getExpandBuilder() {
return getExpandFieldBuilder().getBuilder();
}
/**
* .spark.spark_operator.Expand expand = 107;
*/
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.ExpandOrBuilder getExpandOrBuilder() {
if ((opStructCase_ == 107) && (expandBuilder_ != null)) {
return expandBuilder_.getMessageOrBuilder();
} else {
if (opStructCase_ == 107) {
return (org.apache.comet.serde.OperatorOuterClass.Expand) opStruct_;
}
return org.apache.comet.serde.OperatorOuterClass.Expand.getDefaultInstance();
}
}
/**
* .spark.spark_operator.Expand expand = 107;
*/
private org.apache.comet.shaded.protobuf.SingleFieldBuilderV3<
org.apache.comet.serde.OperatorOuterClass.Expand, org.apache.comet.serde.OperatorOuterClass.Expand.Builder, org.apache.comet.serde.OperatorOuterClass.ExpandOrBuilder>
getExpandFieldBuilder() {
if (expandBuilder_ == null) {
if (!(opStructCase_ == 107)) {
opStruct_ = org.apache.comet.serde.OperatorOuterClass.Expand.getDefaultInstance();
}
expandBuilder_ = new org.apache.comet.shaded.protobuf.SingleFieldBuilderV3<
org.apache.comet.serde.OperatorOuterClass.Expand, org.apache.comet.serde.OperatorOuterClass.Expand.Builder, org.apache.comet.serde.OperatorOuterClass.ExpandOrBuilder>(
(org.apache.comet.serde.OperatorOuterClass.Expand) opStruct_,
getParentForChildren(),
isClean());
opStruct_ = null;
}
opStructCase_ = 107;
onChanged();;
return expandBuilder_;
}
private org.apache.comet.shaded.protobuf.SingleFieldBuilderV3<
org.apache.comet.serde.OperatorOuterClass.SortMergeJoin, org.apache.comet.serde.OperatorOuterClass.SortMergeJoin.Builder, org.apache.comet.serde.OperatorOuterClass.SortMergeJoinOrBuilder> sortMergeJoinBuilder_;
/**
* .spark.spark_operator.SortMergeJoin sort_merge_join = 108;
* @return Whether the sortMergeJoin field is set.
*/
@java.lang.Override
public boolean hasSortMergeJoin() {
return opStructCase_ == 108;
}
/**
* .spark.spark_operator.SortMergeJoin sort_merge_join = 108;
* @return The sortMergeJoin.
*/
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.SortMergeJoin getSortMergeJoin() {
if (sortMergeJoinBuilder_ == null) {
if (opStructCase_ == 108) {
return (org.apache.comet.serde.OperatorOuterClass.SortMergeJoin) opStruct_;
}
return org.apache.comet.serde.OperatorOuterClass.SortMergeJoin.getDefaultInstance();
} else {
if (opStructCase_ == 108) {
return sortMergeJoinBuilder_.getMessage();
}
return org.apache.comet.serde.OperatorOuterClass.SortMergeJoin.getDefaultInstance();
}
}
/**
* .spark.spark_operator.SortMergeJoin sort_merge_join = 108;
*/
public Builder setSortMergeJoin(org.apache.comet.serde.OperatorOuterClass.SortMergeJoin value) {
if (sortMergeJoinBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
opStruct_ = value;
onChanged();
} else {
sortMergeJoinBuilder_.setMessage(value);
}
opStructCase_ = 108;
return this;
}
/**
* .spark.spark_operator.SortMergeJoin sort_merge_join = 108;
*/
public Builder setSortMergeJoin(
org.apache.comet.serde.OperatorOuterClass.SortMergeJoin.Builder builderForValue) {
if (sortMergeJoinBuilder_ == null) {
opStruct_ = builderForValue.build();
onChanged();
} else {
sortMergeJoinBuilder_.setMessage(builderForValue.build());
}
opStructCase_ = 108;
return this;
}
/**
* .spark.spark_operator.SortMergeJoin sort_merge_join = 108;
*/
public Builder mergeSortMergeJoin(org.apache.comet.serde.OperatorOuterClass.SortMergeJoin value) {
if (sortMergeJoinBuilder_ == null) {
if (opStructCase_ == 108 &&
opStruct_ != org.apache.comet.serde.OperatorOuterClass.SortMergeJoin.getDefaultInstance()) {
opStruct_ = org.apache.comet.serde.OperatorOuterClass.SortMergeJoin.newBuilder((org.apache.comet.serde.OperatorOuterClass.SortMergeJoin) opStruct_)
.mergeFrom(value).buildPartial();
} else {
opStruct_ = value;
}
onChanged();
} else {
if (opStructCase_ == 108) {
sortMergeJoinBuilder_.mergeFrom(value);
}
sortMergeJoinBuilder_.setMessage(value);
}
opStructCase_ = 108;
return this;
}
/**
* .spark.spark_operator.SortMergeJoin sort_merge_join = 108;
*/
public Builder clearSortMergeJoin() {
if (sortMergeJoinBuilder_ == null) {
if (opStructCase_ == 108) {
opStructCase_ = 0;
opStruct_ = null;
onChanged();
}
} else {
if (opStructCase_ == 108) {
opStructCase_ = 0;
opStruct_ = null;
}
sortMergeJoinBuilder_.clear();
}
return this;
}
/**
* .spark.spark_operator.SortMergeJoin sort_merge_join = 108;
*/
public org.apache.comet.serde.OperatorOuterClass.SortMergeJoin.Builder getSortMergeJoinBuilder() {
return getSortMergeJoinFieldBuilder().getBuilder();
}
/**
* .spark.spark_operator.SortMergeJoin sort_merge_join = 108;
*/
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.SortMergeJoinOrBuilder getSortMergeJoinOrBuilder() {
if ((opStructCase_ == 108) && (sortMergeJoinBuilder_ != null)) {
return sortMergeJoinBuilder_.getMessageOrBuilder();
} else {
if (opStructCase_ == 108) {
return (org.apache.comet.serde.OperatorOuterClass.SortMergeJoin) opStruct_;
}
return org.apache.comet.serde.OperatorOuterClass.SortMergeJoin.getDefaultInstance();
}
}
/**
* .spark.spark_operator.SortMergeJoin sort_merge_join = 108;
*/
private org.apache.comet.shaded.protobuf.SingleFieldBuilderV3<
org.apache.comet.serde.OperatorOuterClass.SortMergeJoin, org.apache.comet.serde.OperatorOuterClass.SortMergeJoin.Builder, org.apache.comet.serde.OperatorOuterClass.SortMergeJoinOrBuilder>
getSortMergeJoinFieldBuilder() {
if (sortMergeJoinBuilder_ == null) {
if (!(opStructCase_ == 108)) {
opStruct_ = org.apache.comet.serde.OperatorOuterClass.SortMergeJoin.getDefaultInstance();
}
sortMergeJoinBuilder_ = new org.apache.comet.shaded.protobuf.SingleFieldBuilderV3<
org.apache.comet.serde.OperatorOuterClass.SortMergeJoin, org.apache.comet.serde.OperatorOuterClass.SortMergeJoin.Builder, org.apache.comet.serde.OperatorOuterClass.SortMergeJoinOrBuilder>(
(org.apache.comet.serde.OperatorOuterClass.SortMergeJoin) opStruct_,
getParentForChildren(),
isClean());
opStruct_ = null;
}
opStructCase_ = 108;
onChanged();;
return sortMergeJoinBuilder_;
}
private org.apache.comet.shaded.protobuf.SingleFieldBuilderV3<
org.apache.comet.serde.OperatorOuterClass.HashJoin, org.apache.comet.serde.OperatorOuterClass.HashJoin.Builder, org.apache.comet.serde.OperatorOuterClass.HashJoinOrBuilder> hashJoinBuilder_;
/**
* .spark.spark_operator.HashJoin hash_join = 109;
* @return Whether the hashJoin field is set.
*/
@java.lang.Override
public boolean hasHashJoin() {
return opStructCase_ == 109;
}
/**
* .spark.spark_operator.HashJoin hash_join = 109;
* @return The hashJoin.
*/
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.HashJoin getHashJoin() {
if (hashJoinBuilder_ == null) {
if (opStructCase_ == 109) {
return (org.apache.comet.serde.OperatorOuterClass.HashJoin) opStruct_;
}
return org.apache.comet.serde.OperatorOuterClass.HashJoin.getDefaultInstance();
} else {
if (opStructCase_ == 109) {
return hashJoinBuilder_.getMessage();
}
return org.apache.comet.serde.OperatorOuterClass.HashJoin.getDefaultInstance();
}
}
/**
* .spark.spark_operator.HashJoin hash_join = 109;
*/
public Builder setHashJoin(org.apache.comet.serde.OperatorOuterClass.HashJoin value) {
if (hashJoinBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
opStruct_ = value;
onChanged();
} else {
hashJoinBuilder_.setMessage(value);
}
opStructCase_ = 109;
return this;
}
/**
* .spark.spark_operator.HashJoin hash_join = 109;
*/
public Builder setHashJoin(
org.apache.comet.serde.OperatorOuterClass.HashJoin.Builder builderForValue) {
if (hashJoinBuilder_ == null) {
opStruct_ = builderForValue.build();
onChanged();
} else {
hashJoinBuilder_.setMessage(builderForValue.build());
}
opStructCase_ = 109;
return this;
}
/**
* .spark.spark_operator.HashJoin hash_join = 109;
*/
public Builder mergeHashJoin(org.apache.comet.serde.OperatorOuterClass.HashJoin value) {
if (hashJoinBuilder_ == null) {
if (opStructCase_ == 109 &&
opStruct_ != org.apache.comet.serde.OperatorOuterClass.HashJoin.getDefaultInstance()) {
opStruct_ = org.apache.comet.serde.OperatorOuterClass.HashJoin.newBuilder((org.apache.comet.serde.OperatorOuterClass.HashJoin) opStruct_)
.mergeFrom(value).buildPartial();
} else {
opStruct_ = value;
}
onChanged();
} else {
if (opStructCase_ == 109) {
hashJoinBuilder_.mergeFrom(value);
}
hashJoinBuilder_.setMessage(value);
}
opStructCase_ = 109;
return this;
}
/**
* .spark.spark_operator.HashJoin hash_join = 109;
*/
public Builder clearHashJoin() {
if (hashJoinBuilder_ == null) {
if (opStructCase_ == 109) {
opStructCase_ = 0;
opStruct_ = null;
onChanged();
}
} else {
if (opStructCase_ == 109) {
opStructCase_ = 0;
opStruct_ = null;
}
hashJoinBuilder_.clear();
}
return this;
}
/**
* .spark.spark_operator.HashJoin hash_join = 109;
*/
public org.apache.comet.serde.OperatorOuterClass.HashJoin.Builder getHashJoinBuilder() {
return getHashJoinFieldBuilder().getBuilder();
}
/**
* .spark.spark_operator.HashJoin hash_join = 109;
*/
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.HashJoinOrBuilder getHashJoinOrBuilder() {
if ((opStructCase_ == 109) && (hashJoinBuilder_ != null)) {
return hashJoinBuilder_.getMessageOrBuilder();
} else {
if (opStructCase_ == 109) {
return (org.apache.comet.serde.OperatorOuterClass.HashJoin) opStruct_;
}
return org.apache.comet.serde.OperatorOuterClass.HashJoin.getDefaultInstance();
}
}
/**
* .spark.spark_operator.HashJoin hash_join = 109;
*/
private org.apache.comet.shaded.protobuf.SingleFieldBuilderV3<
org.apache.comet.serde.OperatorOuterClass.HashJoin, org.apache.comet.serde.OperatorOuterClass.HashJoin.Builder, org.apache.comet.serde.OperatorOuterClass.HashJoinOrBuilder>
getHashJoinFieldBuilder() {
if (hashJoinBuilder_ == null) {
if (!(opStructCase_ == 109)) {
opStruct_ = org.apache.comet.serde.OperatorOuterClass.HashJoin.getDefaultInstance();
}
hashJoinBuilder_ = new org.apache.comet.shaded.protobuf.SingleFieldBuilderV3<
org.apache.comet.serde.OperatorOuterClass.HashJoin, org.apache.comet.serde.OperatorOuterClass.HashJoin.Builder, org.apache.comet.serde.OperatorOuterClass.HashJoinOrBuilder>(
(org.apache.comet.serde.OperatorOuterClass.HashJoin) opStruct_,
getParentForChildren(),
isClean());
opStruct_ = null;
}
opStructCase_ = 109;
onChanged();;
return hashJoinBuilder_;
}
private org.apache.comet.shaded.protobuf.SingleFieldBuilderV3<
org.apache.comet.serde.OperatorOuterClass.Window, org.apache.comet.serde.OperatorOuterClass.Window.Builder, org.apache.comet.serde.OperatorOuterClass.WindowOrBuilder> windowBuilder_;
/**
* .spark.spark_operator.Window window = 110;
* @return Whether the window field is set.
*/
@java.lang.Override
public boolean hasWindow() {
return opStructCase_ == 110;
}
/**
* .spark.spark_operator.Window window = 110;
* @return The window.
*/
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.Window getWindow() {
if (windowBuilder_ == null) {
if (opStructCase_ == 110) {
return (org.apache.comet.serde.OperatorOuterClass.Window) opStruct_;
}
return org.apache.comet.serde.OperatorOuterClass.Window.getDefaultInstance();
} else {
if (opStructCase_ == 110) {
return windowBuilder_.getMessage();
}
return org.apache.comet.serde.OperatorOuterClass.Window.getDefaultInstance();
}
}
/**
* .spark.spark_operator.Window window = 110;
*/
public Builder setWindow(org.apache.comet.serde.OperatorOuterClass.Window value) {
if (windowBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
opStruct_ = value;
onChanged();
} else {
windowBuilder_.setMessage(value);
}
opStructCase_ = 110;
return this;
}
/**
* .spark.spark_operator.Window window = 110;
*/
public Builder setWindow(
org.apache.comet.serde.OperatorOuterClass.Window.Builder builderForValue) {
if (windowBuilder_ == null) {
opStruct_ = builderForValue.build();
onChanged();
} else {
windowBuilder_.setMessage(builderForValue.build());
}
opStructCase_ = 110;
return this;
}
/**
* .spark.spark_operator.Window window = 110;
*/
public Builder mergeWindow(org.apache.comet.serde.OperatorOuterClass.Window value) {
if (windowBuilder_ == null) {
if (opStructCase_ == 110 &&
opStruct_ != org.apache.comet.serde.OperatorOuterClass.Window.getDefaultInstance()) {
opStruct_ = org.apache.comet.serde.OperatorOuterClass.Window.newBuilder((org.apache.comet.serde.OperatorOuterClass.Window) opStruct_)
.mergeFrom(value).buildPartial();
} else {
opStruct_ = value;
}
onChanged();
} else {
if (opStructCase_ == 110) {
windowBuilder_.mergeFrom(value);
}
windowBuilder_.setMessage(value);
}
opStructCase_ = 110;
return this;
}
/**
* .spark.spark_operator.Window window = 110;
*/
public Builder clearWindow() {
if (windowBuilder_ == null) {
if (opStructCase_ == 110) {
opStructCase_ = 0;
opStruct_ = null;
onChanged();
}
} else {
if (opStructCase_ == 110) {
opStructCase_ = 0;
opStruct_ = null;
}
windowBuilder_.clear();
}
return this;
}
/**
* .spark.spark_operator.Window window = 110;
*/
public org.apache.comet.serde.OperatorOuterClass.Window.Builder getWindowBuilder() {
return getWindowFieldBuilder().getBuilder();
}
/**
* .spark.spark_operator.Window window = 110;
*/
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.WindowOrBuilder getWindowOrBuilder() {
if ((opStructCase_ == 110) && (windowBuilder_ != null)) {
return windowBuilder_.getMessageOrBuilder();
} else {
if (opStructCase_ == 110) {
return (org.apache.comet.serde.OperatorOuterClass.Window) opStruct_;
}
return org.apache.comet.serde.OperatorOuterClass.Window.getDefaultInstance();
}
}
/**
* .spark.spark_operator.Window window = 110;
*/
private org.apache.comet.shaded.protobuf.SingleFieldBuilderV3<
org.apache.comet.serde.OperatorOuterClass.Window, org.apache.comet.serde.OperatorOuterClass.Window.Builder, org.apache.comet.serde.OperatorOuterClass.WindowOrBuilder>
getWindowFieldBuilder() {
if (windowBuilder_ == null) {
if (!(opStructCase_ == 110)) {
opStruct_ = org.apache.comet.serde.OperatorOuterClass.Window.getDefaultInstance();
}
windowBuilder_ = new org.apache.comet.shaded.protobuf.SingleFieldBuilderV3<
org.apache.comet.serde.OperatorOuterClass.Window, org.apache.comet.serde.OperatorOuterClass.Window.Builder, org.apache.comet.serde.OperatorOuterClass.WindowOrBuilder>(
(org.apache.comet.serde.OperatorOuterClass.Window) opStruct_,
getParentForChildren(),
isClean());
opStruct_ = null;
}
opStructCase_ = 110;
onChanged();;
return windowBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final org.apache.comet.shaded.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final org.apache.comet.shaded.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:spark.spark_operator.Operator)
}
// @@protoc_insertion_point(class_scope:spark.spark_operator.Operator)
private static final org.apache.comet.serde.OperatorOuterClass.Operator DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.comet.serde.OperatorOuterClass.Operator();
}
public static org.apache.comet.serde.OperatorOuterClass.Operator getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final org.apache.comet.shaded.protobuf.Parser
PARSER = new org.apache.comet.shaded.protobuf.AbstractParser() {
@java.lang.Override
public Operator parsePartialFrom(
org.apache.comet.shaded.protobuf.CodedInputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (org.apache.comet.shaded.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (org.apache.comet.shaded.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new org.apache.comet.shaded.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static org.apache.comet.shaded.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public org.apache.comet.shaded.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.Operator getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ScanOrBuilder extends
// @@protoc_insertion_point(interface_extends:spark.spark_operator.Scan)
org.apache.comet.shaded.protobuf.MessageOrBuilder {
/**
* repeated .spark.spark_expression.DataType fields = 1;
*/
java.util.List
getFieldsList();
/**
* repeated .spark.spark_expression.DataType fields = 1;
*/
org.apache.comet.serde.ExprOuterClass.DataType getFields(int index);
/**
* repeated .spark.spark_expression.DataType fields = 1;
*/
int getFieldsCount();
/**
* repeated .spark.spark_expression.DataType fields = 1;
*/
java.util.List extends org.apache.comet.serde.ExprOuterClass.DataTypeOrBuilder>
getFieldsOrBuilderList();
/**
* repeated .spark.spark_expression.DataType fields = 1;
*/
org.apache.comet.serde.ExprOuterClass.DataTypeOrBuilder getFieldsOrBuilder(
int index);
/**
*
* The source of the scan (e.g. file scan, broadcast exchange, shuffle, etc). This
* is purely for informational purposes when viewing native query plans in
* debug mode.
*
*
* string source = 2;
* @return The source.
*/
java.lang.String getSource();
/**
*
* The source of the scan (e.g. file scan, broadcast exchange, shuffle, etc). This
* is purely for informational purposes when viewing native query plans in
* debug mode.
*
*
* string source = 2;
* @return The bytes for source.
*/
org.apache.comet.shaded.protobuf.ByteString
getSourceBytes();
}
/**
* Protobuf type {@code spark.spark_operator.Scan}
*/
public static final class Scan extends
org.apache.comet.shaded.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:spark.spark_operator.Scan)
ScanOrBuilder {
private static final long serialVersionUID = 0L;
// Use Scan.newBuilder() to construct.
private Scan(org.apache.comet.shaded.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Scan() {
fields_ = java.util.Collections.emptyList();
source_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Scan();
}
@java.lang.Override
public final org.apache.comet.shaded.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final org.apache.comet.shaded.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_Scan_descriptor;
}
@java.lang.Override
protected org.apache.comet.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_Scan_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.comet.serde.OperatorOuterClass.Scan.class, org.apache.comet.serde.OperatorOuterClass.Scan.Builder.class);
}
public static final int FIELDS_FIELD_NUMBER = 1;
private java.util.List fields_;
/**
* repeated .spark.spark_expression.DataType fields = 1;
*/
@java.lang.Override
public java.util.List getFieldsList() {
return fields_;
}
/**
* repeated .spark.spark_expression.DataType fields = 1;
*/
@java.lang.Override
public java.util.List extends org.apache.comet.serde.ExprOuterClass.DataTypeOrBuilder>
getFieldsOrBuilderList() {
return fields_;
}
/**
* repeated .spark.spark_expression.DataType fields = 1;
*/
@java.lang.Override
public int getFieldsCount() {
return fields_.size();
}
/**
* repeated .spark.spark_expression.DataType fields = 1;
*/
@java.lang.Override
public org.apache.comet.serde.ExprOuterClass.DataType getFields(int index) {
return fields_.get(index);
}
/**
* repeated .spark.spark_expression.DataType fields = 1;
*/
@java.lang.Override
public org.apache.comet.serde.ExprOuterClass.DataTypeOrBuilder getFieldsOrBuilder(
int index) {
return fields_.get(index);
}
public static final int SOURCE_FIELD_NUMBER = 2;
private volatile java.lang.Object source_;
/**
*
* The source of the scan (e.g. file scan, broadcast exchange, shuffle, etc). This
* is purely for informational purposes when viewing native query plans in
* debug mode.
*
*
* string source = 2;
* @return The source.
*/
@java.lang.Override
public java.lang.String getSource() {
java.lang.Object ref = source_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
org.apache.comet.shaded.protobuf.ByteString bs =
(org.apache.comet.shaded.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
source_ = s;
return s;
}
}
/**
*
* The source of the scan (e.g. file scan, broadcast exchange, shuffle, etc). This
* is purely for informational purposes when viewing native query plans in
* debug mode.
*
*
* string source = 2;
* @return The bytes for source.
*/
@java.lang.Override
public org.apache.comet.shaded.protobuf.ByteString
getSourceBytes() {
java.lang.Object ref = source_;
if (ref instanceof java.lang.String) {
org.apache.comet.shaded.protobuf.ByteString b =
org.apache.comet.shaded.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
source_ = b;
return b;
} else {
return (org.apache.comet.shaded.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(org.apache.comet.shaded.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < fields_.size(); i++) {
output.writeMessage(1, fields_.get(i));
}
if (!org.apache.comet.shaded.protobuf.GeneratedMessageV3.isStringEmpty(source_)) {
org.apache.comet.shaded.protobuf.GeneratedMessageV3.writeString(output, 2, source_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < fields_.size(); i++) {
size += org.apache.comet.shaded.protobuf.CodedOutputStream
.computeMessageSize(1, fields_.get(i));
}
if (!org.apache.comet.shaded.protobuf.GeneratedMessageV3.isStringEmpty(source_)) {
size += org.apache.comet.shaded.protobuf.GeneratedMessageV3.computeStringSize(2, source_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.comet.serde.OperatorOuterClass.Scan)) {
return super.equals(obj);
}
org.apache.comet.serde.OperatorOuterClass.Scan other = (org.apache.comet.serde.OperatorOuterClass.Scan) obj;
if (!getFieldsList()
.equals(other.getFieldsList())) return false;
if (!getSource()
.equals(other.getSource())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getFieldsCount() > 0) {
hash = (37 * hash) + FIELDS_FIELD_NUMBER;
hash = (53 * hash) + getFieldsList().hashCode();
}
hash = (37 * hash) + SOURCE_FIELD_NUMBER;
hash = (53 * hash) + getSource().hashCode();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.comet.serde.OperatorOuterClass.Scan parseFrom(
java.nio.ByteBuffer data)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.comet.serde.OperatorOuterClass.Scan parseFrom(
java.nio.ByteBuffer data,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.Scan parseFrom(
org.apache.comet.shaded.protobuf.ByteString data)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.comet.serde.OperatorOuterClass.Scan parseFrom(
org.apache.comet.shaded.protobuf.ByteString data,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.Scan parseFrom(byte[] data)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.comet.serde.OperatorOuterClass.Scan parseFrom(
byte[] data,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.Scan parseFrom(java.io.InputStream input)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.comet.serde.OperatorOuterClass.Scan parseFrom(
java.io.InputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.Scan parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.comet.serde.OperatorOuterClass.Scan parseDelimitedFrom(
java.io.InputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.Scan parseFrom(
org.apache.comet.shaded.protobuf.CodedInputStream input)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.comet.serde.OperatorOuterClass.Scan parseFrom(
org.apache.comet.shaded.protobuf.CodedInputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.comet.serde.OperatorOuterClass.Scan prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
org.apache.comet.shaded.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code spark.spark_operator.Scan}
*/
public static final class Builder extends
org.apache.comet.shaded.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:spark.spark_operator.Scan)
org.apache.comet.serde.OperatorOuterClass.ScanOrBuilder {
public static final org.apache.comet.shaded.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_Scan_descriptor;
}
@java.lang.Override
protected org.apache.comet.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_Scan_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.comet.serde.OperatorOuterClass.Scan.class, org.apache.comet.serde.OperatorOuterClass.Scan.Builder.class);
}
// Construct using org.apache.comet.serde.OperatorOuterClass.Scan.newBuilder()
private Builder() {
}
private Builder(
org.apache.comet.shaded.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
if (fieldsBuilder_ == null) {
fields_ = java.util.Collections.emptyList();
} else {
fields_ = null;
fieldsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
source_ = "";
return this;
}
@java.lang.Override
public org.apache.comet.shaded.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_Scan_descriptor;
}
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.Scan getDefaultInstanceForType() {
return org.apache.comet.serde.OperatorOuterClass.Scan.getDefaultInstance();
}
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.Scan build() {
org.apache.comet.serde.OperatorOuterClass.Scan result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.Scan buildPartial() {
org.apache.comet.serde.OperatorOuterClass.Scan result = new org.apache.comet.serde.OperatorOuterClass.Scan(this);
int from_bitField0_ = bitField0_;
if (fieldsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
fields_ = java.util.Collections.unmodifiableList(fields_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.fields_ = fields_;
} else {
result.fields_ = fieldsBuilder_.build();
}
result.source_ = source_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
org.apache.comet.shaded.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
org.apache.comet.shaded.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
org.apache.comet.shaded.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
org.apache.comet.shaded.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
org.apache.comet.shaded.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(org.apache.comet.shaded.protobuf.Message other) {
if (other instanceof org.apache.comet.serde.OperatorOuterClass.Scan) {
return mergeFrom((org.apache.comet.serde.OperatorOuterClass.Scan)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.comet.serde.OperatorOuterClass.Scan other) {
if (other == org.apache.comet.serde.OperatorOuterClass.Scan.getDefaultInstance()) return this;
if (fieldsBuilder_ == null) {
if (!other.fields_.isEmpty()) {
if (fields_.isEmpty()) {
fields_ = other.fields_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureFieldsIsMutable();
fields_.addAll(other.fields_);
}
onChanged();
}
} else {
if (!other.fields_.isEmpty()) {
if (fieldsBuilder_.isEmpty()) {
fieldsBuilder_.dispose();
fieldsBuilder_ = null;
fields_ = other.fields_;
bitField0_ = (bitField0_ & ~0x00000001);
fieldsBuilder_ =
org.apache.comet.shaded.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getFieldsFieldBuilder() : null;
} else {
fieldsBuilder_.addAllMessages(other.fields_);
}
}
}
if (!other.getSource().isEmpty()) {
source_ = other.source_;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
org.apache.comet.shaded.protobuf.CodedInputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
org.apache.comet.serde.ExprOuterClass.DataType m =
input.readMessage(
org.apache.comet.serde.ExprOuterClass.DataType.parser(),
extensionRegistry);
if (fieldsBuilder_ == null) {
ensureFieldsIsMutable();
fields_.add(m);
} else {
fieldsBuilder_.addMessage(m);
}
break;
} // case 10
case 18: {
source_ = input.readStringRequireUtf8();
break;
} // case 18
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (org.apache.comet.shaded.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.util.List fields_ =
java.util.Collections.emptyList();
private void ensureFieldsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
fields_ = new java.util.ArrayList(fields_);
bitField0_ |= 0x00000001;
}
}
private org.apache.comet.shaded.protobuf.RepeatedFieldBuilderV3<
org.apache.comet.serde.ExprOuterClass.DataType, org.apache.comet.serde.ExprOuterClass.DataType.Builder, org.apache.comet.serde.ExprOuterClass.DataTypeOrBuilder> fieldsBuilder_;
/**
* repeated .spark.spark_expression.DataType fields = 1;
*/
public java.util.List getFieldsList() {
if (fieldsBuilder_ == null) {
return java.util.Collections.unmodifiableList(fields_);
} else {
return fieldsBuilder_.getMessageList();
}
}
/**
* repeated .spark.spark_expression.DataType fields = 1;
*/
public int getFieldsCount() {
if (fieldsBuilder_ == null) {
return fields_.size();
} else {
return fieldsBuilder_.getCount();
}
}
/**
* repeated .spark.spark_expression.DataType fields = 1;
*/
public org.apache.comet.serde.ExprOuterClass.DataType getFields(int index) {
if (fieldsBuilder_ == null) {
return fields_.get(index);
} else {
return fieldsBuilder_.getMessage(index);
}
}
/**
* repeated .spark.spark_expression.DataType fields = 1;
*/
public Builder setFields(
int index, org.apache.comet.serde.ExprOuterClass.DataType value) {
if (fieldsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureFieldsIsMutable();
fields_.set(index, value);
onChanged();
} else {
fieldsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .spark.spark_expression.DataType fields = 1;
*/
public Builder setFields(
int index, org.apache.comet.serde.ExprOuterClass.DataType.Builder builderForValue) {
if (fieldsBuilder_ == null) {
ensureFieldsIsMutable();
fields_.set(index, builderForValue.build());
onChanged();
} else {
fieldsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .spark.spark_expression.DataType fields = 1;
*/
public Builder addFields(org.apache.comet.serde.ExprOuterClass.DataType value) {
if (fieldsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureFieldsIsMutable();
fields_.add(value);
onChanged();
} else {
fieldsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .spark.spark_expression.DataType fields = 1;
*/
public Builder addFields(
int index, org.apache.comet.serde.ExprOuterClass.DataType value) {
if (fieldsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureFieldsIsMutable();
fields_.add(index, value);
onChanged();
} else {
fieldsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .spark.spark_expression.DataType fields = 1;
*/
public Builder addFields(
org.apache.comet.serde.ExprOuterClass.DataType.Builder builderForValue) {
if (fieldsBuilder_ == null) {
ensureFieldsIsMutable();
fields_.add(builderForValue.build());
onChanged();
} else {
fieldsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .spark.spark_expression.DataType fields = 1;
*/
public Builder addFields(
int index, org.apache.comet.serde.ExprOuterClass.DataType.Builder builderForValue) {
if (fieldsBuilder_ == null) {
ensureFieldsIsMutable();
fields_.add(index, builderForValue.build());
onChanged();
} else {
fieldsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .spark.spark_expression.DataType fields = 1;
*/
public Builder addAllFields(
java.lang.Iterable extends org.apache.comet.serde.ExprOuterClass.DataType> values) {
if (fieldsBuilder_ == null) {
ensureFieldsIsMutable();
org.apache.comet.shaded.protobuf.AbstractMessageLite.Builder.addAll(
values, fields_);
onChanged();
} else {
fieldsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .spark.spark_expression.DataType fields = 1;
*/
public Builder clearFields() {
if (fieldsBuilder_ == null) {
fields_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
fieldsBuilder_.clear();
}
return this;
}
/**
* repeated .spark.spark_expression.DataType fields = 1;
*/
public Builder removeFields(int index) {
if (fieldsBuilder_ == null) {
ensureFieldsIsMutable();
fields_.remove(index);
onChanged();
} else {
fieldsBuilder_.remove(index);
}
return this;
}
/**
* repeated .spark.spark_expression.DataType fields = 1;
*/
public org.apache.comet.serde.ExprOuterClass.DataType.Builder getFieldsBuilder(
int index) {
return getFieldsFieldBuilder().getBuilder(index);
}
/**
* repeated .spark.spark_expression.DataType fields = 1;
*/
public org.apache.comet.serde.ExprOuterClass.DataTypeOrBuilder getFieldsOrBuilder(
int index) {
if (fieldsBuilder_ == null) {
return fields_.get(index); } else {
return fieldsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .spark.spark_expression.DataType fields = 1;
*/
public java.util.List extends org.apache.comet.serde.ExprOuterClass.DataTypeOrBuilder>
getFieldsOrBuilderList() {
if (fieldsBuilder_ != null) {
return fieldsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(fields_);
}
}
/**
* repeated .spark.spark_expression.DataType fields = 1;
*/
public org.apache.comet.serde.ExprOuterClass.DataType.Builder addFieldsBuilder() {
return getFieldsFieldBuilder().addBuilder(
org.apache.comet.serde.ExprOuterClass.DataType.getDefaultInstance());
}
/**
* repeated .spark.spark_expression.DataType fields = 1;
*/
public org.apache.comet.serde.ExprOuterClass.DataType.Builder addFieldsBuilder(
int index) {
return getFieldsFieldBuilder().addBuilder(
index, org.apache.comet.serde.ExprOuterClass.DataType.getDefaultInstance());
}
/**
* repeated .spark.spark_expression.DataType fields = 1;
*/
public java.util.List
getFieldsBuilderList() {
return getFieldsFieldBuilder().getBuilderList();
}
private org.apache.comet.shaded.protobuf.RepeatedFieldBuilderV3<
org.apache.comet.serde.ExprOuterClass.DataType, org.apache.comet.serde.ExprOuterClass.DataType.Builder, org.apache.comet.serde.ExprOuterClass.DataTypeOrBuilder>
getFieldsFieldBuilder() {
if (fieldsBuilder_ == null) {
fieldsBuilder_ = new org.apache.comet.shaded.protobuf.RepeatedFieldBuilderV3<
org.apache.comet.serde.ExprOuterClass.DataType, org.apache.comet.serde.ExprOuterClass.DataType.Builder, org.apache.comet.serde.ExprOuterClass.DataTypeOrBuilder>(
fields_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
fields_ = null;
}
return fieldsBuilder_;
}
private java.lang.Object source_ = "";
/**
*
* The source of the scan (e.g. file scan, broadcast exchange, shuffle, etc). This
* is purely for informational purposes when viewing native query plans in
* debug mode.
*
*
* string source = 2;
* @return The source.
*/
public java.lang.String getSource() {
java.lang.Object ref = source_;
if (!(ref instanceof java.lang.String)) {
org.apache.comet.shaded.protobuf.ByteString bs =
(org.apache.comet.shaded.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
source_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* The source of the scan (e.g. file scan, broadcast exchange, shuffle, etc). This
* is purely for informational purposes when viewing native query plans in
* debug mode.
*
*
* string source = 2;
* @return The bytes for source.
*/
public org.apache.comet.shaded.protobuf.ByteString
getSourceBytes() {
java.lang.Object ref = source_;
if (ref instanceof String) {
org.apache.comet.shaded.protobuf.ByteString b =
org.apache.comet.shaded.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
source_ = b;
return b;
} else {
return (org.apache.comet.shaded.protobuf.ByteString) ref;
}
}
/**
*
* The source of the scan (e.g. file scan, broadcast exchange, shuffle, etc). This
* is purely for informational purposes when viewing native query plans in
* debug mode.
*
*
* string source = 2;
* @param value The source to set.
* @return This builder for chaining.
*/
public Builder setSource(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
source_ = value;
onChanged();
return this;
}
/**
*
* The source of the scan (e.g. file scan, broadcast exchange, shuffle, etc). This
* is purely for informational purposes when viewing native query plans in
* debug mode.
*
*
* string source = 2;
* @return This builder for chaining.
*/
public Builder clearSource() {
source_ = getDefaultInstance().getSource();
onChanged();
return this;
}
/**
*
* The source of the scan (e.g. file scan, broadcast exchange, shuffle, etc). This
* is purely for informational purposes when viewing native query plans in
* debug mode.
*
*
* string source = 2;
* @param value The bytes for source to set.
* @return This builder for chaining.
*/
public Builder setSourceBytes(
org.apache.comet.shaded.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
source_ = value;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final org.apache.comet.shaded.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final org.apache.comet.shaded.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:spark.spark_operator.Scan)
}
// @@protoc_insertion_point(class_scope:spark.spark_operator.Scan)
private static final org.apache.comet.serde.OperatorOuterClass.Scan DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.comet.serde.OperatorOuterClass.Scan();
}
public static org.apache.comet.serde.OperatorOuterClass.Scan getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final org.apache.comet.shaded.protobuf.Parser
PARSER = new org.apache.comet.shaded.protobuf.AbstractParser() {
@java.lang.Override
public Scan parsePartialFrom(
org.apache.comet.shaded.protobuf.CodedInputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (org.apache.comet.shaded.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (org.apache.comet.shaded.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new org.apache.comet.shaded.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static org.apache.comet.shaded.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public org.apache.comet.shaded.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.Scan getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ProjectionOrBuilder extends
// @@protoc_insertion_point(interface_extends:spark.spark_operator.Projection)
org.apache.comet.shaded.protobuf.MessageOrBuilder {
/**
* repeated .spark.spark_expression.Expr project_list = 1;
*/
java.util.List
getProjectListList();
/**
* repeated .spark.spark_expression.Expr project_list = 1;
*/
org.apache.comet.serde.ExprOuterClass.Expr getProjectList(int index);
/**
* repeated .spark.spark_expression.Expr project_list = 1;
*/
int getProjectListCount();
/**
* repeated .spark.spark_expression.Expr project_list = 1;
*/
java.util.List extends org.apache.comet.serde.ExprOuterClass.ExprOrBuilder>
getProjectListOrBuilderList();
/**
* repeated .spark.spark_expression.Expr project_list = 1;
*/
org.apache.comet.serde.ExprOuterClass.ExprOrBuilder getProjectListOrBuilder(
int index);
}
/**
* Protobuf type {@code spark.spark_operator.Projection}
*/
public static final class Projection extends
org.apache.comet.shaded.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:spark.spark_operator.Projection)
ProjectionOrBuilder {
private static final long serialVersionUID = 0L;
// Use Projection.newBuilder() to construct.
private Projection(org.apache.comet.shaded.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Projection() {
projectList_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Projection();
}
@java.lang.Override
public final org.apache.comet.shaded.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final org.apache.comet.shaded.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_Projection_descriptor;
}
@java.lang.Override
protected org.apache.comet.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_Projection_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.comet.serde.OperatorOuterClass.Projection.class, org.apache.comet.serde.OperatorOuterClass.Projection.Builder.class);
}
public static final int PROJECT_LIST_FIELD_NUMBER = 1;
private java.util.List projectList_;
/**
* repeated .spark.spark_expression.Expr project_list = 1;
*/
@java.lang.Override
public java.util.List getProjectListList() {
return projectList_;
}
/**
* repeated .spark.spark_expression.Expr project_list = 1;
*/
@java.lang.Override
public java.util.List extends org.apache.comet.serde.ExprOuterClass.ExprOrBuilder>
getProjectListOrBuilderList() {
return projectList_;
}
/**
* repeated .spark.spark_expression.Expr project_list = 1;
*/
@java.lang.Override
public int getProjectListCount() {
return projectList_.size();
}
/**
* repeated .spark.spark_expression.Expr project_list = 1;
*/
@java.lang.Override
public org.apache.comet.serde.ExprOuterClass.Expr getProjectList(int index) {
return projectList_.get(index);
}
/**
* repeated .spark.spark_expression.Expr project_list = 1;
*/
@java.lang.Override
public org.apache.comet.serde.ExprOuterClass.ExprOrBuilder getProjectListOrBuilder(
int index) {
return projectList_.get(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(org.apache.comet.shaded.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < projectList_.size(); i++) {
output.writeMessage(1, projectList_.get(i));
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < projectList_.size(); i++) {
size += org.apache.comet.shaded.protobuf.CodedOutputStream
.computeMessageSize(1, projectList_.get(i));
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.comet.serde.OperatorOuterClass.Projection)) {
return super.equals(obj);
}
org.apache.comet.serde.OperatorOuterClass.Projection other = (org.apache.comet.serde.OperatorOuterClass.Projection) obj;
if (!getProjectListList()
.equals(other.getProjectListList())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getProjectListCount() > 0) {
hash = (37 * hash) + PROJECT_LIST_FIELD_NUMBER;
hash = (53 * hash) + getProjectListList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.comet.serde.OperatorOuterClass.Projection parseFrom(
java.nio.ByteBuffer data)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.comet.serde.OperatorOuterClass.Projection parseFrom(
java.nio.ByteBuffer data,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.Projection parseFrom(
org.apache.comet.shaded.protobuf.ByteString data)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.comet.serde.OperatorOuterClass.Projection parseFrom(
org.apache.comet.shaded.protobuf.ByteString data,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.Projection parseFrom(byte[] data)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.comet.serde.OperatorOuterClass.Projection parseFrom(
byte[] data,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.Projection parseFrom(java.io.InputStream input)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.comet.serde.OperatorOuterClass.Projection parseFrom(
java.io.InputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.Projection parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.comet.serde.OperatorOuterClass.Projection parseDelimitedFrom(
java.io.InputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.Projection parseFrom(
org.apache.comet.shaded.protobuf.CodedInputStream input)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.comet.serde.OperatorOuterClass.Projection parseFrom(
org.apache.comet.shaded.protobuf.CodedInputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.comet.serde.OperatorOuterClass.Projection prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
org.apache.comet.shaded.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code spark.spark_operator.Projection}
*/
public static final class Builder extends
org.apache.comet.shaded.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:spark.spark_operator.Projection)
org.apache.comet.serde.OperatorOuterClass.ProjectionOrBuilder {
public static final org.apache.comet.shaded.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_Projection_descriptor;
}
@java.lang.Override
protected org.apache.comet.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_Projection_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.comet.serde.OperatorOuterClass.Projection.class, org.apache.comet.serde.OperatorOuterClass.Projection.Builder.class);
}
// Construct using org.apache.comet.serde.OperatorOuterClass.Projection.newBuilder()
private Builder() {
}
private Builder(
org.apache.comet.shaded.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
if (projectListBuilder_ == null) {
projectList_ = java.util.Collections.emptyList();
} else {
projectList_ = null;
projectListBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
@java.lang.Override
public org.apache.comet.shaded.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_Projection_descriptor;
}
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.Projection getDefaultInstanceForType() {
return org.apache.comet.serde.OperatorOuterClass.Projection.getDefaultInstance();
}
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.Projection build() {
org.apache.comet.serde.OperatorOuterClass.Projection result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.Projection buildPartial() {
org.apache.comet.serde.OperatorOuterClass.Projection result = new org.apache.comet.serde.OperatorOuterClass.Projection(this);
int from_bitField0_ = bitField0_;
if (projectListBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
projectList_ = java.util.Collections.unmodifiableList(projectList_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.projectList_ = projectList_;
} else {
result.projectList_ = projectListBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
org.apache.comet.shaded.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
org.apache.comet.shaded.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
org.apache.comet.shaded.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
org.apache.comet.shaded.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
org.apache.comet.shaded.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(org.apache.comet.shaded.protobuf.Message other) {
if (other instanceof org.apache.comet.serde.OperatorOuterClass.Projection) {
return mergeFrom((org.apache.comet.serde.OperatorOuterClass.Projection)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.comet.serde.OperatorOuterClass.Projection other) {
if (other == org.apache.comet.serde.OperatorOuterClass.Projection.getDefaultInstance()) return this;
if (projectListBuilder_ == null) {
if (!other.projectList_.isEmpty()) {
if (projectList_.isEmpty()) {
projectList_ = other.projectList_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureProjectListIsMutable();
projectList_.addAll(other.projectList_);
}
onChanged();
}
} else {
if (!other.projectList_.isEmpty()) {
if (projectListBuilder_.isEmpty()) {
projectListBuilder_.dispose();
projectListBuilder_ = null;
projectList_ = other.projectList_;
bitField0_ = (bitField0_ & ~0x00000001);
projectListBuilder_ =
org.apache.comet.shaded.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getProjectListFieldBuilder() : null;
} else {
projectListBuilder_.addAllMessages(other.projectList_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
org.apache.comet.shaded.protobuf.CodedInputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
org.apache.comet.serde.ExprOuterClass.Expr m =
input.readMessage(
org.apache.comet.serde.ExprOuterClass.Expr.parser(),
extensionRegistry);
if (projectListBuilder_ == null) {
ensureProjectListIsMutable();
projectList_.add(m);
} else {
projectListBuilder_.addMessage(m);
}
break;
} // case 10
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (org.apache.comet.shaded.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.util.List projectList_ =
java.util.Collections.emptyList();
private void ensureProjectListIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
projectList_ = new java.util.ArrayList(projectList_);
bitField0_ |= 0x00000001;
}
}
private org.apache.comet.shaded.protobuf.RepeatedFieldBuilderV3<
org.apache.comet.serde.ExprOuterClass.Expr, org.apache.comet.serde.ExprOuterClass.Expr.Builder, org.apache.comet.serde.ExprOuterClass.ExprOrBuilder> projectListBuilder_;
/**
* repeated .spark.spark_expression.Expr project_list = 1;
*/
public java.util.List getProjectListList() {
if (projectListBuilder_ == null) {
return java.util.Collections.unmodifiableList(projectList_);
} else {
return projectListBuilder_.getMessageList();
}
}
/**
* repeated .spark.spark_expression.Expr project_list = 1;
*/
public int getProjectListCount() {
if (projectListBuilder_ == null) {
return projectList_.size();
} else {
return projectListBuilder_.getCount();
}
}
/**
* repeated .spark.spark_expression.Expr project_list = 1;
*/
public org.apache.comet.serde.ExprOuterClass.Expr getProjectList(int index) {
if (projectListBuilder_ == null) {
return projectList_.get(index);
} else {
return projectListBuilder_.getMessage(index);
}
}
/**
* repeated .spark.spark_expression.Expr project_list = 1;
*/
public Builder setProjectList(
int index, org.apache.comet.serde.ExprOuterClass.Expr value) {
if (projectListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureProjectListIsMutable();
projectList_.set(index, value);
onChanged();
} else {
projectListBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .spark.spark_expression.Expr project_list = 1;
*/
public Builder setProjectList(
int index, org.apache.comet.serde.ExprOuterClass.Expr.Builder builderForValue) {
if (projectListBuilder_ == null) {
ensureProjectListIsMutable();
projectList_.set(index, builderForValue.build());
onChanged();
} else {
projectListBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .spark.spark_expression.Expr project_list = 1;
*/
public Builder addProjectList(org.apache.comet.serde.ExprOuterClass.Expr value) {
if (projectListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureProjectListIsMutable();
projectList_.add(value);
onChanged();
} else {
projectListBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .spark.spark_expression.Expr project_list = 1;
*/
public Builder addProjectList(
int index, org.apache.comet.serde.ExprOuterClass.Expr value) {
if (projectListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureProjectListIsMutable();
projectList_.add(index, value);
onChanged();
} else {
projectListBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .spark.spark_expression.Expr project_list = 1;
*/
public Builder addProjectList(
org.apache.comet.serde.ExprOuterClass.Expr.Builder builderForValue) {
if (projectListBuilder_ == null) {
ensureProjectListIsMutable();
projectList_.add(builderForValue.build());
onChanged();
} else {
projectListBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .spark.spark_expression.Expr project_list = 1;
*/
public Builder addProjectList(
int index, org.apache.comet.serde.ExprOuterClass.Expr.Builder builderForValue) {
if (projectListBuilder_ == null) {
ensureProjectListIsMutable();
projectList_.add(index, builderForValue.build());
onChanged();
} else {
projectListBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .spark.spark_expression.Expr project_list = 1;
*/
public Builder addAllProjectList(
java.lang.Iterable extends org.apache.comet.serde.ExprOuterClass.Expr> values) {
if (projectListBuilder_ == null) {
ensureProjectListIsMutable();
org.apache.comet.shaded.protobuf.AbstractMessageLite.Builder.addAll(
values, projectList_);
onChanged();
} else {
projectListBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .spark.spark_expression.Expr project_list = 1;
*/
public Builder clearProjectList() {
if (projectListBuilder_ == null) {
projectList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
projectListBuilder_.clear();
}
return this;
}
/**
* repeated .spark.spark_expression.Expr project_list = 1;
*/
public Builder removeProjectList(int index) {
if (projectListBuilder_ == null) {
ensureProjectListIsMutable();
projectList_.remove(index);
onChanged();
} else {
projectListBuilder_.remove(index);
}
return this;
}
/**
* repeated .spark.spark_expression.Expr project_list = 1;
*/
public org.apache.comet.serde.ExprOuterClass.Expr.Builder getProjectListBuilder(
int index) {
return getProjectListFieldBuilder().getBuilder(index);
}
/**
* repeated .spark.spark_expression.Expr project_list = 1;
*/
public org.apache.comet.serde.ExprOuterClass.ExprOrBuilder getProjectListOrBuilder(
int index) {
if (projectListBuilder_ == null) {
return projectList_.get(index); } else {
return projectListBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .spark.spark_expression.Expr project_list = 1;
*/
public java.util.List extends org.apache.comet.serde.ExprOuterClass.ExprOrBuilder>
getProjectListOrBuilderList() {
if (projectListBuilder_ != null) {
return projectListBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(projectList_);
}
}
/**
* repeated .spark.spark_expression.Expr project_list = 1;
*/
public org.apache.comet.serde.ExprOuterClass.Expr.Builder addProjectListBuilder() {
return getProjectListFieldBuilder().addBuilder(
org.apache.comet.serde.ExprOuterClass.Expr.getDefaultInstance());
}
/**
* repeated .spark.spark_expression.Expr project_list = 1;
*/
public org.apache.comet.serde.ExprOuterClass.Expr.Builder addProjectListBuilder(
int index) {
return getProjectListFieldBuilder().addBuilder(
index, org.apache.comet.serde.ExprOuterClass.Expr.getDefaultInstance());
}
/**
* repeated .spark.spark_expression.Expr project_list = 1;
*/
public java.util.List
getProjectListBuilderList() {
return getProjectListFieldBuilder().getBuilderList();
}
private org.apache.comet.shaded.protobuf.RepeatedFieldBuilderV3<
org.apache.comet.serde.ExprOuterClass.Expr, org.apache.comet.serde.ExprOuterClass.Expr.Builder, org.apache.comet.serde.ExprOuterClass.ExprOrBuilder>
getProjectListFieldBuilder() {
if (projectListBuilder_ == null) {
projectListBuilder_ = new org.apache.comet.shaded.protobuf.RepeatedFieldBuilderV3<
org.apache.comet.serde.ExprOuterClass.Expr, org.apache.comet.serde.ExprOuterClass.Expr.Builder, org.apache.comet.serde.ExprOuterClass.ExprOrBuilder>(
projectList_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
projectList_ = null;
}
return projectListBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final org.apache.comet.shaded.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final org.apache.comet.shaded.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:spark.spark_operator.Projection)
}
// @@protoc_insertion_point(class_scope:spark.spark_operator.Projection)
private static final org.apache.comet.serde.OperatorOuterClass.Projection DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.comet.serde.OperatorOuterClass.Projection();
}
public static org.apache.comet.serde.OperatorOuterClass.Projection getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final org.apache.comet.shaded.protobuf.Parser
PARSER = new org.apache.comet.shaded.protobuf.AbstractParser() {
@java.lang.Override
public Projection parsePartialFrom(
org.apache.comet.shaded.protobuf.CodedInputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (org.apache.comet.shaded.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (org.apache.comet.shaded.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new org.apache.comet.shaded.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static org.apache.comet.shaded.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public org.apache.comet.shaded.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.Projection getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface FilterOrBuilder extends
// @@protoc_insertion_point(interface_extends:spark.spark_operator.Filter)
org.apache.comet.shaded.protobuf.MessageOrBuilder {
/**
* .spark.spark_expression.Expr predicate = 1;
* @return Whether the predicate field is set.
*/
boolean hasPredicate();
/**
* .spark.spark_expression.Expr predicate = 1;
* @return The predicate.
*/
org.apache.comet.serde.ExprOuterClass.Expr getPredicate();
/**
* .spark.spark_expression.Expr predicate = 1;
*/
org.apache.comet.serde.ExprOuterClass.ExprOrBuilder getPredicateOrBuilder();
}
/**
* Protobuf type {@code spark.spark_operator.Filter}
*/
public static final class Filter extends
org.apache.comet.shaded.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:spark.spark_operator.Filter)
FilterOrBuilder {
private static final long serialVersionUID = 0L;
// Use Filter.newBuilder() to construct.
private Filter(org.apache.comet.shaded.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Filter() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Filter();
}
@java.lang.Override
public final org.apache.comet.shaded.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final org.apache.comet.shaded.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_Filter_descriptor;
}
@java.lang.Override
protected org.apache.comet.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_Filter_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.comet.serde.OperatorOuterClass.Filter.class, org.apache.comet.serde.OperatorOuterClass.Filter.Builder.class);
}
public static final int PREDICATE_FIELD_NUMBER = 1;
private org.apache.comet.serde.ExprOuterClass.Expr predicate_;
/**
* .spark.spark_expression.Expr predicate = 1;
* @return Whether the predicate field is set.
*/
@java.lang.Override
public boolean hasPredicate() {
return predicate_ != null;
}
/**
* .spark.spark_expression.Expr predicate = 1;
* @return The predicate.
*/
@java.lang.Override
public org.apache.comet.serde.ExprOuterClass.Expr getPredicate() {
return predicate_ == null ? org.apache.comet.serde.ExprOuterClass.Expr.getDefaultInstance() : predicate_;
}
/**
* .spark.spark_expression.Expr predicate = 1;
*/
@java.lang.Override
public org.apache.comet.serde.ExprOuterClass.ExprOrBuilder getPredicateOrBuilder() {
return getPredicate();
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(org.apache.comet.shaded.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (predicate_ != null) {
output.writeMessage(1, getPredicate());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (predicate_ != null) {
size += org.apache.comet.shaded.protobuf.CodedOutputStream
.computeMessageSize(1, getPredicate());
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.comet.serde.OperatorOuterClass.Filter)) {
return super.equals(obj);
}
org.apache.comet.serde.OperatorOuterClass.Filter other = (org.apache.comet.serde.OperatorOuterClass.Filter) obj;
if (hasPredicate() != other.hasPredicate()) return false;
if (hasPredicate()) {
if (!getPredicate()
.equals(other.getPredicate())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasPredicate()) {
hash = (37 * hash) + PREDICATE_FIELD_NUMBER;
hash = (53 * hash) + getPredicate().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.comet.serde.OperatorOuterClass.Filter parseFrom(
java.nio.ByteBuffer data)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.comet.serde.OperatorOuterClass.Filter parseFrom(
java.nio.ByteBuffer data,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.Filter parseFrom(
org.apache.comet.shaded.protobuf.ByteString data)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.comet.serde.OperatorOuterClass.Filter parseFrom(
org.apache.comet.shaded.protobuf.ByteString data,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.Filter parseFrom(byte[] data)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.comet.serde.OperatorOuterClass.Filter parseFrom(
byte[] data,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.Filter parseFrom(java.io.InputStream input)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.comet.serde.OperatorOuterClass.Filter parseFrom(
java.io.InputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.Filter parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.comet.serde.OperatorOuterClass.Filter parseDelimitedFrom(
java.io.InputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.Filter parseFrom(
org.apache.comet.shaded.protobuf.CodedInputStream input)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.comet.serde.OperatorOuterClass.Filter parseFrom(
org.apache.comet.shaded.protobuf.CodedInputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.comet.serde.OperatorOuterClass.Filter prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
org.apache.comet.shaded.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code spark.spark_operator.Filter}
*/
public static final class Builder extends
org.apache.comet.shaded.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:spark.spark_operator.Filter)
org.apache.comet.serde.OperatorOuterClass.FilterOrBuilder {
public static final org.apache.comet.shaded.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_Filter_descriptor;
}
@java.lang.Override
protected org.apache.comet.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_Filter_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.comet.serde.OperatorOuterClass.Filter.class, org.apache.comet.serde.OperatorOuterClass.Filter.Builder.class);
}
// Construct using org.apache.comet.serde.OperatorOuterClass.Filter.newBuilder()
private Builder() {
}
private Builder(
org.apache.comet.shaded.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
if (predicateBuilder_ == null) {
predicate_ = null;
} else {
predicate_ = null;
predicateBuilder_ = null;
}
return this;
}
@java.lang.Override
public org.apache.comet.shaded.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_Filter_descriptor;
}
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.Filter getDefaultInstanceForType() {
return org.apache.comet.serde.OperatorOuterClass.Filter.getDefaultInstance();
}
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.Filter build() {
org.apache.comet.serde.OperatorOuterClass.Filter result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.Filter buildPartial() {
org.apache.comet.serde.OperatorOuterClass.Filter result = new org.apache.comet.serde.OperatorOuterClass.Filter(this);
if (predicateBuilder_ == null) {
result.predicate_ = predicate_;
} else {
result.predicate_ = predicateBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
org.apache.comet.shaded.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
org.apache.comet.shaded.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
org.apache.comet.shaded.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
org.apache.comet.shaded.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
org.apache.comet.shaded.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(org.apache.comet.shaded.protobuf.Message other) {
if (other instanceof org.apache.comet.serde.OperatorOuterClass.Filter) {
return mergeFrom((org.apache.comet.serde.OperatorOuterClass.Filter)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.comet.serde.OperatorOuterClass.Filter other) {
if (other == org.apache.comet.serde.OperatorOuterClass.Filter.getDefaultInstance()) return this;
if (other.hasPredicate()) {
mergePredicate(other.getPredicate());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
org.apache.comet.shaded.protobuf.CodedInputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getPredicateFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 10
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (org.apache.comet.shaded.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private org.apache.comet.serde.ExprOuterClass.Expr predicate_;
private org.apache.comet.shaded.protobuf.SingleFieldBuilderV3<
org.apache.comet.serde.ExprOuterClass.Expr, org.apache.comet.serde.ExprOuterClass.Expr.Builder, org.apache.comet.serde.ExprOuterClass.ExprOrBuilder> predicateBuilder_;
/**
* .spark.spark_expression.Expr predicate = 1;
* @return Whether the predicate field is set.
*/
public boolean hasPredicate() {
return predicateBuilder_ != null || predicate_ != null;
}
/**
* .spark.spark_expression.Expr predicate = 1;
* @return The predicate.
*/
public org.apache.comet.serde.ExprOuterClass.Expr getPredicate() {
if (predicateBuilder_ == null) {
return predicate_ == null ? org.apache.comet.serde.ExprOuterClass.Expr.getDefaultInstance() : predicate_;
} else {
return predicateBuilder_.getMessage();
}
}
/**
* .spark.spark_expression.Expr predicate = 1;
*/
public Builder setPredicate(org.apache.comet.serde.ExprOuterClass.Expr value) {
if (predicateBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
predicate_ = value;
onChanged();
} else {
predicateBuilder_.setMessage(value);
}
return this;
}
/**
* .spark.spark_expression.Expr predicate = 1;
*/
public Builder setPredicate(
org.apache.comet.serde.ExprOuterClass.Expr.Builder builderForValue) {
if (predicateBuilder_ == null) {
predicate_ = builderForValue.build();
onChanged();
} else {
predicateBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .spark.spark_expression.Expr predicate = 1;
*/
public Builder mergePredicate(org.apache.comet.serde.ExprOuterClass.Expr value) {
if (predicateBuilder_ == null) {
if (predicate_ != null) {
predicate_ =
org.apache.comet.serde.ExprOuterClass.Expr.newBuilder(predicate_).mergeFrom(value).buildPartial();
} else {
predicate_ = value;
}
onChanged();
} else {
predicateBuilder_.mergeFrom(value);
}
return this;
}
/**
* .spark.spark_expression.Expr predicate = 1;
*/
public Builder clearPredicate() {
if (predicateBuilder_ == null) {
predicate_ = null;
onChanged();
} else {
predicate_ = null;
predicateBuilder_ = null;
}
return this;
}
/**
* .spark.spark_expression.Expr predicate = 1;
*/
public org.apache.comet.serde.ExprOuterClass.Expr.Builder getPredicateBuilder() {
onChanged();
return getPredicateFieldBuilder().getBuilder();
}
/**
* .spark.spark_expression.Expr predicate = 1;
*/
public org.apache.comet.serde.ExprOuterClass.ExprOrBuilder getPredicateOrBuilder() {
if (predicateBuilder_ != null) {
return predicateBuilder_.getMessageOrBuilder();
} else {
return predicate_ == null ?
org.apache.comet.serde.ExprOuterClass.Expr.getDefaultInstance() : predicate_;
}
}
/**
* .spark.spark_expression.Expr predicate = 1;
*/
private org.apache.comet.shaded.protobuf.SingleFieldBuilderV3<
org.apache.comet.serde.ExprOuterClass.Expr, org.apache.comet.serde.ExprOuterClass.Expr.Builder, org.apache.comet.serde.ExprOuterClass.ExprOrBuilder>
getPredicateFieldBuilder() {
if (predicateBuilder_ == null) {
predicateBuilder_ = new org.apache.comet.shaded.protobuf.SingleFieldBuilderV3<
org.apache.comet.serde.ExprOuterClass.Expr, org.apache.comet.serde.ExprOuterClass.Expr.Builder, org.apache.comet.serde.ExprOuterClass.ExprOrBuilder>(
getPredicate(),
getParentForChildren(),
isClean());
predicate_ = null;
}
return predicateBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final org.apache.comet.shaded.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final org.apache.comet.shaded.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:spark.spark_operator.Filter)
}
// @@protoc_insertion_point(class_scope:spark.spark_operator.Filter)
private static final org.apache.comet.serde.OperatorOuterClass.Filter DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.comet.serde.OperatorOuterClass.Filter();
}
public static org.apache.comet.serde.OperatorOuterClass.Filter getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final org.apache.comet.shaded.protobuf.Parser
PARSER = new org.apache.comet.shaded.protobuf.AbstractParser() {
@java.lang.Override
public Filter parsePartialFrom(
org.apache.comet.shaded.protobuf.CodedInputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (org.apache.comet.shaded.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (org.apache.comet.shaded.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new org.apache.comet.shaded.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static org.apache.comet.shaded.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public org.apache.comet.shaded.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.Filter getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface SortOrBuilder extends
// @@protoc_insertion_point(interface_extends:spark.spark_operator.Sort)
org.apache.comet.shaded.protobuf.MessageOrBuilder {
/**
* repeated .spark.spark_expression.Expr sort_orders = 1;
*/
java.util.List
getSortOrdersList();
/**
* repeated .spark.spark_expression.Expr sort_orders = 1;
*/
org.apache.comet.serde.ExprOuterClass.Expr getSortOrders(int index);
/**
* repeated .spark.spark_expression.Expr sort_orders = 1;
*/
int getSortOrdersCount();
/**
* repeated .spark.spark_expression.Expr sort_orders = 1;
*/
java.util.List extends org.apache.comet.serde.ExprOuterClass.ExprOrBuilder>
getSortOrdersOrBuilderList();
/**
* repeated .spark.spark_expression.Expr sort_orders = 1;
*/
org.apache.comet.serde.ExprOuterClass.ExprOrBuilder getSortOrdersOrBuilder(
int index);
/**
* optional int32 fetch = 3;
* @return Whether the fetch field is set.
*/
boolean hasFetch();
/**
* optional int32 fetch = 3;
* @return The fetch.
*/
int getFetch();
}
/**
* Protobuf type {@code spark.spark_operator.Sort}
*/
public static final class Sort extends
org.apache.comet.shaded.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:spark.spark_operator.Sort)
SortOrBuilder {
private static final long serialVersionUID = 0L;
// Use Sort.newBuilder() to construct.
private Sort(org.apache.comet.shaded.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Sort() {
sortOrders_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Sort();
}
@java.lang.Override
public final org.apache.comet.shaded.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final org.apache.comet.shaded.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_Sort_descriptor;
}
@java.lang.Override
protected org.apache.comet.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_Sort_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.comet.serde.OperatorOuterClass.Sort.class, org.apache.comet.serde.OperatorOuterClass.Sort.Builder.class);
}
private int bitField0_;
public static final int SORT_ORDERS_FIELD_NUMBER = 1;
private java.util.List sortOrders_;
/**
* repeated .spark.spark_expression.Expr sort_orders = 1;
*/
@java.lang.Override
public java.util.List getSortOrdersList() {
return sortOrders_;
}
/**
* repeated .spark.spark_expression.Expr sort_orders = 1;
*/
@java.lang.Override
public java.util.List extends org.apache.comet.serde.ExprOuterClass.ExprOrBuilder>
getSortOrdersOrBuilderList() {
return sortOrders_;
}
/**
* repeated .spark.spark_expression.Expr sort_orders = 1;
*/
@java.lang.Override
public int getSortOrdersCount() {
return sortOrders_.size();
}
/**
* repeated .spark.spark_expression.Expr sort_orders = 1;
*/
@java.lang.Override
public org.apache.comet.serde.ExprOuterClass.Expr getSortOrders(int index) {
return sortOrders_.get(index);
}
/**
* repeated .spark.spark_expression.Expr sort_orders = 1;
*/
@java.lang.Override
public org.apache.comet.serde.ExprOuterClass.ExprOrBuilder getSortOrdersOrBuilder(
int index) {
return sortOrders_.get(index);
}
public static final int FETCH_FIELD_NUMBER = 3;
private int fetch_;
/**
* optional int32 fetch = 3;
* @return Whether the fetch field is set.
*/
@java.lang.Override
public boolean hasFetch() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional int32 fetch = 3;
* @return The fetch.
*/
@java.lang.Override
public int getFetch() {
return fetch_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(org.apache.comet.shaded.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < sortOrders_.size(); i++) {
output.writeMessage(1, sortOrders_.get(i));
}
if (((bitField0_ & 0x00000001) != 0)) {
output.writeInt32(3, fetch_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < sortOrders_.size(); i++) {
size += org.apache.comet.shaded.protobuf.CodedOutputStream
.computeMessageSize(1, sortOrders_.get(i));
}
if (((bitField0_ & 0x00000001) != 0)) {
size += org.apache.comet.shaded.protobuf.CodedOutputStream
.computeInt32Size(3, fetch_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.comet.serde.OperatorOuterClass.Sort)) {
return super.equals(obj);
}
org.apache.comet.serde.OperatorOuterClass.Sort other = (org.apache.comet.serde.OperatorOuterClass.Sort) obj;
if (!getSortOrdersList()
.equals(other.getSortOrdersList())) return false;
if (hasFetch() != other.hasFetch()) return false;
if (hasFetch()) {
if (getFetch()
!= other.getFetch()) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getSortOrdersCount() > 0) {
hash = (37 * hash) + SORT_ORDERS_FIELD_NUMBER;
hash = (53 * hash) + getSortOrdersList().hashCode();
}
if (hasFetch()) {
hash = (37 * hash) + FETCH_FIELD_NUMBER;
hash = (53 * hash) + getFetch();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.comet.serde.OperatorOuterClass.Sort parseFrom(
java.nio.ByteBuffer data)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.comet.serde.OperatorOuterClass.Sort parseFrom(
java.nio.ByteBuffer data,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.Sort parseFrom(
org.apache.comet.shaded.protobuf.ByteString data)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.comet.serde.OperatorOuterClass.Sort parseFrom(
org.apache.comet.shaded.protobuf.ByteString data,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.Sort parseFrom(byte[] data)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.comet.serde.OperatorOuterClass.Sort parseFrom(
byte[] data,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.Sort parseFrom(java.io.InputStream input)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.comet.serde.OperatorOuterClass.Sort parseFrom(
java.io.InputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.Sort parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.comet.serde.OperatorOuterClass.Sort parseDelimitedFrom(
java.io.InputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.Sort parseFrom(
org.apache.comet.shaded.protobuf.CodedInputStream input)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.comet.serde.OperatorOuterClass.Sort parseFrom(
org.apache.comet.shaded.protobuf.CodedInputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.comet.serde.OperatorOuterClass.Sort prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
org.apache.comet.shaded.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code spark.spark_operator.Sort}
*/
public static final class Builder extends
org.apache.comet.shaded.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:spark.spark_operator.Sort)
org.apache.comet.serde.OperatorOuterClass.SortOrBuilder {
public static final org.apache.comet.shaded.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_Sort_descriptor;
}
@java.lang.Override
protected org.apache.comet.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_Sort_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.comet.serde.OperatorOuterClass.Sort.class, org.apache.comet.serde.OperatorOuterClass.Sort.Builder.class);
}
// Construct using org.apache.comet.serde.OperatorOuterClass.Sort.newBuilder()
private Builder() {
}
private Builder(
org.apache.comet.shaded.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
if (sortOrdersBuilder_ == null) {
sortOrders_ = java.util.Collections.emptyList();
} else {
sortOrders_ = null;
sortOrdersBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
fetch_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
@java.lang.Override
public org.apache.comet.shaded.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_Sort_descriptor;
}
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.Sort getDefaultInstanceForType() {
return org.apache.comet.serde.OperatorOuterClass.Sort.getDefaultInstance();
}
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.Sort build() {
org.apache.comet.serde.OperatorOuterClass.Sort result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.Sort buildPartial() {
org.apache.comet.serde.OperatorOuterClass.Sort result = new org.apache.comet.serde.OperatorOuterClass.Sort(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (sortOrdersBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
sortOrders_ = java.util.Collections.unmodifiableList(sortOrders_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.sortOrders_ = sortOrders_;
} else {
result.sortOrders_ = sortOrdersBuilder_.build();
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.fetch_ = fetch_;
to_bitField0_ |= 0x00000001;
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
org.apache.comet.shaded.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
org.apache.comet.shaded.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
org.apache.comet.shaded.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
org.apache.comet.shaded.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
org.apache.comet.shaded.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(org.apache.comet.shaded.protobuf.Message other) {
if (other instanceof org.apache.comet.serde.OperatorOuterClass.Sort) {
return mergeFrom((org.apache.comet.serde.OperatorOuterClass.Sort)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.comet.serde.OperatorOuterClass.Sort other) {
if (other == org.apache.comet.serde.OperatorOuterClass.Sort.getDefaultInstance()) return this;
if (sortOrdersBuilder_ == null) {
if (!other.sortOrders_.isEmpty()) {
if (sortOrders_.isEmpty()) {
sortOrders_ = other.sortOrders_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureSortOrdersIsMutable();
sortOrders_.addAll(other.sortOrders_);
}
onChanged();
}
} else {
if (!other.sortOrders_.isEmpty()) {
if (sortOrdersBuilder_.isEmpty()) {
sortOrdersBuilder_.dispose();
sortOrdersBuilder_ = null;
sortOrders_ = other.sortOrders_;
bitField0_ = (bitField0_ & ~0x00000001);
sortOrdersBuilder_ =
org.apache.comet.shaded.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getSortOrdersFieldBuilder() : null;
} else {
sortOrdersBuilder_.addAllMessages(other.sortOrders_);
}
}
}
if (other.hasFetch()) {
setFetch(other.getFetch());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
org.apache.comet.shaded.protobuf.CodedInputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
org.apache.comet.serde.ExprOuterClass.Expr m =
input.readMessage(
org.apache.comet.serde.ExprOuterClass.Expr.parser(),
extensionRegistry);
if (sortOrdersBuilder_ == null) {
ensureSortOrdersIsMutable();
sortOrders_.add(m);
} else {
sortOrdersBuilder_.addMessage(m);
}
break;
} // case 10
case 24: {
fetch_ = input.readInt32();
bitField0_ |= 0x00000002;
break;
} // case 24
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (org.apache.comet.shaded.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.util.List sortOrders_ =
java.util.Collections.emptyList();
private void ensureSortOrdersIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
sortOrders_ = new java.util.ArrayList(sortOrders_);
bitField0_ |= 0x00000001;
}
}
private org.apache.comet.shaded.protobuf.RepeatedFieldBuilderV3<
org.apache.comet.serde.ExprOuterClass.Expr, org.apache.comet.serde.ExprOuterClass.Expr.Builder, org.apache.comet.serde.ExprOuterClass.ExprOrBuilder> sortOrdersBuilder_;
/**
* repeated .spark.spark_expression.Expr sort_orders = 1;
*/
public java.util.List getSortOrdersList() {
if (sortOrdersBuilder_ == null) {
return java.util.Collections.unmodifiableList(sortOrders_);
} else {
return sortOrdersBuilder_.getMessageList();
}
}
/**
* repeated .spark.spark_expression.Expr sort_orders = 1;
*/
public int getSortOrdersCount() {
if (sortOrdersBuilder_ == null) {
return sortOrders_.size();
} else {
return sortOrdersBuilder_.getCount();
}
}
/**
* repeated .spark.spark_expression.Expr sort_orders = 1;
*/
public org.apache.comet.serde.ExprOuterClass.Expr getSortOrders(int index) {
if (sortOrdersBuilder_ == null) {
return sortOrders_.get(index);
} else {
return sortOrdersBuilder_.getMessage(index);
}
}
/**
* repeated .spark.spark_expression.Expr sort_orders = 1;
*/
public Builder setSortOrders(
int index, org.apache.comet.serde.ExprOuterClass.Expr value) {
if (sortOrdersBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSortOrdersIsMutable();
sortOrders_.set(index, value);
onChanged();
} else {
sortOrdersBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .spark.spark_expression.Expr sort_orders = 1;
*/
public Builder setSortOrders(
int index, org.apache.comet.serde.ExprOuterClass.Expr.Builder builderForValue) {
if (sortOrdersBuilder_ == null) {
ensureSortOrdersIsMutable();
sortOrders_.set(index, builderForValue.build());
onChanged();
} else {
sortOrdersBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .spark.spark_expression.Expr sort_orders = 1;
*/
public Builder addSortOrders(org.apache.comet.serde.ExprOuterClass.Expr value) {
if (sortOrdersBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSortOrdersIsMutable();
sortOrders_.add(value);
onChanged();
} else {
sortOrdersBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .spark.spark_expression.Expr sort_orders = 1;
*/
public Builder addSortOrders(
int index, org.apache.comet.serde.ExprOuterClass.Expr value) {
if (sortOrdersBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSortOrdersIsMutable();
sortOrders_.add(index, value);
onChanged();
} else {
sortOrdersBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .spark.spark_expression.Expr sort_orders = 1;
*/
public Builder addSortOrders(
org.apache.comet.serde.ExprOuterClass.Expr.Builder builderForValue) {
if (sortOrdersBuilder_ == null) {
ensureSortOrdersIsMutable();
sortOrders_.add(builderForValue.build());
onChanged();
} else {
sortOrdersBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .spark.spark_expression.Expr sort_orders = 1;
*/
public Builder addSortOrders(
int index, org.apache.comet.serde.ExprOuterClass.Expr.Builder builderForValue) {
if (sortOrdersBuilder_ == null) {
ensureSortOrdersIsMutable();
sortOrders_.add(index, builderForValue.build());
onChanged();
} else {
sortOrdersBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .spark.spark_expression.Expr sort_orders = 1;
*/
public Builder addAllSortOrders(
java.lang.Iterable extends org.apache.comet.serde.ExprOuterClass.Expr> values) {
if (sortOrdersBuilder_ == null) {
ensureSortOrdersIsMutable();
org.apache.comet.shaded.protobuf.AbstractMessageLite.Builder.addAll(
values, sortOrders_);
onChanged();
} else {
sortOrdersBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .spark.spark_expression.Expr sort_orders = 1;
*/
public Builder clearSortOrders() {
if (sortOrdersBuilder_ == null) {
sortOrders_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
sortOrdersBuilder_.clear();
}
return this;
}
/**
* repeated .spark.spark_expression.Expr sort_orders = 1;
*/
public Builder removeSortOrders(int index) {
if (sortOrdersBuilder_ == null) {
ensureSortOrdersIsMutable();
sortOrders_.remove(index);
onChanged();
} else {
sortOrdersBuilder_.remove(index);
}
return this;
}
/**
* repeated .spark.spark_expression.Expr sort_orders = 1;
*/
public org.apache.comet.serde.ExprOuterClass.Expr.Builder getSortOrdersBuilder(
int index) {
return getSortOrdersFieldBuilder().getBuilder(index);
}
/**
* repeated .spark.spark_expression.Expr sort_orders = 1;
*/
public org.apache.comet.serde.ExprOuterClass.ExprOrBuilder getSortOrdersOrBuilder(
int index) {
if (sortOrdersBuilder_ == null) {
return sortOrders_.get(index); } else {
return sortOrdersBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .spark.spark_expression.Expr sort_orders = 1;
*/
public java.util.List extends org.apache.comet.serde.ExprOuterClass.ExprOrBuilder>
getSortOrdersOrBuilderList() {
if (sortOrdersBuilder_ != null) {
return sortOrdersBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(sortOrders_);
}
}
/**
* repeated .spark.spark_expression.Expr sort_orders = 1;
*/
public org.apache.comet.serde.ExprOuterClass.Expr.Builder addSortOrdersBuilder() {
return getSortOrdersFieldBuilder().addBuilder(
org.apache.comet.serde.ExprOuterClass.Expr.getDefaultInstance());
}
/**
* repeated .spark.spark_expression.Expr sort_orders = 1;
*/
public org.apache.comet.serde.ExprOuterClass.Expr.Builder addSortOrdersBuilder(
int index) {
return getSortOrdersFieldBuilder().addBuilder(
index, org.apache.comet.serde.ExprOuterClass.Expr.getDefaultInstance());
}
/**
* repeated .spark.spark_expression.Expr sort_orders = 1;
*/
public java.util.List
getSortOrdersBuilderList() {
return getSortOrdersFieldBuilder().getBuilderList();
}
private org.apache.comet.shaded.protobuf.RepeatedFieldBuilderV3<
org.apache.comet.serde.ExprOuterClass.Expr, org.apache.comet.serde.ExprOuterClass.Expr.Builder, org.apache.comet.serde.ExprOuterClass.ExprOrBuilder>
getSortOrdersFieldBuilder() {
if (sortOrdersBuilder_ == null) {
sortOrdersBuilder_ = new org.apache.comet.shaded.protobuf.RepeatedFieldBuilderV3<
org.apache.comet.serde.ExprOuterClass.Expr, org.apache.comet.serde.ExprOuterClass.Expr.Builder, org.apache.comet.serde.ExprOuterClass.ExprOrBuilder>(
sortOrders_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
sortOrders_ = null;
}
return sortOrdersBuilder_;
}
private int fetch_ ;
/**
* optional int32 fetch = 3;
* @return Whether the fetch field is set.
*/
@java.lang.Override
public boolean hasFetch() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional int32 fetch = 3;
* @return The fetch.
*/
@java.lang.Override
public int getFetch() {
return fetch_;
}
/**
* optional int32 fetch = 3;
* @param value The fetch to set.
* @return This builder for chaining.
*/
public Builder setFetch(int value) {
bitField0_ |= 0x00000002;
fetch_ = value;
onChanged();
return this;
}
/**
* optional int32 fetch = 3;
* @return This builder for chaining.
*/
public Builder clearFetch() {
bitField0_ = (bitField0_ & ~0x00000002);
fetch_ = 0;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final org.apache.comet.shaded.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final org.apache.comet.shaded.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:spark.spark_operator.Sort)
}
// @@protoc_insertion_point(class_scope:spark.spark_operator.Sort)
private static final org.apache.comet.serde.OperatorOuterClass.Sort DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.comet.serde.OperatorOuterClass.Sort();
}
public static org.apache.comet.serde.OperatorOuterClass.Sort getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final org.apache.comet.shaded.protobuf.Parser
PARSER = new org.apache.comet.shaded.protobuf.AbstractParser() {
@java.lang.Override
public Sort parsePartialFrom(
org.apache.comet.shaded.protobuf.CodedInputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (org.apache.comet.shaded.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (org.apache.comet.shaded.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new org.apache.comet.shaded.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static org.apache.comet.shaded.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public org.apache.comet.shaded.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.Sort getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface HashAggregateOrBuilder extends
// @@protoc_insertion_point(interface_extends:spark.spark_operator.HashAggregate)
org.apache.comet.shaded.protobuf.MessageOrBuilder {
/**
* repeated .spark.spark_expression.Expr grouping_exprs = 1;
*/
java.util.List
getGroupingExprsList();
/**
* repeated .spark.spark_expression.Expr grouping_exprs = 1;
*/
org.apache.comet.serde.ExprOuterClass.Expr getGroupingExprs(int index);
/**
* repeated .spark.spark_expression.Expr grouping_exprs = 1;
*/
int getGroupingExprsCount();
/**
* repeated .spark.spark_expression.Expr grouping_exprs = 1;
*/
java.util.List extends org.apache.comet.serde.ExprOuterClass.ExprOrBuilder>
getGroupingExprsOrBuilderList();
/**
* repeated .spark.spark_expression.Expr grouping_exprs = 1;
*/
org.apache.comet.serde.ExprOuterClass.ExprOrBuilder getGroupingExprsOrBuilder(
int index);
/**
* repeated .spark.spark_expression.AggExpr agg_exprs = 2;
*/
java.util.List
getAggExprsList();
/**
* repeated .spark.spark_expression.AggExpr agg_exprs = 2;
*/
org.apache.comet.serde.ExprOuterClass.AggExpr getAggExprs(int index);
/**
* repeated .spark.spark_expression.AggExpr agg_exprs = 2;
*/
int getAggExprsCount();
/**
* repeated .spark.spark_expression.AggExpr agg_exprs = 2;
*/
java.util.List extends org.apache.comet.serde.ExprOuterClass.AggExprOrBuilder>
getAggExprsOrBuilderList();
/**
* repeated .spark.spark_expression.AggExpr agg_exprs = 2;
*/
org.apache.comet.serde.ExprOuterClass.AggExprOrBuilder getAggExprsOrBuilder(
int index);
/**
* repeated .spark.spark_expression.Expr result_exprs = 3;
*/
java.util.List
getResultExprsList();
/**
* repeated .spark.spark_expression.Expr result_exprs = 3;
*/
org.apache.comet.serde.ExprOuterClass.Expr getResultExprs(int index);
/**
* repeated .spark.spark_expression.Expr result_exprs = 3;
*/
int getResultExprsCount();
/**
* repeated .spark.spark_expression.Expr result_exprs = 3;
*/
java.util.List extends org.apache.comet.serde.ExprOuterClass.ExprOrBuilder>
getResultExprsOrBuilderList();
/**
* repeated .spark.spark_expression.Expr result_exprs = 3;
*/
org.apache.comet.serde.ExprOuterClass.ExprOrBuilder getResultExprsOrBuilder(
int index);
/**
* .spark.spark_operator.AggregateMode mode = 5;
* @return The enum numeric value on the wire for mode.
*/
int getModeValue();
/**
* .spark.spark_operator.AggregateMode mode = 5;
* @return The mode.
*/
org.apache.comet.serde.OperatorOuterClass.AggregateMode getMode();
}
/**
* Protobuf type {@code spark.spark_operator.HashAggregate}
*/
public static final class HashAggregate extends
org.apache.comet.shaded.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:spark.spark_operator.HashAggregate)
HashAggregateOrBuilder {
private static final long serialVersionUID = 0L;
// Use HashAggregate.newBuilder() to construct.
private HashAggregate(org.apache.comet.shaded.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private HashAggregate() {
groupingExprs_ = java.util.Collections.emptyList();
aggExprs_ = java.util.Collections.emptyList();
resultExprs_ = java.util.Collections.emptyList();
mode_ = 0;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new HashAggregate();
}
@java.lang.Override
public final org.apache.comet.shaded.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final org.apache.comet.shaded.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_HashAggregate_descriptor;
}
@java.lang.Override
protected org.apache.comet.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_HashAggregate_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.comet.serde.OperatorOuterClass.HashAggregate.class, org.apache.comet.serde.OperatorOuterClass.HashAggregate.Builder.class);
}
public static final int GROUPING_EXPRS_FIELD_NUMBER = 1;
private java.util.List groupingExprs_;
/**
* repeated .spark.spark_expression.Expr grouping_exprs = 1;
*/
@java.lang.Override
public java.util.List getGroupingExprsList() {
return groupingExprs_;
}
/**
* repeated .spark.spark_expression.Expr grouping_exprs = 1;
*/
@java.lang.Override
public java.util.List extends org.apache.comet.serde.ExprOuterClass.ExprOrBuilder>
getGroupingExprsOrBuilderList() {
return groupingExprs_;
}
/**
* repeated .spark.spark_expression.Expr grouping_exprs = 1;
*/
@java.lang.Override
public int getGroupingExprsCount() {
return groupingExprs_.size();
}
/**
* repeated .spark.spark_expression.Expr grouping_exprs = 1;
*/
@java.lang.Override
public org.apache.comet.serde.ExprOuterClass.Expr getGroupingExprs(int index) {
return groupingExprs_.get(index);
}
/**
* repeated .spark.spark_expression.Expr grouping_exprs = 1;
*/
@java.lang.Override
public org.apache.comet.serde.ExprOuterClass.ExprOrBuilder getGroupingExprsOrBuilder(
int index) {
return groupingExprs_.get(index);
}
public static final int AGG_EXPRS_FIELD_NUMBER = 2;
private java.util.List aggExprs_;
/**
* repeated .spark.spark_expression.AggExpr agg_exprs = 2;
*/
@java.lang.Override
public java.util.List getAggExprsList() {
return aggExprs_;
}
/**
* repeated .spark.spark_expression.AggExpr agg_exprs = 2;
*/
@java.lang.Override
public java.util.List extends org.apache.comet.serde.ExprOuterClass.AggExprOrBuilder>
getAggExprsOrBuilderList() {
return aggExprs_;
}
/**
* repeated .spark.spark_expression.AggExpr agg_exprs = 2;
*/
@java.lang.Override
public int getAggExprsCount() {
return aggExprs_.size();
}
/**
* repeated .spark.spark_expression.AggExpr agg_exprs = 2;
*/
@java.lang.Override
public org.apache.comet.serde.ExprOuterClass.AggExpr getAggExprs(int index) {
return aggExprs_.get(index);
}
/**
* repeated .spark.spark_expression.AggExpr agg_exprs = 2;
*/
@java.lang.Override
public org.apache.comet.serde.ExprOuterClass.AggExprOrBuilder getAggExprsOrBuilder(
int index) {
return aggExprs_.get(index);
}
public static final int RESULT_EXPRS_FIELD_NUMBER = 3;
private java.util.List resultExprs_;
/**
* repeated .spark.spark_expression.Expr result_exprs = 3;
*/
@java.lang.Override
public java.util.List getResultExprsList() {
return resultExprs_;
}
/**
* repeated .spark.spark_expression.Expr result_exprs = 3;
*/
@java.lang.Override
public java.util.List extends org.apache.comet.serde.ExprOuterClass.ExprOrBuilder>
getResultExprsOrBuilderList() {
return resultExprs_;
}
/**
* repeated .spark.spark_expression.Expr result_exprs = 3;
*/
@java.lang.Override
public int getResultExprsCount() {
return resultExprs_.size();
}
/**
* repeated .spark.spark_expression.Expr result_exprs = 3;
*/
@java.lang.Override
public org.apache.comet.serde.ExprOuterClass.Expr getResultExprs(int index) {
return resultExprs_.get(index);
}
/**
* repeated .spark.spark_expression.Expr result_exprs = 3;
*/
@java.lang.Override
public org.apache.comet.serde.ExprOuterClass.ExprOrBuilder getResultExprsOrBuilder(
int index) {
return resultExprs_.get(index);
}
public static final int MODE_FIELD_NUMBER = 5;
private int mode_;
/**
* .spark.spark_operator.AggregateMode mode = 5;
* @return The enum numeric value on the wire for mode.
*/
@java.lang.Override public int getModeValue() {
return mode_;
}
/**
* .spark.spark_operator.AggregateMode mode = 5;
* @return The mode.
*/
@java.lang.Override public org.apache.comet.serde.OperatorOuterClass.AggregateMode getMode() {
@SuppressWarnings("deprecation")
org.apache.comet.serde.OperatorOuterClass.AggregateMode result = org.apache.comet.serde.OperatorOuterClass.AggregateMode.valueOf(mode_);
return result == null ? org.apache.comet.serde.OperatorOuterClass.AggregateMode.UNRECOGNIZED : result;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(org.apache.comet.shaded.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < groupingExprs_.size(); i++) {
output.writeMessage(1, groupingExprs_.get(i));
}
for (int i = 0; i < aggExprs_.size(); i++) {
output.writeMessage(2, aggExprs_.get(i));
}
for (int i = 0; i < resultExprs_.size(); i++) {
output.writeMessage(3, resultExprs_.get(i));
}
if (mode_ != org.apache.comet.serde.OperatorOuterClass.AggregateMode.Partial.getNumber()) {
output.writeEnum(5, mode_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < groupingExprs_.size(); i++) {
size += org.apache.comet.shaded.protobuf.CodedOutputStream
.computeMessageSize(1, groupingExprs_.get(i));
}
for (int i = 0; i < aggExprs_.size(); i++) {
size += org.apache.comet.shaded.protobuf.CodedOutputStream
.computeMessageSize(2, aggExprs_.get(i));
}
for (int i = 0; i < resultExprs_.size(); i++) {
size += org.apache.comet.shaded.protobuf.CodedOutputStream
.computeMessageSize(3, resultExprs_.get(i));
}
if (mode_ != org.apache.comet.serde.OperatorOuterClass.AggregateMode.Partial.getNumber()) {
size += org.apache.comet.shaded.protobuf.CodedOutputStream
.computeEnumSize(5, mode_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.comet.serde.OperatorOuterClass.HashAggregate)) {
return super.equals(obj);
}
org.apache.comet.serde.OperatorOuterClass.HashAggregate other = (org.apache.comet.serde.OperatorOuterClass.HashAggregate) obj;
if (!getGroupingExprsList()
.equals(other.getGroupingExprsList())) return false;
if (!getAggExprsList()
.equals(other.getAggExprsList())) return false;
if (!getResultExprsList()
.equals(other.getResultExprsList())) return false;
if (mode_ != other.mode_) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getGroupingExprsCount() > 0) {
hash = (37 * hash) + GROUPING_EXPRS_FIELD_NUMBER;
hash = (53 * hash) + getGroupingExprsList().hashCode();
}
if (getAggExprsCount() > 0) {
hash = (37 * hash) + AGG_EXPRS_FIELD_NUMBER;
hash = (53 * hash) + getAggExprsList().hashCode();
}
if (getResultExprsCount() > 0) {
hash = (37 * hash) + RESULT_EXPRS_FIELD_NUMBER;
hash = (53 * hash) + getResultExprsList().hashCode();
}
hash = (37 * hash) + MODE_FIELD_NUMBER;
hash = (53 * hash) + mode_;
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.comet.serde.OperatorOuterClass.HashAggregate parseFrom(
java.nio.ByteBuffer data)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.comet.serde.OperatorOuterClass.HashAggregate parseFrom(
java.nio.ByteBuffer data,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.HashAggregate parseFrom(
org.apache.comet.shaded.protobuf.ByteString data)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.comet.serde.OperatorOuterClass.HashAggregate parseFrom(
org.apache.comet.shaded.protobuf.ByteString data,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.HashAggregate parseFrom(byte[] data)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.comet.serde.OperatorOuterClass.HashAggregate parseFrom(
byte[] data,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.HashAggregate parseFrom(java.io.InputStream input)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.comet.serde.OperatorOuterClass.HashAggregate parseFrom(
java.io.InputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.HashAggregate parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.comet.serde.OperatorOuterClass.HashAggregate parseDelimitedFrom(
java.io.InputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.HashAggregate parseFrom(
org.apache.comet.shaded.protobuf.CodedInputStream input)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.comet.serde.OperatorOuterClass.HashAggregate parseFrom(
org.apache.comet.shaded.protobuf.CodedInputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.comet.serde.OperatorOuterClass.HashAggregate prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
org.apache.comet.shaded.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code spark.spark_operator.HashAggregate}
*/
public static final class Builder extends
org.apache.comet.shaded.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:spark.spark_operator.HashAggregate)
org.apache.comet.serde.OperatorOuterClass.HashAggregateOrBuilder {
public static final org.apache.comet.shaded.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_HashAggregate_descriptor;
}
@java.lang.Override
protected org.apache.comet.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_HashAggregate_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.comet.serde.OperatorOuterClass.HashAggregate.class, org.apache.comet.serde.OperatorOuterClass.HashAggregate.Builder.class);
}
// Construct using org.apache.comet.serde.OperatorOuterClass.HashAggregate.newBuilder()
private Builder() {
}
private Builder(
org.apache.comet.shaded.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
if (groupingExprsBuilder_ == null) {
groupingExprs_ = java.util.Collections.emptyList();
} else {
groupingExprs_ = null;
groupingExprsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
if (aggExprsBuilder_ == null) {
aggExprs_ = java.util.Collections.emptyList();
} else {
aggExprs_ = null;
aggExprsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
if (resultExprsBuilder_ == null) {
resultExprs_ = java.util.Collections.emptyList();
} else {
resultExprs_ = null;
resultExprsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000004);
mode_ = 0;
return this;
}
@java.lang.Override
public org.apache.comet.shaded.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_HashAggregate_descriptor;
}
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.HashAggregate getDefaultInstanceForType() {
return org.apache.comet.serde.OperatorOuterClass.HashAggregate.getDefaultInstance();
}
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.HashAggregate build() {
org.apache.comet.serde.OperatorOuterClass.HashAggregate result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.HashAggregate buildPartial() {
org.apache.comet.serde.OperatorOuterClass.HashAggregate result = new org.apache.comet.serde.OperatorOuterClass.HashAggregate(this);
int from_bitField0_ = bitField0_;
if (groupingExprsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
groupingExprs_ = java.util.Collections.unmodifiableList(groupingExprs_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.groupingExprs_ = groupingExprs_;
} else {
result.groupingExprs_ = groupingExprsBuilder_.build();
}
if (aggExprsBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0)) {
aggExprs_ = java.util.Collections.unmodifiableList(aggExprs_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.aggExprs_ = aggExprs_;
} else {
result.aggExprs_ = aggExprsBuilder_.build();
}
if (resultExprsBuilder_ == null) {
if (((bitField0_ & 0x00000004) != 0)) {
resultExprs_ = java.util.Collections.unmodifiableList(resultExprs_);
bitField0_ = (bitField0_ & ~0x00000004);
}
result.resultExprs_ = resultExprs_;
} else {
result.resultExprs_ = resultExprsBuilder_.build();
}
result.mode_ = mode_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
org.apache.comet.shaded.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
org.apache.comet.shaded.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
org.apache.comet.shaded.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
org.apache.comet.shaded.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
org.apache.comet.shaded.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(org.apache.comet.shaded.protobuf.Message other) {
if (other instanceof org.apache.comet.serde.OperatorOuterClass.HashAggregate) {
return mergeFrom((org.apache.comet.serde.OperatorOuterClass.HashAggregate)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.comet.serde.OperatorOuterClass.HashAggregate other) {
if (other == org.apache.comet.serde.OperatorOuterClass.HashAggregate.getDefaultInstance()) return this;
if (groupingExprsBuilder_ == null) {
if (!other.groupingExprs_.isEmpty()) {
if (groupingExprs_.isEmpty()) {
groupingExprs_ = other.groupingExprs_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureGroupingExprsIsMutable();
groupingExprs_.addAll(other.groupingExprs_);
}
onChanged();
}
} else {
if (!other.groupingExprs_.isEmpty()) {
if (groupingExprsBuilder_.isEmpty()) {
groupingExprsBuilder_.dispose();
groupingExprsBuilder_ = null;
groupingExprs_ = other.groupingExprs_;
bitField0_ = (bitField0_ & ~0x00000001);
groupingExprsBuilder_ =
org.apache.comet.shaded.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getGroupingExprsFieldBuilder() : null;
} else {
groupingExprsBuilder_.addAllMessages(other.groupingExprs_);
}
}
}
if (aggExprsBuilder_ == null) {
if (!other.aggExprs_.isEmpty()) {
if (aggExprs_.isEmpty()) {
aggExprs_ = other.aggExprs_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureAggExprsIsMutable();
aggExprs_.addAll(other.aggExprs_);
}
onChanged();
}
} else {
if (!other.aggExprs_.isEmpty()) {
if (aggExprsBuilder_.isEmpty()) {
aggExprsBuilder_.dispose();
aggExprsBuilder_ = null;
aggExprs_ = other.aggExprs_;
bitField0_ = (bitField0_ & ~0x00000002);
aggExprsBuilder_ =
org.apache.comet.shaded.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getAggExprsFieldBuilder() : null;
} else {
aggExprsBuilder_.addAllMessages(other.aggExprs_);
}
}
}
if (resultExprsBuilder_ == null) {
if (!other.resultExprs_.isEmpty()) {
if (resultExprs_.isEmpty()) {
resultExprs_ = other.resultExprs_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureResultExprsIsMutable();
resultExprs_.addAll(other.resultExprs_);
}
onChanged();
}
} else {
if (!other.resultExprs_.isEmpty()) {
if (resultExprsBuilder_.isEmpty()) {
resultExprsBuilder_.dispose();
resultExprsBuilder_ = null;
resultExprs_ = other.resultExprs_;
bitField0_ = (bitField0_ & ~0x00000004);
resultExprsBuilder_ =
org.apache.comet.shaded.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getResultExprsFieldBuilder() : null;
} else {
resultExprsBuilder_.addAllMessages(other.resultExprs_);
}
}
}
if (other.mode_ != 0) {
setModeValue(other.getModeValue());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
org.apache.comet.shaded.protobuf.CodedInputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
org.apache.comet.serde.ExprOuterClass.Expr m =
input.readMessage(
org.apache.comet.serde.ExprOuterClass.Expr.parser(),
extensionRegistry);
if (groupingExprsBuilder_ == null) {
ensureGroupingExprsIsMutable();
groupingExprs_.add(m);
} else {
groupingExprsBuilder_.addMessage(m);
}
break;
} // case 10
case 18: {
org.apache.comet.serde.ExprOuterClass.AggExpr m =
input.readMessage(
org.apache.comet.serde.ExprOuterClass.AggExpr.parser(),
extensionRegistry);
if (aggExprsBuilder_ == null) {
ensureAggExprsIsMutable();
aggExprs_.add(m);
} else {
aggExprsBuilder_.addMessage(m);
}
break;
} // case 18
case 26: {
org.apache.comet.serde.ExprOuterClass.Expr m =
input.readMessage(
org.apache.comet.serde.ExprOuterClass.Expr.parser(),
extensionRegistry);
if (resultExprsBuilder_ == null) {
ensureResultExprsIsMutable();
resultExprs_.add(m);
} else {
resultExprsBuilder_.addMessage(m);
}
break;
} // case 26
case 40: {
mode_ = input.readEnum();
break;
} // case 40
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (org.apache.comet.shaded.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.util.List groupingExprs_ =
java.util.Collections.emptyList();
private void ensureGroupingExprsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
groupingExprs_ = new java.util.ArrayList(groupingExprs_);
bitField0_ |= 0x00000001;
}
}
private org.apache.comet.shaded.protobuf.RepeatedFieldBuilderV3<
org.apache.comet.serde.ExprOuterClass.Expr, org.apache.comet.serde.ExprOuterClass.Expr.Builder, org.apache.comet.serde.ExprOuterClass.ExprOrBuilder> groupingExprsBuilder_;
/**
* repeated .spark.spark_expression.Expr grouping_exprs = 1;
*/
public java.util.List getGroupingExprsList() {
if (groupingExprsBuilder_ == null) {
return java.util.Collections.unmodifiableList(groupingExprs_);
} else {
return groupingExprsBuilder_.getMessageList();
}
}
/**
* repeated .spark.spark_expression.Expr grouping_exprs = 1;
*/
public int getGroupingExprsCount() {
if (groupingExprsBuilder_ == null) {
return groupingExprs_.size();
} else {
return groupingExprsBuilder_.getCount();
}
}
/**
* repeated .spark.spark_expression.Expr grouping_exprs = 1;
*/
public org.apache.comet.serde.ExprOuterClass.Expr getGroupingExprs(int index) {
if (groupingExprsBuilder_ == null) {
return groupingExprs_.get(index);
} else {
return groupingExprsBuilder_.getMessage(index);
}
}
/**
* repeated .spark.spark_expression.Expr grouping_exprs = 1;
*/
public Builder setGroupingExprs(
int index, org.apache.comet.serde.ExprOuterClass.Expr value) {
if (groupingExprsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureGroupingExprsIsMutable();
groupingExprs_.set(index, value);
onChanged();
} else {
groupingExprsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .spark.spark_expression.Expr grouping_exprs = 1;
*/
public Builder setGroupingExprs(
int index, org.apache.comet.serde.ExprOuterClass.Expr.Builder builderForValue) {
if (groupingExprsBuilder_ == null) {
ensureGroupingExprsIsMutable();
groupingExprs_.set(index, builderForValue.build());
onChanged();
} else {
groupingExprsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .spark.spark_expression.Expr grouping_exprs = 1;
*/
public Builder addGroupingExprs(org.apache.comet.serde.ExprOuterClass.Expr value) {
if (groupingExprsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureGroupingExprsIsMutable();
groupingExprs_.add(value);
onChanged();
} else {
groupingExprsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .spark.spark_expression.Expr grouping_exprs = 1;
*/
public Builder addGroupingExprs(
int index, org.apache.comet.serde.ExprOuterClass.Expr value) {
if (groupingExprsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureGroupingExprsIsMutable();
groupingExprs_.add(index, value);
onChanged();
} else {
groupingExprsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .spark.spark_expression.Expr grouping_exprs = 1;
*/
public Builder addGroupingExprs(
org.apache.comet.serde.ExprOuterClass.Expr.Builder builderForValue) {
if (groupingExprsBuilder_ == null) {
ensureGroupingExprsIsMutable();
groupingExprs_.add(builderForValue.build());
onChanged();
} else {
groupingExprsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .spark.spark_expression.Expr grouping_exprs = 1;
*/
public Builder addGroupingExprs(
int index, org.apache.comet.serde.ExprOuterClass.Expr.Builder builderForValue) {
if (groupingExprsBuilder_ == null) {
ensureGroupingExprsIsMutable();
groupingExprs_.add(index, builderForValue.build());
onChanged();
} else {
groupingExprsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .spark.spark_expression.Expr grouping_exprs = 1;
*/
public Builder addAllGroupingExprs(
java.lang.Iterable extends org.apache.comet.serde.ExprOuterClass.Expr> values) {
if (groupingExprsBuilder_ == null) {
ensureGroupingExprsIsMutable();
org.apache.comet.shaded.protobuf.AbstractMessageLite.Builder.addAll(
values, groupingExprs_);
onChanged();
} else {
groupingExprsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .spark.spark_expression.Expr grouping_exprs = 1;
*/
public Builder clearGroupingExprs() {
if (groupingExprsBuilder_ == null) {
groupingExprs_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
groupingExprsBuilder_.clear();
}
return this;
}
/**
* repeated .spark.spark_expression.Expr grouping_exprs = 1;
*/
public Builder removeGroupingExprs(int index) {
if (groupingExprsBuilder_ == null) {
ensureGroupingExprsIsMutable();
groupingExprs_.remove(index);
onChanged();
} else {
groupingExprsBuilder_.remove(index);
}
return this;
}
/**
* repeated .spark.spark_expression.Expr grouping_exprs = 1;
*/
public org.apache.comet.serde.ExprOuterClass.Expr.Builder getGroupingExprsBuilder(
int index) {
return getGroupingExprsFieldBuilder().getBuilder(index);
}
/**
* repeated .spark.spark_expression.Expr grouping_exprs = 1;
*/
public org.apache.comet.serde.ExprOuterClass.ExprOrBuilder getGroupingExprsOrBuilder(
int index) {
if (groupingExprsBuilder_ == null) {
return groupingExprs_.get(index); } else {
return groupingExprsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .spark.spark_expression.Expr grouping_exprs = 1;
*/
public java.util.List extends org.apache.comet.serde.ExprOuterClass.ExprOrBuilder>
getGroupingExprsOrBuilderList() {
if (groupingExprsBuilder_ != null) {
return groupingExprsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(groupingExprs_);
}
}
/**
* repeated .spark.spark_expression.Expr grouping_exprs = 1;
*/
public org.apache.comet.serde.ExprOuterClass.Expr.Builder addGroupingExprsBuilder() {
return getGroupingExprsFieldBuilder().addBuilder(
org.apache.comet.serde.ExprOuterClass.Expr.getDefaultInstance());
}
/**
* repeated .spark.spark_expression.Expr grouping_exprs = 1;
*/
public org.apache.comet.serde.ExprOuterClass.Expr.Builder addGroupingExprsBuilder(
int index) {
return getGroupingExprsFieldBuilder().addBuilder(
index, org.apache.comet.serde.ExprOuterClass.Expr.getDefaultInstance());
}
/**
* repeated .spark.spark_expression.Expr grouping_exprs = 1;
*/
public java.util.List
getGroupingExprsBuilderList() {
return getGroupingExprsFieldBuilder().getBuilderList();
}
private org.apache.comet.shaded.protobuf.RepeatedFieldBuilderV3<
org.apache.comet.serde.ExprOuterClass.Expr, org.apache.comet.serde.ExprOuterClass.Expr.Builder, org.apache.comet.serde.ExprOuterClass.ExprOrBuilder>
getGroupingExprsFieldBuilder() {
if (groupingExprsBuilder_ == null) {
groupingExprsBuilder_ = new org.apache.comet.shaded.protobuf.RepeatedFieldBuilderV3<
org.apache.comet.serde.ExprOuterClass.Expr, org.apache.comet.serde.ExprOuterClass.Expr.Builder, org.apache.comet.serde.ExprOuterClass.ExprOrBuilder>(
groupingExprs_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
groupingExprs_ = null;
}
return groupingExprsBuilder_;
}
private java.util.List aggExprs_ =
java.util.Collections.emptyList();
private void ensureAggExprsIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
aggExprs_ = new java.util.ArrayList(aggExprs_);
bitField0_ |= 0x00000002;
}
}
private org.apache.comet.shaded.protobuf.RepeatedFieldBuilderV3<
org.apache.comet.serde.ExprOuterClass.AggExpr, org.apache.comet.serde.ExprOuterClass.AggExpr.Builder, org.apache.comet.serde.ExprOuterClass.AggExprOrBuilder> aggExprsBuilder_;
/**
* repeated .spark.spark_expression.AggExpr agg_exprs = 2;
*/
public java.util.List getAggExprsList() {
if (aggExprsBuilder_ == null) {
return java.util.Collections.unmodifiableList(aggExprs_);
} else {
return aggExprsBuilder_.getMessageList();
}
}
/**
* repeated .spark.spark_expression.AggExpr agg_exprs = 2;
*/
public int getAggExprsCount() {
if (aggExprsBuilder_ == null) {
return aggExprs_.size();
} else {
return aggExprsBuilder_.getCount();
}
}
/**
* repeated .spark.spark_expression.AggExpr agg_exprs = 2;
*/
public org.apache.comet.serde.ExprOuterClass.AggExpr getAggExprs(int index) {
if (aggExprsBuilder_ == null) {
return aggExprs_.get(index);
} else {
return aggExprsBuilder_.getMessage(index);
}
}
/**
* repeated .spark.spark_expression.AggExpr agg_exprs = 2;
*/
public Builder setAggExprs(
int index, org.apache.comet.serde.ExprOuterClass.AggExpr value) {
if (aggExprsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAggExprsIsMutable();
aggExprs_.set(index, value);
onChanged();
} else {
aggExprsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .spark.spark_expression.AggExpr agg_exprs = 2;
*/
public Builder setAggExprs(
int index, org.apache.comet.serde.ExprOuterClass.AggExpr.Builder builderForValue) {
if (aggExprsBuilder_ == null) {
ensureAggExprsIsMutable();
aggExprs_.set(index, builderForValue.build());
onChanged();
} else {
aggExprsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .spark.spark_expression.AggExpr agg_exprs = 2;
*/
public Builder addAggExprs(org.apache.comet.serde.ExprOuterClass.AggExpr value) {
if (aggExprsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAggExprsIsMutable();
aggExprs_.add(value);
onChanged();
} else {
aggExprsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .spark.spark_expression.AggExpr agg_exprs = 2;
*/
public Builder addAggExprs(
int index, org.apache.comet.serde.ExprOuterClass.AggExpr value) {
if (aggExprsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAggExprsIsMutable();
aggExprs_.add(index, value);
onChanged();
} else {
aggExprsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .spark.spark_expression.AggExpr agg_exprs = 2;
*/
public Builder addAggExprs(
org.apache.comet.serde.ExprOuterClass.AggExpr.Builder builderForValue) {
if (aggExprsBuilder_ == null) {
ensureAggExprsIsMutable();
aggExprs_.add(builderForValue.build());
onChanged();
} else {
aggExprsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .spark.spark_expression.AggExpr agg_exprs = 2;
*/
public Builder addAggExprs(
int index, org.apache.comet.serde.ExprOuterClass.AggExpr.Builder builderForValue) {
if (aggExprsBuilder_ == null) {
ensureAggExprsIsMutable();
aggExprs_.add(index, builderForValue.build());
onChanged();
} else {
aggExprsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .spark.spark_expression.AggExpr agg_exprs = 2;
*/
public Builder addAllAggExprs(
java.lang.Iterable extends org.apache.comet.serde.ExprOuterClass.AggExpr> values) {
if (aggExprsBuilder_ == null) {
ensureAggExprsIsMutable();
org.apache.comet.shaded.protobuf.AbstractMessageLite.Builder.addAll(
values, aggExprs_);
onChanged();
} else {
aggExprsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .spark.spark_expression.AggExpr agg_exprs = 2;
*/
public Builder clearAggExprs() {
if (aggExprsBuilder_ == null) {
aggExprs_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
aggExprsBuilder_.clear();
}
return this;
}
/**
* repeated .spark.spark_expression.AggExpr agg_exprs = 2;
*/
public Builder removeAggExprs(int index) {
if (aggExprsBuilder_ == null) {
ensureAggExprsIsMutable();
aggExprs_.remove(index);
onChanged();
} else {
aggExprsBuilder_.remove(index);
}
return this;
}
/**
* repeated .spark.spark_expression.AggExpr agg_exprs = 2;
*/
public org.apache.comet.serde.ExprOuterClass.AggExpr.Builder getAggExprsBuilder(
int index) {
return getAggExprsFieldBuilder().getBuilder(index);
}
/**
* repeated .spark.spark_expression.AggExpr agg_exprs = 2;
*/
public org.apache.comet.serde.ExprOuterClass.AggExprOrBuilder getAggExprsOrBuilder(
int index) {
if (aggExprsBuilder_ == null) {
return aggExprs_.get(index); } else {
return aggExprsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .spark.spark_expression.AggExpr agg_exprs = 2;
*/
public java.util.List extends org.apache.comet.serde.ExprOuterClass.AggExprOrBuilder>
getAggExprsOrBuilderList() {
if (aggExprsBuilder_ != null) {
return aggExprsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(aggExprs_);
}
}
/**
* repeated .spark.spark_expression.AggExpr agg_exprs = 2;
*/
public org.apache.comet.serde.ExprOuterClass.AggExpr.Builder addAggExprsBuilder() {
return getAggExprsFieldBuilder().addBuilder(
org.apache.comet.serde.ExprOuterClass.AggExpr.getDefaultInstance());
}
/**
* repeated .spark.spark_expression.AggExpr agg_exprs = 2;
*/
public org.apache.comet.serde.ExprOuterClass.AggExpr.Builder addAggExprsBuilder(
int index) {
return getAggExprsFieldBuilder().addBuilder(
index, org.apache.comet.serde.ExprOuterClass.AggExpr.getDefaultInstance());
}
/**
* repeated .spark.spark_expression.AggExpr agg_exprs = 2;
*/
public java.util.List
getAggExprsBuilderList() {
return getAggExprsFieldBuilder().getBuilderList();
}
private org.apache.comet.shaded.protobuf.RepeatedFieldBuilderV3<
org.apache.comet.serde.ExprOuterClass.AggExpr, org.apache.comet.serde.ExprOuterClass.AggExpr.Builder, org.apache.comet.serde.ExprOuterClass.AggExprOrBuilder>
getAggExprsFieldBuilder() {
if (aggExprsBuilder_ == null) {
aggExprsBuilder_ = new org.apache.comet.shaded.protobuf.RepeatedFieldBuilderV3<
org.apache.comet.serde.ExprOuterClass.AggExpr, org.apache.comet.serde.ExprOuterClass.AggExpr.Builder, org.apache.comet.serde.ExprOuterClass.AggExprOrBuilder>(
aggExprs_,
((bitField0_ & 0x00000002) != 0),
getParentForChildren(),
isClean());
aggExprs_ = null;
}
return aggExprsBuilder_;
}
private java.util.List resultExprs_ =
java.util.Collections.emptyList();
private void ensureResultExprsIsMutable() {
if (!((bitField0_ & 0x00000004) != 0)) {
resultExprs_ = new java.util.ArrayList(resultExprs_);
bitField0_ |= 0x00000004;
}
}
private org.apache.comet.shaded.protobuf.RepeatedFieldBuilderV3<
org.apache.comet.serde.ExprOuterClass.Expr, org.apache.comet.serde.ExprOuterClass.Expr.Builder, org.apache.comet.serde.ExprOuterClass.ExprOrBuilder> resultExprsBuilder_;
/**
* repeated .spark.spark_expression.Expr result_exprs = 3;
*/
public java.util.List getResultExprsList() {
if (resultExprsBuilder_ == null) {
return java.util.Collections.unmodifiableList(resultExprs_);
} else {
return resultExprsBuilder_.getMessageList();
}
}
/**
* repeated .spark.spark_expression.Expr result_exprs = 3;
*/
public int getResultExprsCount() {
if (resultExprsBuilder_ == null) {
return resultExprs_.size();
} else {
return resultExprsBuilder_.getCount();
}
}
/**
* repeated .spark.spark_expression.Expr result_exprs = 3;
*/
public org.apache.comet.serde.ExprOuterClass.Expr getResultExprs(int index) {
if (resultExprsBuilder_ == null) {
return resultExprs_.get(index);
} else {
return resultExprsBuilder_.getMessage(index);
}
}
/**
* repeated .spark.spark_expression.Expr result_exprs = 3;
*/
public Builder setResultExprs(
int index, org.apache.comet.serde.ExprOuterClass.Expr value) {
if (resultExprsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureResultExprsIsMutable();
resultExprs_.set(index, value);
onChanged();
} else {
resultExprsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .spark.spark_expression.Expr result_exprs = 3;
*/
public Builder setResultExprs(
int index, org.apache.comet.serde.ExprOuterClass.Expr.Builder builderForValue) {
if (resultExprsBuilder_ == null) {
ensureResultExprsIsMutable();
resultExprs_.set(index, builderForValue.build());
onChanged();
} else {
resultExprsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .spark.spark_expression.Expr result_exprs = 3;
*/
public Builder addResultExprs(org.apache.comet.serde.ExprOuterClass.Expr value) {
if (resultExprsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureResultExprsIsMutable();
resultExprs_.add(value);
onChanged();
} else {
resultExprsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .spark.spark_expression.Expr result_exprs = 3;
*/
public Builder addResultExprs(
int index, org.apache.comet.serde.ExprOuterClass.Expr value) {
if (resultExprsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureResultExprsIsMutable();
resultExprs_.add(index, value);
onChanged();
} else {
resultExprsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .spark.spark_expression.Expr result_exprs = 3;
*/
public Builder addResultExprs(
org.apache.comet.serde.ExprOuterClass.Expr.Builder builderForValue) {
if (resultExprsBuilder_ == null) {
ensureResultExprsIsMutable();
resultExprs_.add(builderForValue.build());
onChanged();
} else {
resultExprsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .spark.spark_expression.Expr result_exprs = 3;
*/
public Builder addResultExprs(
int index, org.apache.comet.serde.ExprOuterClass.Expr.Builder builderForValue) {
if (resultExprsBuilder_ == null) {
ensureResultExprsIsMutable();
resultExprs_.add(index, builderForValue.build());
onChanged();
} else {
resultExprsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .spark.spark_expression.Expr result_exprs = 3;
*/
public Builder addAllResultExprs(
java.lang.Iterable extends org.apache.comet.serde.ExprOuterClass.Expr> values) {
if (resultExprsBuilder_ == null) {
ensureResultExprsIsMutable();
org.apache.comet.shaded.protobuf.AbstractMessageLite.Builder.addAll(
values, resultExprs_);
onChanged();
} else {
resultExprsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .spark.spark_expression.Expr result_exprs = 3;
*/
public Builder clearResultExprs() {
if (resultExprsBuilder_ == null) {
resultExprs_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
} else {
resultExprsBuilder_.clear();
}
return this;
}
/**
* repeated .spark.spark_expression.Expr result_exprs = 3;
*/
public Builder removeResultExprs(int index) {
if (resultExprsBuilder_ == null) {
ensureResultExprsIsMutable();
resultExprs_.remove(index);
onChanged();
} else {
resultExprsBuilder_.remove(index);
}
return this;
}
/**
* repeated .spark.spark_expression.Expr result_exprs = 3;
*/
public org.apache.comet.serde.ExprOuterClass.Expr.Builder getResultExprsBuilder(
int index) {
return getResultExprsFieldBuilder().getBuilder(index);
}
/**
* repeated .spark.spark_expression.Expr result_exprs = 3;
*/
public org.apache.comet.serde.ExprOuterClass.ExprOrBuilder getResultExprsOrBuilder(
int index) {
if (resultExprsBuilder_ == null) {
return resultExprs_.get(index); } else {
return resultExprsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .spark.spark_expression.Expr result_exprs = 3;
*/
public java.util.List extends org.apache.comet.serde.ExprOuterClass.ExprOrBuilder>
getResultExprsOrBuilderList() {
if (resultExprsBuilder_ != null) {
return resultExprsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(resultExprs_);
}
}
/**
* repeated .spark.spark_expression.Expr result_exprs = 3;
*/
public org.apache.comet.serde.ExprOuterClass.Expr.Builder addResultExprsBuilder() {
return getResultExprsFieldBuilder().addBuilder(
org.apache.comet.serde.ExprOuterClass.Expr.getDefaultInstance());
}
/**
* repeated .spark.spark_expression.Expr result_exprs = 3;
*/
public org.apache.comet.serde.ExprOuterClass.Expr.Builder addResultExprsBuilder(
int index) {
return getResultExprsFieldBuilder().addBuilder(
index, org.apache.comet.serde.ExprOuterClass.Expr.getDefaultInstance());
}
/**
* repeated .spark.spark_expression.Expr result_exprs = 3;
*/
public java.util.List
getResultExprsBuilderList() {
return getResultExprsFieldBuilder().getBuilderList();
}
private org.apache.comet.shaded.protobuf.RepeatedFieldBuilderV3<
org.apache.comet.serde.ExprOuterClass.Expr, org.apache.comet.serde.ExprOuterClass.Expr.Builder, org.apache.comet.serde.ExprOuterClass.ExprOrBuilder>
getResultExprsFieldBuilder() {
if (resultExprsBuilder_ == null) {
resultExprsBuilder_ = new org.apache.comet.shaded.protobuf.RepeatedFieldBuilderV3<
org.apache.comet.serde.ExprOuterClass.Expr, org.apache.comet.serde.ExprOuterClass.Expr.Builder, org.apache.comet.serde.ExprOuterClass.ExprOrBuilder>(
resultExprs_,
((bitField0_ & 0x00000004) != 0),
getParentForChildren(),
isClean());
resultExprs_ = null;
}
return resultExprsBuilder_;
}
private int mode_ = 0;
/**
* .spark.spark_operator.AggregateMode mode = 5;
* @return The enum numeric value on the wire for mode.
*/
@java.lang.Override public int getModeValue() {
return mode_;
}
/**
* .spark.spark_operator.AggregateMode mode = 5;
* @param value The enum numeric value on the wire for mode to set.
* @return This builder for chaining.
*/
public Builder setModeValue(int value) {
mode_ = value;
onChanged();
return this;
}
/**
* .spark.spark_operator.AggregateMode mode = 5;
* @return The mode.
*/
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.AggregateMode getMode() {
@SuppressWarnings("deprecation")
org.apache.comet.serde.OperatorOuterClass.AggregateMode result = org.apache.comet.serde.OperatorOuterClass.AggregateMode.valueOf(mode_);
return result == null ? org.apache.comet.serde.OperatorOuterClass.AggregateMode.UNRECOGNIZED : result;
}
/**
* .spark.spark_operator.AggregateMode mode = 5;
* @param value The mode to set.
* @return This builder for chaining.
*/
public Builder setMode(org.apache.comet.serde.OperatorOuterClass.AggregateMode value) {
if (value == null) {
throw new NullPointerException();
}
mode_ = value.getNumber();
onChanged();
return this;
}
/**
* .spark.spark_operator.AggregateMode mode = 5;
* @return This builder for chaining.
*/
public Builder clearMode() {
mode_ = 0;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final org.apache.comet.shaded.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final org.apache.comet.shaded.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:spark.spark_operator.HashAggregate)
}
// @@protoc_insertion_point(class_scope:spark.spark_operator.HashAggregate)
private static final org.apache.comet.serde.OperatorOuterClass.HashAggregate DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.comet.serde.OperatorOuterClass.HashAggregate();
}
public static org.apache.comet.serde.OperatorOuterClass.HashAggregate getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final org.apache.comet.shaded.protobuf.Parser
PARSER = new org.apache.comet.shaded.protobuf.AbstractParser() {
@java.lang.Override
public HashAggregate parsePartialFrom(
org.apache.comet.shaded.protobuf.CodedInputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (org.apache.comet.shaded.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (org.apache.comet.shaded.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new org.apache.comet.shaded.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static org.apache.comet.shaded.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public org.apache.comet.shaded.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.HashAggregate getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface LimitOrBuilder extends
// @@protoc_insertion_point(interface_extends:spark.spark_operator.Limit)
org.apache.comet.shaded.protobuf.MessageOrBuilder {
/**
* int32 limit = 1;
* @return The limit.
*/
int getLimit();
/**
* int32 offset = 2;
* @return The offset.
*/
int getOffset();
}
/**
* Protobuf type {@code spark.spark_operator.Limit}
*/
public static final class Limit extends
org.apache.comet.shaded.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:spark.spark_operator.Limit)
LimitOrBuilder {
private static final long serialVersionUID = 0L;
// Use Limit.newBuilder() to construct.
private Limit(org.apache.comet.shaded.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Limit() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Limit();
}
@java.lang.Override
public final org.apache.comet.shaded.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final org.apache.comet.shaded.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_Limit_descriptor;
}
@java.lang.Override
protected org.apache.comet.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_Limit_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.comet.serde.OperatorOuterClass.Limit.class, org.apache.comet.serde.OperatorOuterClass.Limit.Builder.class);
}
public static final int LIMIT_FIELD_NUMBER = 1;
private int limit_;
/**
* int32 limit = 1;
* @return The limit.
*/
@java.lang.Override
public int getLimit() {
return limit_;
}
public static final int OFFSET_FIELD_NUMBER = 2;
private int offset_;
/**
* int32 offset = 2;
* @return The offset.
*/
@java.lang.Override
public int getOffset() {
return offset_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(org.apache.comet.shaded.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (limit_ != 0) {
output.writeInt32(1, limit_);
}
if (offset_ != 0) {
output.writeInt32(2, offset_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (limit_ != 0) {
size += org.apache.comet.shaded.protobuf.CodedOutputStream
.computeInt32Size(1, limit_);
}
if (offset_ != 0) {
size += org.apache.comet.shaded.protobuf.CodedOutputStream
.computeInt32Size(2, offset_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.comet.serde.OperatorOuterClass.Limit)) {
return super.equals(obj);
}
org.apache.comet.serde.OperatorOuterClass.Limit other = (org.apache.comet.serde.OperatorOuterClass.Limit) obj;
if (getLimit()
!= other.getLimit()) return false;
if (getOffset()
!= other.getOffset()) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + LIMIT_FIELD_NUMBER;
hash = (53 * hash) + getLimit();
hash = (37 * hash) + OFFSET_FIELD_NUMBER;
hash = (53 * hash) + getOffset();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.comet.serde.OperatorOuterClass.Limit parseFrom(
java.nio.ByteBuffer data)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.comet.serde.OperatorOuterClass.Limit parseFrom(
java.nio.ByteBuffer data,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.Limit parseFrom(
org.apache.comet.shaded.protobuf.ByteString data)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.comet.serde.OperatorOuterClass.Limit parseFrom(
org.apache.comet.shaded.protobuf.ByteString data,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.Limit parseFrom(byte[] data)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.comet.serde.OperatorOuterClass.Limit parseFrom(
byte[] data,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.Limit parseFrom(java.io.InputStream input)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.comet.serde.OperatorOuterClass.Limit parseFrom(
java.io.InputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.Limit parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.comet.serde.OperatorOuterClass.Limit parseDelimitedFrom(
java.io.InputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.Limit parseFrom(
org.apache.comet.shaded.protobuf.CodedInputStream input)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.comet.serde.OperatorOuterClass.Limit parseFrom(
org.apache.comet.shaded.protobuf.CodedInputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.comet.serde.OperatorOuterClass.Limit prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
org.apache.comet.shaded.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code spark.spark_operator.Limit}
*/
public static final class Builder extends
org.apache.comet.shaded.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:spark.spark_operator.Limit)
org.apache.comet.serde.OperatorOuterClass.LimitOrBuilder {
public static final org.apache.comet.shaded.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_Limit_descriptor;
}
@java.lang.Override
protected org.apache.comet.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_Limit_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.comet.serde.OperatorOuterClass.Limit.class, org.apache.comet.serde.OperatorOuterClass.Limit.Builder.class);
}
// Construct using org.apache.comet.serde.OperatorOuterClass.Limit.newBuilder()
private Builder() {
}
private Builder(
org.apache.comet.shaded.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
limit_ = 0;
offset_ = 0;
return this;
}
@java.lang.Override
public org.apache.comet.shaded.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_Limit_descriptor;
}
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.Limit getDefaultInstanceForType() {
return org.apache.comet.serde.OperatorOuterClass.Limit.getDefaultInstance();
}
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.Limit build() {
org.apache.comet.serde.OperatorOuterClass.Limit result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.Limit buildPartial() {
org.apache.comet.serde.OperatorOuterClass.Limit result = new org.apache.comet.serde.OperatorOuterClass.Limit(this);
result.limit_ = limit_;
result.offset_ = offset_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
org.apache.comet.shaded.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
org.apache.comet.shaded.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
org.apache.comet.shaded.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
org.apache.comet.shaded.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
org.apache.comet.shaded.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(org.apache.comet.shaded.protobuf.Message other) {
if (other instanceof org.apache.comet.serde.OperatorOuterClass.Limit) {
return mergeFrom((org.apache.comet.serde.OperatorOuterClass.Limit)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.comet.serde.OperatorOuterClass.Limit other) {
if (other == org.apache.comet.serde.OperatorOuterClass.Limit.getDefaultInstance()) return this;
if (other.getLimit() != 0) {
setLimit(other.getLimit());
}
if (other.getOffset() != 0) {
setOffset(other.getOffset());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
org.apache.comet.shaded.protobuf.CodedInputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
limit_ = input.readInt32();
break;
} // case 8
case 16: {
offset_ = input.readInt32();
break;
} // case 16
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (org.apache.comet.shaded.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int limit_ ;
/**
* int32 limit = 1;
* @return The limit.
*/
@java.lang.Override
public int getLimit() {
return limit_;
}
/**
* int32 limit = 1;
* @param value The limit to set.
* @return This builder for chaining.
*/
public Builder setLimit(int value) {
limit_ = value;
onChanged();
return this;
}
/**
* int32 limit = 1;
* @return This builder for chaining.
*/
public Builder clearLimit() {
limit_ = 0;
onChanged();
return this;
}
private int offset_ ;
/**
* int32 offset = 2;
* @return The offset.
*/
@java.lang.Override
public int getOffset() {
return offset_;
}
/**
* int32 offset = 2;
* @param value The offset to set.
* @return This builder for chaining.
*/
public Builder setOffset(int value) {
offset_ = value;
onChanged();
return this;
}
/**
* int32 offset = 2;
* @return This builder for chaining.
*/
public Builder clearOffset() {
offset_ = 0;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final org.apache.comet.shaded.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final org.apache.comet.shaded.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:spark.spark_operator.Limit)
}
// @@protoc_insertion_point(class_scope:spark.spark_operator.Limit)
private static final org.apache.comet.serde.OperatorOuterClass.Limit DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.comet.serde.OperatorOuterClass.Limit();
}
public static org.apache.comet.serde.OperatorOuterClass.Limit getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final org.apache.comet.shaded.protobuf.Parser
PARSER = new org.apache.comet.shaded.protobuf.AbstractParser() {
@java.lang.Override
public Limit parsePartialFrom(
org.apache.comet.shaded.protobuf.CodedInputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (org.apache.comet.shaded.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (org.apache.comet.shaded.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new org.apache.comet.shaded.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static org.apache.comet.shaded.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public org.apache.comet.shaded.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.Limit getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ShuffleWriterOrBuilder extends
// @@protoc_insertion_point(interface_extends:spark.spark_operator.ShuffleWriter)
org.apache.comet.shaded.protobuf.MessageOrBuilder {
/**
* .spark.spark_partitioning.Partitioning partitioning = 1;
* @return Whether the partitioning field is set.
*/
boolean hasPartitioning();
/**
* .spark.spark_partitioning.Partitioning partitioning = 1;
* @return The partitioning.
*/
org.apache.comet.serde.PartitioningOuterClass.Partitioning getPartitioning();
/**
* .spark.spark_partitioning.Partitioning partitioning = 1;
*/
org.apache.comet.serde.PartitioningOuterClass.PartitioningOrBuilder getPartitioningOrBuilder();
/**
* string output_data_file = 3;
* @return The outputDataFile.
*/
java.lang.String getOutputDataFile();
/**
* string output_data_file = 3;
* @return The bytes for outputDataFile.
*/
org.apache.comet.shaded.protobuf.ByteString
getOutputDataFileBytes();
/**
* string output_index_file = 4;
* @return The outputIndexFile.
*/
java.lang.String getOutputIndexFile();
/**
* string output_index_file = 4;
* @return The bytes for outputIndexFile.
*/
org.apache.comet.shaded.protobuf.ByteString
getOutputIndexFileBytes();
}
/**
* Protobuf type {@code spark.spark_operator.ShuffleWriter}
*/
public static final class ShuffleWriter extends
org.apache.comet.shaded.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:spark.spark_operator.ShuffleWriter)
ShuffleWriterOrBuilder {
private static final long serialVersionUID = 0L;
// Use ShuffleWriter.newBuilder() to construct.
private ShuffleWriter(org.apache.comet.shaded.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ShuffleWriter() {
outputDataFile_ = "";
outputIndexFile_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ShuffleWriter();
}
@java.lang.Override
public final org.apache.comet.shaded.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final org.apache.comet.shaded.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_ShuffleWriter_descriptor;
}
@java.lang.Override
protected org.apache.comet.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_ShuffleWriter_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.comet.serde.OperatorOuterClass.ShuffleWriter.class, org.apache.comet.serde.OperatorOuterClass.ShuffleWriter.Builder.class);
}
public static final int PARTITIONING_FIELD_NUMBER = 1;
private org.apache.comet.serde.PartitioningOuterClass.Partitioning partitioning_;
/**
* .spark.spark_partitioning.Partitioning partitioning = 1;
* @return Whether the partitioning field is set.
*/
@java.lang.Override
public boolean hasPartitioning() {
return partitioning_ != null;
}
/**
* .spark.spark_partitioning.Partitioning partitioning = 1;
* @return The partitioning.
*/
@java.lang.Override
public org.apache.comet.serde.PartitioningOuterClass.Partitioning getPartitioning() {
return partitioning_ == null ? org.apache.comet.serde.PartitioningOuterClass.Partitioning.getDefaultInstance() : partitioning_;
}
/**
* .spark.spark_partitioning.Partitioning partitioning = 1;
*/
@java.lang.Override
public org.apache.comet.serde.PartitioningOuterClass.PartitioningOrBuilder getPartitioningOrBuilder() {
return getPartitioning();
}
public static final int OUTPUT_DATA_FILE_FIELD_NUMBER = 3;
private volatile java.lang.Object outputDataFile_;
/**
* string output_data_file = 3;
* @return The outputDataFile.
*/
@java.lang.Override
public java.lang.String getOutputDataFile() {
java.lang.Object ref = outputDataFile_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
org.apache.comet.shaded.protobuf.ByteString bs =
(org.apache.comet.shaded.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
outputDataFile_ = s;
return s;
}
}
/**
* string output_data_file = 3;
* @return The bytes for outputDataFile.
*/
@java.lang.Override
public org.apache.comet.shaded.protobuf.ByteString
getOutputDataFileBytes() {
java.lang.Object ref = outputDataFile_;
if (ref instanceof java.lang.String) {
org.apache.comet.shaded.protobuf.ByteString b =
org.apache.comet.shaded.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
outputDataFile_ = b;
return b;
} else {
return (org.apache.comet.shaded.protobuf.ByteString) ref;
}
}
public static final int OUTPUT_INDEX_FILE_FIELD_NUMBER = 4;
private volatile java.lang.Object outputIndexFile_;
/**
* string output_index_file = 4;
* @return The outputIndexFile.
*/
@java.lang.Override
public java.lang.String getOutputIndexFile() {
java.lang.Object ref = outputIndexFile_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
org.apache.comet.shaded.protobuf.ByteString bs =
(org.apache.comet.shaded.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
outputIndexFile_ = s;
return s;
}
}
/**
* string output_index_file = 4;
* @return The bytes for outputIndexFile.
*/
@java.lang.Override
public org.apache.comet.shaded.protobuf.ByteString
getOutputIndexFileBytes() {
java.lang.Object ref = outputIndexFile_;
if (ref instanceof java.lang.String) {
org.apache.comet.shaded.protobuf.ByteString b =
org.apache.comet.shaded.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
outputIndexFile_ = b;
return b;
} else {
return (org.apache.comet.shaded.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(org.apache.comet.shaded.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (partitioning_ != null) {
output.writeMessage(1, getPartitioning());
}
if (!org.apache.comet.shaded.protobuf.GeneratedMessageV3.isStringEmpty(outputDataFile_)) {
org.apache.comet.shaded.protobuf.GeneratedMessageV3.writeString(output, 3, outputDataFile_);
}
if (!org.apache.comet.shaded.protobuf.GeneratedMessageV3.isStringEmpty(outputIndexFile_)) {
org.apache.comet.shaded.protobuf.GeneratedMessageV3.writeString(output, 4, outputIndexFile_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (partitioning_ != null) {
size += org.apache.comet.shaded.protobuf.CodedOutputStream
.computeMessageSize(1, getPartitioning());
}
if (!org.apache.comet.shaded.protobuf.GeneratedMessageV3.isStringEmpty(outputDataFile_)) {
size += org.apache.comet.shaded.protobuf.GeneratedMessageV3.computeStringSize(3, outputDataFile_);
}
if (!org.apache.comet.shaded.protobuf.GeneratedMessageV3.isStringEmpty(outputIndexFile_)) {
size += org.apache.comet.shaded.protobuf.GeneratedMessageV3.computeStringSize(4, outputIndexFile_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.comet.serde.OperatorOuterClass.ShuffleWriter)) {
return super.equals(obj);
}
org.apache.comet.serde.OperatorOuterClass.ShuffleWriter other = (org.apache.comet.serde.OperatorOuterClass.ShuffleWriter) obj;
if (hasPartitioning() != other.hasPartitioning()) return false;
if (hasPartitioning()) {
if (!getPartitioning()
.equals(other.getPartitioning())) return false;
}
if (!getOutputDataFile()
.equals(other.getOutputDataFile())) return false;
if (!getOutputIndexFile()
.equals(other.getOutputIndexFile())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasPartitioning()) {
hash = (37 * hash) + PARTITIONING_FIELD_NUMBER;
hash = (53 * hash) + getPartitioning().hashCode();
}
hash = (37 * hash) + OUTPUT_DATA_FILE_FIELD_NUMBER;
hash = (53 * hash) + getOutputDataFile().hashCode();
hash = (37 * hash) + OUTPUT_INDEX_FILE_FIELD_NUMBER;
hash = (53 * hash) + getOutputIndexFile().hashCode();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.comet.serde.OperatorOuterClass.ShuffleWriter parseFrom(
java.nio.ByteBuffer data)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.comet.serde.OperatorOuterClass.ShuffleWriter parseFrom(
java.nio.ByteBuffer data,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.ShuffleWriter parseFrom(
org.apache.comet.shaded.protobuf.ByteString data)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.comet.serde.OperatorOuterClass.ShuffleWriter parseFrom(
org.apache.comet.shaded.protobuf.ByteString data,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.ShuffleWriter parseFrom(byte[] data)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.comet.serde.OperatorOuterClass.ShuffleWriter parseFrom(
byte[] data,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.ShuffleWriter parseFrom(java.io.InputStream input)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.comet.serde.OperatorOuterClass.ShuffleWriter parseFrom(
java.io.InputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.ShuffleWriter parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.comet.serde.OperatorOuterClass.ShuffleWriter parseDelimitedFrom(
java.io.InputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.ShuffleWriter parseFrom(
org.apache.comet.shaded.protobuf.CodedInputStream input)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.comet.serde.OperatorOuterClass.ShuffleWriter parseFrom(
org.apache.comet.shaded.protobuf.CodedInputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.comet.serde.OperatorOuterClass.ShuffleWriter prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
org.apache.comet.shaded.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code spark.spark_operator.ShuffleWriter}
*/
public static final class Builder extends
org.apache.comet.shaded.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:spark.spark_operator.ShuffleWriter)
org.apache.comet.serde.OperatorOuterClass.ShuffleWriterOrBuilder {
public static final org.apache.comet.shaded.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_ShuffleWriter_descriptor;
}
@java.lang.Override
protected org.apache.comet.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_ShuffleWriter_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.comet.serde.OperatorOuterClass.ShuffleWriter.class, org.apache.comet.serde.OperatorOuterClass.ShuffleWriter.Builder.class);
}
// Construct using org.apache.comet.serde.OperatorOuterClass.ShuffleWriter.newBuilder()
private Builder() {
}
private Builder(
org.apache.comet.shaded.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
if (partitioningBuilder_ == null) {
partitioning_ = null;
} else {
partitioning_ = null;
partitioningBuilder_ = null;
}
outputDataFile_ = "";
outputIndexFile_ = "";
return this;
}
@java.lang.Override
public org.apache.comet.shaded.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_ShuffleWriter_descriptor;
}
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.ShuffleWriter getDefaultInstanceForType() {
return org.apache.comet.serde.OperatorOuterClass.ShuffleWriter.getDefaultInstance();
}
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.ShuffleWriter build() {
org.apache.comet.serde.OperatorOuterClass.ShuffleWriter result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.ShuffleWriter buildPartial() {
org.apache.comet.serde.OperatorOuterClass.ShuffleWriter result = new org.apache.comet.serde.OperatorOuterClass.ShuffleWriter(this);
if (partitioningBuilder_ == null) {
result.partitioning_ = partitioning_;
} else {
result.partitioning_ = partitioningBuilder_.build();
}
result.outputDataFile_ = outputDataFile_;
result.outputIndexFile_ = outputIndexFile_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
org.apache.comet.shaded.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
org.apache.comet.shaded.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
org.apache.comet.shaded.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
org.apache.comet.shaded.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
org.apache.comet.shaded.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(org.apache.comet.shaded.protobuf.Message other) {
if (other instanceof org.apache.comet.serde.OperatorOuterClass.ShuffleWriter) {
return mergeFrom((org.apache.comet.serde.OperatorOuterClass.ShuffleWriter)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.comet.serde.OperatorOuterClass.ShuffleWriter other) {
if (other == org.apache.comet.serde.OperatorOuterClass.ShuffleWriter.getDefaultInstance()) return this;
if (other.hasPartitioning()) {
mergePartitioning(other.getPartitioning());
}
if (!other.getOutputDataFile().isEmpty()) {
outputDataFile_ = other.outputDataFile_;
onChanged();
}
if (!other.getOutputIndexFile().isEmpty()) {
outputIndexFile_ = other.outputIndexFile_;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
org.apache.comet.shaded.protobuf.CodedInputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getPartitioningFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 10
case 26: {
outputDataFile_ = input.readStringRequireUtf8();
break;
} // case 26
case 34: {
outputIndexFile_ = input.readStringRequireUtf8();
break;
} // case 34
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (org.apache.comet.shaded.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private org.apache.comet.serde.PartitioningOuterClass.Partitioning partitioning_;
private org.apache.comet.shaded.protobuf.SingleFieldBuilderV3<
org.apache.comet.serde.PartitioningOuterClass.Partitioning, org.apache.comet.serde.PartitioningOuterClass.Partitioning.Builder, org.apache.comet.serde.PartitioningOuterClass.PartitioningOrBuilder> partitioningBuilder_;
/**
* .spark.spark_partitioning.Partitioning partitioning = 1;
* @return Whether the partitioning field is set.
*/
public boolean hasPartitioning() {
return partitioningBuilder_ != null || partitioning_ != null;
}
/**
* .spark.spark_partitioning.Partitioning partitioning = 1;
* @return The partitioning.
*/
public org.apache.comet.serde.PartitioningOuterClass.Partitioning getPartitioning() {
if (partitioningBuilder_ == null) {
return partitioning_ == null ? org.apache.comet.serde.PartitioningOuterClass.Partitioning.getDefaultInstance() : partitioning_;
} else {
return partitioningBuilder_.getMessage();
}
}
/**
* .spark.spark_partitioning.Partitioning partitioning = 1;
*/
public Builder setPartitioning(org.apache.comet.serde.PartitioningOuterClass.Partitioning value) {
if (partitioningBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
partitioning_ = value;
onChanged();
} else {
partitioningBuilder_.setMessage(value);
}
return this;
}
/**
* .spark.spark_partitioning.Partitioning partitioning = 1;
*/
public Builder setPartitioning(
org.apache.comet.serde.PartitioningOuterClass.Partitioning.Builder builderForValue) {
if (partitioningBuilder_ == null) {
partitioning_ = builderForValue.build();
onChanged();
} else {
partitioningBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .spark.spark_partitioning.Partitioning partitioning = 1;
*/
public Builder mergePartitioning(org.apache.comet.serde.PartitioningOuterClass.Partitioning value) {
if (partitioningBuilder_ == null) {
if (partitioning_ != null) {
partitioning_ =
org.apache.comet.serde.PartitioningOuterClass.Partitioning.newBuilder(partitioning_).mergeFrom(value).buildPartial();
} else {
partitioning_ = value;
}
onChanged();
} else {
partitioningBuilder_.mergeFrom(value);
}
return this;
}
/**
* .spark.spark_partitioning.Partitioning partitioning = 1;
*/
public Builder clearPartitioning() {
if (partitioningBuilder_ == null) {
partitioning_ = null;
onChanged();
} else {
partitioning_ = null;
partitioningBuilder_ = null;
}
return this;
}
/**
* .spark.spark_partitioning.Partitioning partitioning = 1;
*/
public org.apache.comet.serde.PartitioningOuterClass.Partitioning.Builder getPartitioningBuilder() {
onChanged();
return getPartitioningFieldBuilder().getBuilder();
}
/**
* .spark.spark_partitioning.Partitioning partitioning = 1;
*/
public org.apache.comet.serde.PartitioningOuterClass.PartitioningOrBuilder getPartitioningOrBuilder() {
if (partitioningBuilder_ != null) {
return partitioningBuilder_.getMessageOrBuilder();
} else {
return partitioning_ == null ?
org.apache.comet.serde.PartitioningOuterClass.Partitioning.getDefaultInstance() : partitioning_;
}
}
/**
* .spark.spark_partitioning.Partitioning partitioning = 1;
*/
private org.apache.comet.shaded.protobuf.SingleFieldBuilderV3<
org.apache.comet.serde.PartitioningOuterClass.Partitioning, org.apache.comet.serde.PartitioningOuterClass.Partitioning.Builder, org.apache.comet.serde.PartitioningOuterClass.PartitioningOrBuilder>
getPartitioningFieldBuilder() {
if (partitioningBuilder_ == null) {
partitioningBuilder_ = new org.apache.comet.shaded.protobuf.SingleFieldBuilderV3<
org.apache.comet.serde.PartitioningOuterClass.Partitioning, org.apache.comet.serde.PartitioningOuterClass.Partitioning.Builder, org.apache.comet.serde.PartitioningOuterClass.PartitioningOrBuilder>(
getPartitioning(),
getParentForChildren(),
isClean());
partitioning_ = null;
}
return partitioningBuilder_;
}
private java.lang.Object outputDataFile_ = "";
/**
* string output_data_file = 3;
* @return The outputDataFile.
*/
public java.lang.String getOutputDataFile() {
java.lang.Object ref = outputDataFile_;
if (!(ref instanceof java.lang.String)) {
org.apache.comet.shaded.protobuf.ByteString bs =
(org.apache.comet.shaded.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
outputDataFile_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string output_data_file = 3;
* @return The bytes for outputDataFile.
*/
public org.apache.comet.shaded.protobuf.ByteString
getOutputDataFileBytes() {
java.lang.Object ref = outputDataFile_;
if (ref instanceof String) {
org.apache.comet.shaded.protobuf.ByteString b =
org.apache.comet.shaded.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
outputDataFile_ = b;
return b;
} else {
return (org.apache.comet.shaded.protobuf.ByteString) ref;
}
}
/**
* string output_data_file = 3;
* @param value The outputDataFile to set.
* @return This builder for chaining.
*/
public Builder setOutputDataFile(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
outputDataFile_ = value;
onChanged();
return this;
}
/**
* string output_data_file = 3;
* @return This builder for chaining.
*/
public Builder clearOutputDataFile() {
outputDataFile_ = getDefaultInstance().getOutputDataFile();
onChanged();
return this;
}
/**
* string output_data_file = 3;
* @param value The bytes for outputDataFile to set.
* @return This builder for chaining.
*/
public Builder setOutputDataFileBytes(
org.apache.comet.shaded.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
outputDataFile_ = value;
onChanged();
return this;
}
private java.lang.Object outputIndexFile_ = "";
/**
* string output_index_file = 4;
* @return The outputIndexFile.
*/
public java.lang.String getOutputIndexFile() {
java.lang.Object ref = outputIndexFile_;
if (!(ref instanceof java.lang.String)) {
org.apache.comet.shaded.protobuf.ByteString bs =
(org.apache.comet.shaded.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
outputIndexFile_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string output_index_file = 4;
* @return The bytes for outputIndexFile.
*/
public org.apache.comet.shaded.protobuf.ByteString
getOutputIndexFileBytes() {
java.lang.Object ref = outputIndexFile_;
if (ref instanceof String) {
org.apache.comet.shaded.protobuf.ByteString b =
org.apache.comet.shaded.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
outputIndexFile_ = b;
return b;
} else {
return (org.apache.comet.shaded.protobuf.ByteString) ref;
}
}
/**
* string output_index_file = 4;
* @param value The outputIndexFile to set.
* @return This builder for chaining.
*/
public Builder setOutputIndexFile(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
outputIndexFile_ = value;
onChanged();
return this;
}
/**
* string output_index_file = 4;
* @return This builder for chaining.
*/
public Builder clearOutputIndexFile() {
outputIndexFile_ = getDefaultInstance().getOutputIndexFile();
onChanged();
return this;
}
/**
* string output_index_file = 4;
* @param value The bytes for outputIndexFile to set.
* @return This builder for chaining.
*/
public Builder setOutputIndexFileBytes(
org.apache.comet.shaded.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
outputIndexFile_ = value;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final org.apache.comet.shaded.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final org.apache.comet.shaded.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:spark.spark_operator.ShuffleWriter)
}
// @@protoc_insertion_point(class_scope:spark.spark_operator.ShuffleWriter)
private static final org.apache.comet.serde.OperatorOuterClass.ShuffleWriter DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.comet.serde.OperatorOuterClass.ShuffleWriter();
}
public static org.apache.comet.serde.OperatorOuterClass.ShuffleWriter getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final org.apache.comet.shaded.protobuf.Parser
PARSER = new org.apache.comet.shaded.protobuf.AbstractParser() {
@java.lang.Override
public ShuffleWriter parsePartialFrom(
org.apache.comet.shaded.protobuf.CodedInputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (org.apache.comet.shaded.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (org.apache.comet.shaded.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new org.apache.comet.shaded.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static org.apache.comet.shaded.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public org.apache.comet.shaded.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.ShuffleWriter getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ExpandOrBuilder extends
// @@protoc_insertion_point(interface_extends:spark.spark_operator.Expand)
org.apache.comet.shaded.protobuf.MessageOrBuilder {
/**
* repeated .spark.spark_expression.Expr project_list = 1;
*/
java.util.List
getProjectListList();
/**
* repeated .spark.spark_expression.Expr project_list = 1;
*/
org.apache.comet.serde.ExprOuterClass.Expr getProjectList(int index);
/**
* repeated .spark.spark_expression.Expr project_list = 1;
*/
int getProjectListCount();
/**
* repeated .spark.spark_expression.Expr project_list = 1;
*/
java.util.List extends org.apache.comet.serde.ExprOuterClass.ExprOrBuilder>
getProjectListOrBuilderList();
/**
* repeated .spark.spark_expression.Expr project_list = 1;
*/
org.apache.comet.serde.ExprOuterClass.ExprOrBuilder getProjectListOrBuilder(
int index);
/**
* int32 num_expr_per_project = 3;
* @return The numExprPerProject.
*/
int getNumExprPerProject();
}
/**
* Protobuf type {@code spark.spark_operator.Expand}
*/
public static final class Expand extends
org.apache.comet.shaded.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:spark.spark_operator.Expand)
ExpandOrBuilder {
private static final long serialVersionUID = 0L;
// Use Expand.newBuilder() to construct.
private Expand(org.apache.comet.shaded.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Expand() {
projectList_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Expand();
}
@java.lang.Override
public final org.apache.comet.shaded.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final org.apache.comet.shaded.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_Expand_descriptor;
}
@java.lang.Override
protected org.apache.comet.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_Expand_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.comet.serde.OperatorOuterClass.Expand.class, org.apache.comet.serde.OperatorOuterClass.Expand.Builder.class);
}
public static final int PROJECT_LIST_FIELD_NUMBER = 1;
private java.util.List projectList_;
/**
* repeated .spark.spark_expression.Expr project_list = 1;
*/
@java.lang.Override
public java.util.List getProjectListList() {
return projectList_;
}
/**
* repeated .spark.spark_expression.Expr project_list = 1;
*/
@java.lang.Override
public java.util.List extends org.apache.comet.serde.ExprOuterClass.ExprOrBuilder>
getProjectListOrBuilderList() {
return projectList_;
}
/**
* repeated .spark.spark_expression.Expr project_list = 1;
*/
@java.lang.Override
public int getProjectListCount() {
return projectList_.size();
}
/**
* repeated .spark.spark_expression.Expr project_list = 1;
*/
@java.lang.Override
public org.apache.comet.serde.ExprOuterClass.Expr getProjectList(int index) {
return projectList_.get(index);
}
/**
* repeated .spark.spark_expression.Expr project_list = 1;
*/
@java.lang.Override
public org.apache.comet.serde.ExprOuterClass.ExprOrBuilder getProjectListOrBuilder(
int index) {
return projectList_.get(index);
}
public static final int NUM_EXPR_PER_PROJECT_FIELD_NUMBER = 3;
private int numExprPerProject_;
/**
* int32 num_expr_per_project = 3;
* @return The numExprPerProject.
*/
@java.lang.Override
public int getNumExprPerProject() {
return numExprPerProject_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(org.apache.comet.shaded.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < projectList_.size(); i++) {
output.writeMessage(1, projectList_.get(i));
}
if (numExprPerProject_ != 0) {
output.writeInt32(3, numExprPerProject_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < projectList_.size(); i++) {
size += org.apache.comet.shaded.protobuf.CodedOutputStream
.computeMessageSize(1, projectList_.get(i));
}
if (numExprPerProject_ != 0) {
size += org.apache.comet.shaded.protobuf.CodedOutputStream
.computeInt32Size(3, numExprPerProject_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.comet.serde.OperatorOuterClass.Expand)) {
return super.equals(obj);
}
org.apache.comet.serde.OperatorOuterClass.Expand other = (org.apache.comet.serde.OperatorOuterClass.Expand) obj;
if (!getProjectListList()
.equals(other.getProjectListList())) return false;
if (getNumExprPerProject()
!= other.getNumExprPerProject()) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getProjectListCount() > 0) {
hash = (37 * hash) + PROJECT_LIST_FIELD_NUMBER;
hash = (53 * hash) + getProjectListList().hashCode();
}
hash = (37 * hash) + NUM_EXPR_PER_PROJECT_FIELD_NUMBER;
hash = (53 * hash) + getNumExprPerProject();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.comet.serde.OperatorOuterClass.Expand parseFrom(
java.nio.ByteBuffer data)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.comet.serde.OperatorOuterClass.Expand parseFrom(
java.nio.ByteBuffer data,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.Expand parseFrom(
org.apache.comet.shaded.protobuf.ByteString data)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.comet.serde.OperatorOuterClass.Expand parseFrom(
org.apache.comet.shaded.protobuf.ByteString data,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.Expand parseFrom(byte[] data)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.comet.serde.OperatorOuterClass.Expand parseFrom(
byte[] data,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.Expand parseFrom(java.io.InputStream input)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.comet.serde.OperatorOuterClass.Expand parseFrom(
java.io.InputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.Expand parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.comet.serde.OperatorOuterClass.Expand parseDelimitedFrom(
java.io.InputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.Expand parseFrom(
org.apache.comet.shaded.protobuf.CodedInputStream input)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.comet.serde.OperatorOuterClass.Expand parseFrom(
org.apache.comet.shaded.protobuf.CodedInputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.comet.serde.OperatorOuterClass.Expand prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
org.apache.comet.shaded.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code spark.spark_operator.Expand}
*/
public static final class Builder extends
org.apache.comet.shaded.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:spark.spark_operator.Expand)
org.apache.comet.serde.OperatorOuterClass.ExpandOrBuilder {
public static final org.apache.comet.shaded.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_Expand_descriptor;
}
@java.lang.Override
protected org.apache.comet.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_Expand_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.comet.serde.OperatorOuterClass.Expand.class, org.apache.comet.serde.OperatorOuterClass.Expand.Builder.class);
}
// Construct using org.apache.comet.serde.OperatorOuterClass.Expand.newBuilder()
private Builder() {
}
private Builder(
org.apache.comet.shaded.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
if (projectListBuilder_ == null) {
projectList_ = java.util.Collections.emptyList();
} else {
projectList_ = null;
projectListBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
numExprPerProject_ = 0;
return this;
}
@java.lang.Override
public org.apache.comet.shaded.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_Expand_descriptor;
}
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.Expand getDefaultInstanceForType() {
return org.apache.comet.serde.OperatorOuterClass.Expand.getDefaultInstance();
}
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.Expand build() {
org.apache.comet.serde.OperatorOuterClass.Expand result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.Expand buildPartial() {
org.apache.comet.serde.OperatorOuterClass.Expand result = new org.apache.comet.serde.OperatorOuterClass.Expand(this);
int from_bitField0_ = bitField0_;
if (projectListBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
projectList_ = java.util.Collections.unmodifiableList(projectList_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.projectList_ = projectList_;
} else {
result.projectList_ = projectListBuilder_.build();
}
result.numExprPerProject_ = numExprPerProject_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
org.apache.comet.shaded.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
org.apache.comet.shaded.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
org.apache.comet.shaded.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
org.apache.comet.shaded.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
org.apache.comet.shaded.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(org.apache.comet.shaded.protobuf.Message other) {
if (other instanceof org.apache.comet.serde.OperatorOuterClass.Expand) {
return mergeFrom((org.apache.comet.serde.OperatorOuterClass.Expand)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.comet.serde.OperatorOuterClass.Expand other) {
if (other == org.apache.comet.serde.OperatorOuterClass.Expand.getDefaultInstance()) return this;
if (projectListBuilder_ == null) {
if (!other.projectList_.isEmpty()) {
if (projectList_.isEmpty()) {
projectList_ = other.projectList_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureProjectListIsMutable();
projectList_.addAll(other.projectList_);
}
onChanged();
}
} else {
if (!other.projectList_.isEmpty()) {
if (projectListBuilder_.isEmpty()) {
projectListBuilder_.dispose();
projectListBuilder_ = null;
projectList_ = other.projectList_;
bitField0_ = (bitField0_ & ~0x00000001);
projectListBuilder_ =
org.apache.comet.shaded.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getProjectListFieldBuilder() : null;
} else {
projectListBuilder_.addAllMessages(other.projectList_);
}
}
}
if (other.getNumExprPerProject() != 0) {
setNumExprPerProject(other.getNumExprPerProject());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
org.apache.comet.shaded.protobuf.CodedInputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
org.apache.comet.serde.ExprOuterClass.Expr m =
input.readMessage(
org.apache.comet.serde.ExprOuterClass.Expr.parser(),
extensionRegistry);
if (projectListBuilder_ == null) {
ensureProjectListIsMutable();
projectList_.add(m);
} else {
projectListBuilder_.addMessage(m);
}
break;
} // case 10
case 24: {
numExprPerProject_ = input.readInt32();
break;
} // case 24
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (org.apache.comet.shaded.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.util.List projectList_ =
java.util.Collections.emptyList();
private void ensureProjectListIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
projectList_ = new java.util.ArrayList(projectList_);
bitField0_ |= 0x00000001;
}
}
private org.apache.comet.shaded.protobuf.RepeatedFieldBuilderV3<
org.apache.comet.serde.ExprOuterClass.Expr, org.apache.comet.serde.ExprOuterClass.Expr.Builder, org.apache.comet.serde.ExprOuterClass.ExprOrBuilder> projectListBuilder_;
/**
* repeated .spark.spark_expression.Expr project_list = 1;
*/
public java.util.List getProjectListList() {
if (projectListBuilder_ == null) {
return java.util.Collections.unmodifiableList(projectList_);
} else {
return projectListBuilder_.getMessageList();
}
}
/**
* repeated .spark.spark_expression.Expr project_list = 1;
*/
public int getProjectListCount() {
if (projectListBuilder_ == null) {
return projectList_.size();
} else {
return projectListBuilder_.getCount();
}
}
/**
* repeated .spark.spark_expression.Expr project_list = 1;
*/
public org.apache.comet.serde.ExprOuterClass.Expr getProjectList(int index) {
if (projectListBuilder_ == null) {
return projectList_.get(index);
} else {
return projectListBuilder_.getMessage(index);
}
}
/**
* repeated .spark.spark_expression.Expr project_list = 1;
*/
public Builder setProjectList(
int index, org.apache.comet.serde.ExprOuterClass.Expr value) {
if (projectListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureProjectListIsMutable();
projectList_.set(index, value);
onChanged();
} else {
projectListBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .spark.spark_expression.Expr project_list = 1;
*/
public Builder setProjectList(
int index, org.apache.comet.serde.ExprOuterClass.Expr.Builder builderForValue) {
if (projectListBuilder_ == null) {
ensureProjectListIsMutable();
projectList_.set(index, builderForValue.build());
onChanged();
} else {
projectListBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .spark.spark_expression.Expr project_list = 1;
*/
public Builder addProjectList(org.apache.comet.serde.ExprOuterClass.Expr value) {
if (projectListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureProjectListIsMutable();
projectList_.add(value);
onChanged();
} else {
projectListBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .spark.spark_expression.Expr project_list = 1;
*/
public Builder addProjectList(
int index, org.apache.comet.serde.ExprOuterClass.Expr value) {
if (projectListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureProjectListIsMutable();
projectList_.add(index, value);
onChanged();
} else {
projectListBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .spark.spark_expression.Expr project_list = 1;
*/
public Builder addProjectList(
org.apache.comet.serde.ExprOuterClass.Expr.Builder builderForValue) {
if (projectListBuilder_ == null) {
ensureProjectListIsMutable();
projectList_.add(builderForValue.build());
onChanged();
} else {
projectListBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .spark.spark_expression.Expr project_list = 1;
*/
public Builder addProjectList(
int index, org.apache.comet.serde.ExprOuterClass.Expr.Builder builderForValue) {
if (projectListBuilder_ == null) {
ensureProjectListIsMutable();
projectList_.add(index, builderForValue.build());
onChanged();
} else {
projectListBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .spark.spark_expression.Expr project_list = 1;
*/
public Builder addAllProjectList(
java.lang.Iterable extends org.apache.comet.serde.ExprOuterClass.Expr> values) {
if (projectListBuilder_ == null) {
ensureProjectListIsMutable();
org.apache.comet.shaded.protobuf.AbstractMessageLite.Builder.addAll(
values, projectList_);
onChanged();
} else {
projectListBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .spark.spark_expression.Expr project_list = 1;
*/
public Builder clearProjectList() {
if (projectListBuilder_ == null) {
projectList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
projectListBuilder_.clear();
}
return this;
}
/**
* repeated .spark.spark_expression.Expr project_list = 1;
*/
public Builder removeProjectList(int index) {
if (projectListBuilder_ == null) {
ensureProjectListIsMutable();
projectList_.remove(index);
onChanged();
} else {
projectListBuilder_.remove(index);
}
return this;
}
/**
* repeated .spark.spark_expression.Expr project_list = 1;
*/
public org.apache.comet.serde.ExprOuterClass.Expr.Builder getProjectListBuilder(
int index) {
return getProjectListFieldBuilder().getBuilder(index);
}
/**
* repeated .spark.spark_expression.Expr project_list = 1;
*/
public org.apache.comet.serde.ExprOuterClass.ExprOrBuilder getProjectListOrBuilder(
int index) {
if (projectListBuilder_ == null) {
return projectList_.get(index); } else {
return projectListBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .spark.spark_expression.Expr project_list = 1;
*/
public java.util.List extends org.apache.comet.serde.ExprOuterClass.ExprOrBuilder>
getProjectListOrBuilderList() {
if (projectListBuilder_ != null) {
return projectListBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(projectList_);
}
}
/**
* repeated .spark.spark_expression.Expr project_list = 1;
*/
public org.apache.comet.serde.ExprOuterClass.Expr.Builder addProjectListBuilder() {
return getProjectListFieldBuilder().addBuilder(
org.apache.comet.serde.ExprOuterClass.Expr.getDefaultInstance());
}
/**
* repeated .spark.spark_expression.Expr project_list = 1;
*/
public org.apache.comet.serde.ExprOuterClass.Expr.Builder addProjectListBuilder(
int index) {
return getProjectListFieldBuilder().addBuilder(
index, org.apache.comet.serde.ExprOuterClass.Expr.getDefaultInstance());
}
/**
* repeated .spark.spark_expression.Expr project_list = 1;
*/
public java.util.List
getProjectListBuilderList() {
return getProjectListFieldBuilder().getBuilderList();
}
private org.apache.comet.shaded.protobuf.RepeatedFieldBuilderV3<
org.apache.comet.serde.ExprOuterClass.Expr, org.apache.comet.serde.ExprOuterClass.Expr.Builder, org.apache.comet.serde.ExprOuterClass.ExprOrBuilder>
getProjectListFieldBuilder() {
if (projectListBuilder_ == null) {
projectListBuilder_ = new org.apache.comet.shaded.protobuf.RepeatedFieldBuilderV3<
org.apache.comet.serde.ExprOuterClass.Expr, org.apache.comet.serde.ExprOuterClass.Expr.Builder, org.apache.comet.serde.ExprOuterClass.ExprOrBuilder>(
projectList_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
projectList_ = null;
}
return projectListBuilder_;
}
private int numExprPerProject_ ;
/**
* int32 num_expr_per_project = 3;
* @return The numExprPerProject.
*/
@java.lang.Override
public int getNumExprPerProject() {
return numExprPerProject_;
}
/**
* int32 num_expr_per_project = 3;
* @param value The numExprPerProject to set.
* @return This builder for chaining.
*/
public Builder setNumExprPerProject(int value) {
numExprPerProject_ = value;
onChanged();
return this;
}
/**
* int32 num_expr_per_project = 3;
* @return This builder for chaining.
*/
public Builder clearNumExprPerProject() {
numExprPerProject_ = 0;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final org.apache.comet.shaded.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final org.apache.comet.shaded.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:spark.spark_operator.Expand)
}
// @@protoc_insertion_point(class_scope:spark.spark_operator.Expand)
private static final org.apache.comet.serde.OperatorOuterClass.Expand DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.comet.serde.OperatorOuterClass.Expand();
}
public static org.apache.comet.serde.OperatorOuterClass.Expand getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final org.apache.comet.shaded.protobuf.Parser
PARSER = new org.apache.comet.shaded.protobuf.AbstractParser() {
@java.lang.Override
public Expand parsePartialFrom(
org.apache.comet.shaded.protobuf.CodedInputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (org.apache.comet.shaded.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (org.apache.comet.shaded.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new org.apache.comet.shaded.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static org.apache.comet.shaded.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public org.apache.comet.shaded.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.Expand getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface HashJoinOrBuilder extends
// @@protoc_insertion_point(interface_extends:spark.spark_operator.HashJoin)
org.apache.comet.shaded.protobuf.MessageOrBuilder {
/**
* repeated .spark.spark_expression.Expr left_join_keys = 1;
*/
java.util.List
getLeftJoinKeysList();
/**
* repeated .spark.spark_expression.Expr left_join_keys = 1;
*/
org.apache.comet.serde.ExprOuterClass.Expr getLeftJoinKeys(int index);
/**
* repeated .spark.spark_expression.Expr left_join_keys = 1;
*/
int getLeftJoinKeysCount();
/**
* repeated .spark.spark_expression.Expr left_join_keys = 1;
*/
java.util.List extends org.apache.comet.serde.ExprOuterClass.ExprOrBuilder>
getLeftJoinKeysOrBuilderList();
/**
* repeated .spark.spark_expression.Expr left_join_keys = 1;
*/
org.apache.comet.serde.ExprOuterClass.ExprOrBuilder getLeftJoinKeysOrBuilder(
int index);
/**
* repeated .spark.spark_expression.Expr right_join_keys = 2;
*/
java.util.List
getRightJoinKeysList();
/**
* repeated .spark.spark_expression.Expr right_join_keys = 2;
*/
org.apache.comet.serde.ExprOuterClass.Expr getRightJoinKeys(int index);
/**
* repeated .spark.spark_expression.Expr right_join_keys = 2;
*/
int getRightJoinKeysCount();
/**
* repeated .spark.spark_expression.Expr right_join_keys = 2;
*/
java.util.List extends org.apache.comet.serde.ExprOuterClass.ExprOrBuilder>
getRightJoinKeysOrBuilderList();
/**
* repeated .spark.spark_expression.Expr right_join_keys = 2;
*/
org.apache.comet.serde.ExprOuterClass.ExprOrBuilder getRightJoinKeysOrBuilder(
int index);
/**
* .spark.spark_operator.JoinType join_type = 3;
* @return The enum numeric value on the wire for joinType.
*/
int getJoinTypeValue();
/**
* .spark.spark_operator.JoinType join_type = 3;
* @return The joinType.
*/
org.apache.comet.serde.OperatorOuterClass.JoinType getJoinType();
/**
* optional .spark.spark_expression.Expr condition = 4;
* @return Whether the condition field is set.
*/
boolean hasCondition();
/**
* optional .spark.spark_expression.Expr condition = 4;
* @return The condition.
*/
org.apache.comet.serde.ExprOuterClass.Expr getCondition();
/**
* optional .spark.spark_expression.Expr condition = 4;
*/
org.apache.comet.serde.ExprOuterClass.ExprOrBuilder getConditionOrBuilder();
/**
* .spark.spark_operator.BuildSide build_side = 5;
* @return The enum numeric value on the wire for buildSide.
*/
int getBuildSideValue();
/**
* .spark.spark_operator.BuildSide build_side = 5;
* @return The buildSide.
*/
org.apache.comet.serde.OperatorOuterClass.BuildSide getBuildSide();
}
/**
* Protobuf type {@code spark.spark_operator.HashJoin}
*/
public static final class HashJoin extends
org.apache.comet.shaded.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:spark.spark_operator.HashJoin)
HashJoinOrBuilder {
private static final long serialVersionUID = 0L;
// Use HashJoin.newBuilder() to construct.
private HashJoin(org.apache.comet.shaded.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private HashJoin() {
leftJoinKeys_ = java.util.Collections.emptyList();
rightJoinKeys_ = java.util.Collections.emptyList();
joinType_ = 0;
buildSide_ = 0;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new HashJoin();
}
@java.lang.Override
public final org.apache.comet.shaded.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final org.apache.comet.shaded.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_HashJoin_descriptor;
}
@java.lang.Override
protected org.apache.comet.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_HashJoin_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.comet.serde.OperatorOuterClass.HashJoin.class, org.apache.comet.serde.OperatorOuterClass.HashJoin.Builder.class);
}
private int bitField0_;
public static final int LEFT_JOIN_KEYS_FIELD_NUMBER = 1;
private java.util.List leftJoinKeys_;
/**
* repeated .spark.spark_expression.Expr left_join_keys = 1;
*/
@java.lang.Override
public java.util.List getLeftJoinKeysList() {
return leftJoinKeys_;
}
/**
* repeated .spark.spark_expression.Expr left_join_keys = 1;
*/
@java.lang.Override
public java.util.List extends org.apache.comet.serde.ExprOuterClass.ExprOrBuilder>
getLeftJoinKeysOrBuilderList() {
return leftJoinKeys_;
}
/**
* repeated .spark.spark_expression.Expr left_join_keys = 1;
*/
@java.lang.Override
public int getLeftJoinKeysCount() {
return leftJoinKeys_.size();
}
/**
* repeated .spark.spark_expression.Expr left_join_keys = 1;
*/
@java.lang.Override
public org.apache.comet.serde.ExprOuterClass.Expr getLeftJoinKeys(int index) {
return leftJoinKeys_.get(index);
}
/**
* repeated .spark.spark_expression.Expr left_join_keys = 1;
*/
@java.lang.Override
public org.apache.comet.serde.ExprOuterClass.ExprOrBuilder getLeftJoinKeysOrBuilder(
int index) {
return leftJoinKeys_.get(index);
}
public static final int RIGHT_JOIN_KEYS_FIELD_NUMBER = 2;
private java.util.List rightJoinKeys_;
/**
* repeated .spark.spark_expression.Expr right_join_keys = 2;
*/
@java.lang.Override
public java.util.List getRightJoinKeysList() {
return rightJoinKeys_;
}
/**
* repeated .spark.spark_expression.Expr right_join_keys = 2;
*/
@java.lang.Override
public java.util.List extends org.apache.comet.serde.ExprOuterClass.ExprOrBuilder>
getRightJoinKeysOrBuilderList() {
return rightJoinKeys_;
}
/**
* repeated .spark.spark_expression.Expr right_join_keys = 2;
*/
@java.lang.Override
public int getRightJoinKeysCount() {
return rightJoinKeys_.size();
}
/**
* repeated .spark.spark_expression.Expr right_join_keys = 2;
*/
@java.lang.Override
public org.apache.comet.serde.ExprOuterClass.Expr getRightJoinKeys(int index) {
return rightJoinKeys_.get(index);
}
/**
* repeated .spark.spark_expression.Expr right_join_keys = 2;
*/
@java.lang.Override
public org.apache.comet.serde.ExprOuterClass.ExprOrBuilder getRightJoinKeysOrBuilder(
int index) {
return rightJoinKeys_.get(index);
}
public static final int JOIN_TYPE_FIELD_NUMBER = 3;
private int joinType_;
/**
* .spark.spark_operator.JoinType join_type = 3;
* @return The enum numeric value on the wire for joinType.
*/
@java.lang.Override public int getJoinTypeValue() {
return joinType_;
}
/**
* .spark.spark_operator.JoinType join_type = 3;
* @return The joinType.
*/
@java.lang.Override public org.apache.comet.serde.OperatorOuterClass.JoinType getJoinType() {
@SuppressWarnings("deprecation")
org.apache.comet.serde.OperatorOuterClass.JoinType result = org.apache.comet.serde.OperatorOuterClass.JoinType.valueOf(joinType_);
return result == null ? org.apache.comet.serde.OperatorOuterClass.JoinType.UNRECOGNIZED : result;
}
public static final int CONDITION_FIELD_NUMBER = 4;
private org.apache.comet.serde.ExprOuterClass.Expr condition_;
/**
* optional .spark.spark_expression.Expr condition = 4;
* @return Whether the condition field is set.
*/
@java.lang.Override
public boolean hasCondition() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional .spark.spark_expression.Expr condition = 4;
* @return The condition.
*/
@java.lang.Override
public org.apache.comet.serde.ExprOuterClass.Expr getCondition() {
return condition_ == null ? org.apache.comet.serde.ExprOuterClass.Expr.getDefaultInstance() : condition_;
}
/**
* optional .spark.spark_expression.Expr condition = 4;
*/
@java.lang.Override
public org.apache.comet.serde.ExprOuterClass.ExprOrBuilder getConditionOrBuilder() {
return condition_ == null ? org.apache.comet.serde.ExprOuterClass.Expr.getDefaultInstance() : condition_;
}
public static final int BUILD_SIDE_FIELD_NUMBER = 5;
private int buildSide_;
/**
* .spark.spark_operator.BuildSide build_side = 5;
* @return The enum numeric value on the wire for buildSide.
*/
@java.lang.Override public int getBuildSideValue() {
return buildSide_;
}
/**
* .spark.spark_operator.BuildSide build_side = 5;
* @return The buildSide.
*/
@java.lang.Override public org.apache.comet.serde.OperatorOuterClass.BuildSide getBuildSide() {
@SuppressWarnings("deprecation")
org.apache.comet.serde.OperatorOuterClass.BuildSide result = org.apache.comet.serde.OperatorOuterClass.BuildSide.valueOf(buildSide_);
return result == null ? org.apache.comet.serde.OperatorOuterClass.BuildSide.UNRECOGNIZED : result;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(org.apache.comet.shaded.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < leftJoinKeys_.size(); i++) {
output.writeMessage(1, leftJoinKeys_.get(i));
}
for (int i = 0; i < rightJoinKeys_.size(); i++) {
output.writeMessage(2, rightJoinKeys_.get(i));
}
if (joinType_ != org.apache.comet.serde.OperatorOuterClass.JoinType.Inner.getNumber()) {
output.writeEnum(3, joinType_);
}
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(4, getCondition());
}
if (buildSide_ != org.apache.comet.serde.OperatorOuterClass.BuildSide.BuildLeft.getNumber()) {
output.writeEnum(5, buildSide_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < leftJoinKeys_.size(); i++) {
size += org.apache.comet.shaded.protobuf.CodedOutputStream
.computeMessageSize(1, leftJoinKeys_.get(i));
}
for (int i = 0; i < rightJoinKeys_.size(); i++) {
size += org.apache.comet.shaded.protobuf.CodedOutputStream
.computeMessageSize(2, rightJoinKeys_.get(i));
}
if (joinType_ != org.apache.comet.serde.OperatorOuterClass.JoinType.Inner.getNumber()) {
size += org.apache.comet.shaded.protobuf.CodedOutputStream
.computeEnumSize(3, joinType_);
}
if (((bitField0_ & 0x00000001) != 0)) {
size += org.apache.comet.shaded.protobuf.CodedOutputStream
.computeMessageSize(4, getCondition());
}
if (buildSide_ != org.apache.comet.serde.OperatorOuterClass.BuildSide.BuildLeft.getNumber()) {
size += org.apache.comet.shaded.protobuf.CodedOutputStream
.computeEnumSize(5, buildSide_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.comet.serde.OperatorOuterClass.HashJoin)) {
return super.equals(obj);
}
org.apache.comet.serde.OperatorOuterClass.HashJoin other = (org.apache.comet.serde.OperatorOuterClass.HashJoin) obj;
if (!getLeftJoinKeysList()
.equals(other.getLeftJoinKeysList())) return false;
if (!getRightJoinKeysList()
.equals(other.getRightJoinKeysList())) return false;
if (joinType_ != other.joinType_) return false;
if (hasCondition() != other.hasCondition()) return false;
if (hasCondition()) {
if (!getCondition()
.equals(other.getCondition())) return false;
}
if (buildSide_ != other.buildSide_) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getLeftJoinKeysCount() > 0) {
hash = (37 * hash) + LEFT_JOIN_KEYS_FIELD_NUMBER;
hash = (53 * hash) + getLeftJoinKeysList().hashCode();
}
if (getRightJoinKeysCount() > 0) {
hash = (37 * hash) + RIGHT_JOIN_KEYS_FIELD_NUMBER;
hash = (53 * hash) + getRightJoinKeysList().hashCode();
}
hash = (37 * hash) + JOIN_TYPE_FIELD_NUMBER;
hash = (53 * hash) + joinType_;
if (hasCondition()) {
hash = (37 * hash) + CONDITION_FIELD_NUMBER;
hash = (53 * hash) + getCondition().hashCode();
}
hash = (37 * hash) + BUILD_SIDE_FIELD_NUMBER;
hash = (53 * hash) + buildSide_;
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.comet.serde.OperatorOuterClass.HashJoin parseFrom(
java.nio.ByteBuffer data)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.comet.serde.OperatorOuterClass.HashJoin parseFrom(
java.nio.ByteBuffer data,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.HashJoin parseFrom(
org.apache.comet.shaded.protobuf.ByteString data)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.comet.serde.OperatorOuterClass.HashJoin parseFrom(
org.apache.comet.shaded.protobuf.ByteString data,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.HashJoin parseFrom(byte[] data)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.comet.serde.OperatorOuterClass.HashJoin parseFrom(
byte[] data,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.HashJoin parseFrom(java.io.InputStream input)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.comet.serde.OperatorOuterClass.HashJoin parseFrom(
java.io.InputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.HashJoin parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.comet.serde.OperatorOuterClass.HashJoin parseDelimitedFrom(
java.io.InputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.HashJoin parseFrom(
org.apache.comet.shaded.protobuf.CodedInputStream input)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.comet.serde.OperatorOuterClass.HashJoin parseFrom(
org.apache.comet.shaded.protobuf.CodedInputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.comet.serde.OperatorOuterClass.HashJoin prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
org.apache.comet.shaded.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code spark.spark_operator.HashJoin}
*/
public static final class Builder extends
org.apache.comet.shaded.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:spark.spark_operator.HashJoin)
org.apache.comet.serde.OperatorOuterClass.HashJoinOrBuilder {
public static final org.apache.comet.shaded.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_HashJoin_descriptor;
}
@java.lang.Override
protected org.apache.comet.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_HashJoin_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.comet.serde.OperatorOuterClass.HashJoin.class, org.apache.comet.serde.OperatorOuterClass.HashJoin.Builder.class);
}
// Construct using org.apache.comet.serde.OperatorOuterClass.HashJoin.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
org.apache.comet.shaded.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (org.apache.comet.shaded.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getLeftJoinKeysFieldBuilder();
getRightJoinKeysFieldBuilder();
getConditionFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (leftJoinKeysBuilder_ == null) {
leftJoinKeys_ = java.util.Collections.emptyList();
} else {
leftJoinKeys_ = null;
leftJoinKeysBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
if (rightJoinKeysBuilder_ == null) {
rightJoinKeys_ = java.util.Collections.emptyList();
} else {
rightJoinKeys_ = null;
rightJoinKeysBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
joinType_ = 0;
if (conditionBuilder_ == null) {
condition_ = null;
} else {
conditionBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000004);
buildSide_ = 0;
return this;
}
@java.lang.Override
public org.apache.comet.shaded.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_HashJoin_descriptor;
}
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.HashJoin getDefaultInstanceForType() {
return org.apache.comet.serde.OperatorOuterClass.HashJoin.getDefaultInstance();
}
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.HashJoin build() {
org.apache.comet.serde.OperatorOuterClass.HashJoin result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.HashJoin buildPartial() {
org.apache.comet.serde.OperatorOuterClass.HashJoin result = new org.apache.comet.serde.OperatorOuterClass.HashJoin(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (leftJoinKeysBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
leftJoinKeys_ = java.util.Collections.unmodifiableList(leftJoinKeys_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.leftJoinKeys_ = leftJoinKeys_;
} else {
result.leftJoinKeys_ = leftJoinKeysBuilder_.build();
}
if (rightJoinKeysBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0)) {
rightJoinKeys_ = java.util.Collections.unmodifiableList(rightJoinKeys_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.rightJoinKeys_ = rightJoinKeys_;
} else {
result.rightJoinKeys_ = rightJoinKeysBuilder_.build();
}
result.joinType_ = joinType_;
if (((from_bitField0_ & 0x00000004) != 0)) {
if (conditionBuilder_ == null) {
result.condition_ = condition_;
} else {
result.condition_ = conditionBuilder_.build();
}
to_bitField0_ |= 0x00000001;
}
result.buildSide_ = buildSide_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
org.apache.comet.shaded.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
org.apache.comet.shaded.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
org.apache.comet.shaded.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
org.apache.comet.shaded.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
org.apache.comet.shaded.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(org.apache.comet.shaded.protobuf.Message other) {
if (other instanceof org.apache.comet.serde.OperatorOuterClass.HashJoin) {
return mergeFrom((org.apache.comet.serde.OperatorOuterClass.HashJoin)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.comet.serde.OperatorOuterClass.HashJoin other) {
if (other == org.apache.comet.serde.OperatorOuterClass.HashJoin.getDefaultInstance()) return this;
if (leftJoinKeysBuilder_ == null) {
if (!other.leftJoinKeys_.isEmpty()) {
if (leftJoinKeys_.isEmpty()) {
leftJoinKeys_ = other.leftJoinKeys_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureLeftJoinKeysIsMutable();
leftJoinKeys_.addAll(other.leftJoinKeys_);
}
onChanged();
}
} else {
if (!other.leftJoinKeys_.isEmpty()) {
if (leftJoinKeysBuilder_.isEmpty()) {
leftJoinKeysBuilder_.dispose();
leftJoinKeysBuilder_ = null;
leftJoinKeys_ = other.leftJoinKeys_;
bitField0_ = (bitField0_ & ~0x00000001);
leftJoinKeysBuilder_ =
org.apache.comet.shaded.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getLeftJoinKeysFieldBuilder() : null;
} else {
leftJoinKeysBuilder_.addAllMessages(other.leftJoinKeys_);
}
}
}
if (rightJoinKeysBuilder_ == null) {
if (!other.rightJoinKeys_.isEmpty()) {
if (rightJoinKeys_.isEmpty()) {
rightJoinKeys_ = other.rightJoinKeys_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureRightJoinKeysIsMutable();
rightJoinKeys_.addAll(other.rightJoinKeys_);
}
onChanged();
}
} else {
if (!other.rightJoinKeys_.isEmpty()) {
if (rightJoinKeysBuilder_.isEmpty()) {
rightJoinKeysBuilder_.dispose();
rightJoinKeysBuilder_ = null;
rightJoinKeys_ = other.rightJoinKeys_;
bitField0_ = (bitField0_ & ~0x00000002);
rightJoinKeysBuilder_ =
org.apache.comet.shaded.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getRightJoinKeysFieldBuilder() : null;
} else {
rightJoinKeysBuilder_.addAllMessages(other.rightJoinKeys_);
}
}
}
if (other.joinType_ != 0) {
setJoinTypeValue(other.getJoinTypeValue());
}
if (other.hasCondition()) {
mergeCondition(other.getCondition());
}
if (other.buildSide_ != 0) {
setBuildSideValue(other.getBuildSideValue());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
org.apache.comet.shaded.protobuf.CodedInputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
org.apache.comet.serde.ExprOuterClass.Expr m =
input.readMessage(
org.apache.comet.serde.ExprOuterClass.Expr.parser(),
extensionRegistry);
if (leftJoinKeysBuilder_ == null) {
ensureLeftJoinKeysIsMutable();
leftJoinKeys_.add(m);
} else {
leftJoinKeysBuilder_.addMessage(m);
}
break;
} // case 10
case 18: {
org.apache.comet.serde.ExprOuterClass.Expr m =
input.readMessage(
org.apache.comet.serde.ExprOuterClass.Expr.parser(),
extensionRegistry);
if (rightJoinKeysBuilder_ == null) {
ensureRightJoinKeysIsMutable();
rightJoinKeys_.add(m);
} else {
rightJoinKeysBuilder_.addMessage(m);
}
break;
} // case 18
case 24: {
joinType_ = input.readEnum();
break;
} // case 24
case 34: {
input.readMessage(
getConditionFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000004;
break;
} // case 34
case 40: {
buildSide_ = input.readEnum();
break;
} // case 40
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (org.apache.comet.shaded.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.util.List leftJoinKeys_ =
java.util.Collections.emptyList();
private void ensureLeftJoinKeysIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
leftJoinKeys_ = new java.util.ArrayList(leftJoinKeys_);
bitField0_ |= 0x00000001;
}
}
private org.apache.comet.shaded.protobuf.RepeatedFieldBuilderV3<
org.apache.comet.serde.ExprOuterClass.Expr, org.apache.comet.serde.ExprOuterClass.Expr.Builder, org.apache.comet.serde.ExprOuterClass.ExprOrBuilder> leftJoinKeysBuilder_;
/**
* repeated .spark.spark_expression.Expr left_join_keys = 1;
*/
public java.util.List getLeftJoinKeysList() {
if (leftJoinKeysBuilder_ == null) {
return java.util.Collections.unmodifiableList(leftJoinKeys_);
} else {
return leftJoinKeysBuilder_.getMessageList();
}
}
/**
* repeated .spark.spark_expression.Expr left_join_keys = 1;
*/
public int getLeftJoinKeysCount() {
if (leftJoinKeysBuilder_ == null) {
return leftJoinKeys_.size();
} else {
return leftJoinKeysBuilder_.getCount();
}
}
/**
* repeated .spark.spark_expression.Expr left_join_keys = 1;
*/
public org.apache.comet.serde.ExprOuterClass.Expr getLeftJoinKeys(int index) {
if (leftJoinKeysBuilder_ == null) {
return leftJoinKeys_.get(index);
} else {
return leftJoinKeysBuilder_.getMessage(index);
}
}
/**
* repeated .spark.spark_expression.Expr left_join_keys = 1;
*/
public Builder setLeftJoinKeys(
int index, org.apache.comet.serde.ExprOuterClass.Expr value) {
if (leftJoinKeysBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLeftJoinKeysIsMutable();
leftJoinKeys_.set(index, value);
onChanged();
} else {
leftJoinKeysBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .spark.spark_expression.Expr left_join_keys = 1;
*/
public Builder setLeftJoinKeys(
int index, org.apache.comet.serde.ExprOuterClass.Expr.Builder builderForValue) {
if (leftJoinKeysBuilder_ == null) {
ensureLeftJoinKeysIsMutable();
leftJoinKeys_.set(index, builderForValue.build());
onChanged();
} else {
leftJoinKeysBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .spark.spark_expression.Expr left_join_keys = 1;
*/
public Builder addLeftJoinKeys(org.apache.comet.serde.ExprOuterClass.Expr value) {
if (leftJoinKeysBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLeftJoinKeysIsMutable();
leftJoinKeys_.add(value);
onChanged();
} else {
leftJoinKeysBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .spark.spark_expression.Expr left_join_keys = 1;
*/
public Builder addLeftJoinKeys(
int index, org.apache.comet.serde.ExprOuterClass.Expr value) {
if (leftJoinKeysBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLeftJoinKeysIsMutable();
leftJoinKeys_.add(index, value);
onChanged();
} else {
leftJoinKeysBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .spark.spark_expression.Expr left_join_keys = 1;
*/
public Builder addLeftJoinKeys(
org.apache.comet.serde.ExprOuterClass.Expr.Builder builderForValue) {
if (leftJoinKeysBuilder_ == null) {
ensureLeftJoinKeysIsMutable();
leftJoinKeys_.add(builderForValue.build());
onChanged();
} else {
leftJoinKeysBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .spark.spark_expression.Expr left_join_keys = 1;
*/
public Builder addLeftJoinKeys(
int index, org.apache.comet.serde.ExprOuterClass.Expr.Builder builderForValue) {
if (leftJoinKeysBuilder_ == null) {
ensureLeftJoinKeysIsMutable();
leftJoinKeys_.add(index, builderForValue.build());
onChanged();
} else {
leftJoinKeysBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .spark.spark_expression.Expr left_join_keys = 1;
*/
public Builder addAllLeftJoinKeys(
java.lang.Iterable extends org.apache.comet.serde.ExprOuterClass.Expr> values) {
if (leftJoinKeysBuilder_ == null) {
ensureLeftJoinKeysIsMutable();
org.apache.comet.shaded.protobuf.AbstractMessageLite.Builder.addAll(
values, leftJoinKeys_);
onChanged();
} else {
leftJoinKeysBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .spark.spark_expression.Expr left_join_keys = 1;
*/
public Builder clearLeftJoinKeys() {
if (leftJoinKeysBuilder_ == null) {
leftJoinKeys_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
leftJoinKeysBuilder_.clear();
}
return this;
}
/**
* repeated .spark.spark_expression.Expr left_join_keys = 1;
*/
public Builder removeLeftJoinKeys(int index) {
if (leftJoinKeysBuilder_ == null) {
ensureLeftJoinKeysIsMutable();
leftJoinKeys_.remove(index);
onChanged();
} else {
leftJoinKeysBuilder_.remove(index);
}
return this;
}
/**
* repeated .spark.spark_expression.Expr left_join_keys = 1;
*/
public org.apache.comet.serde.ExprOuterClass.Expr.Builder getLeftJoinKeysBuilder(
int index) {
return getLeftJoinKeysFieldBuilder().getBuilder(index);
}
/**
* repeated .spark.spark_expression.Expr left_join_keys = 1;
*/
public org.apache.comet.serde.ExprOuterClass.ExprOrBuilder getLeftJoinKeysOrBuilder(
int index) {
if (leftJoinKeysBuilder_ == null) {
return leftJoinKeys_.get(index); } else {
return leftJoinKeysBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .spark.spark_expression.Expr left_join_keys = 1;
*/
public java.util.List extends org.apache.comet.serde.ExprOuterClass.ExprOrBuilder>
getLeftJoinKeysOrBuilderList() {
if (leftJoinKeysBuilder_ != null) {
return leftJoinKeysBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(leftJoinKeys_);
}
}
/**
* repeated .spark.spark_expression.Expr left_join_keys = 1;
*/
public org.apache.comet.serde.ExprOuterClass.Expr.Builder addLeftJoinKeysBuilder() {
return getLeftJoinKeysFieldBuilder().addBuilder(
org.apache.comet.serde.ExprOuterClass.Expr.getDefaultInstance());
}
/**
* repeated .spark.spark_expression.Expr left_join_keys = 1;
*/
public org.apache.comet.serde.ExprOuterClass.Expr.Builder addLeftJoinKeysBuilder(
int index) {
return getLeftJoinKeysFieldBuilder().addBuilder(
index, org.apache.comet.serde.ExprOuterClass.Expr.getDefaultInstance());
}
/**
* repeated .spark.spark_expression.Expr left_join_keys = 1;
*/
public java.util.List
getLeftJoinKeysBuilderList() {
return getLeftJoinKeysFieldBuilder().getBuilderList();
}
private org.apache.comet.shaded.protobuf.RepeatedFieldBuilderV3<
org.apache.comet.serde.ExprOuterClass.Expr, org.apache.comet.serde.ExprOuterClass.Expr.Builder, org.apache.comet.serde.ExprOuterClass.ExprOrBuilder>
getLeftJoinKeysFieldBuilder() {
if (leftJoinKeysBuilder_ == null) {
leftJoinKeysBuilder_ = new org.apache.comet.shaded.protobuf.RepeatedFieldBuilderV3<
org.apache.comet.serde.ExprOuterClass.Expr, org.apache.comet.serde.ExprOuterClass.Expr.Builder, org.apache.comet.serde.ExprOuterClass.ExprOrBuilder>(
leftJoinKeys_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
leftJoinKeys_ = null;
}
return leftJoinKeysBuilder_;
}
private java.util.List rightJoinKeys_ =
java.util.Collections.emptyList();
private void ensureRightJoinKeysIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
rightJoinKeys_ = new java.util.ArrayList(rightJoinKeys_);
bitField0_ |= 0x00000002;
}
}
private org.apache.comet.shaded.protobuf.RepeatedFieldBuilderV3<
org.apache.comet.serde.ExprOuterClass.Expr, org.apache.comet.serde.ExprOuterClass.Expr.Builder, org.apache.comet.serde.ExprOuterClass.ExprOrBuilder> rightJoinKeysBuilder_;
/**
* repeated .spark.spark_expression.Expr right_join_keys = 2;
*/
public java.util.List getRightJoinKeysList() {
if (rightJoinKeysBuilder_ == null) {
return java.util.Collections.unmodifiableList(rightJoinKeys_);
} else {
return rightJoinKeysBuilder_.getMessageList();
}
}
/**
* repeated .spark.spark_expression.Expr right_join_keys = 2;
*/
public int getRightJoinKeysCount() {
if (rightJoinKeysBuilder_ == null) {
return rightJoinKeys_.size();
} else {
return rightJoinKeysBuilder_.getCount();
}
}
/**
* repeated .spark.spark_expression.Expr right_join_keys = 2;
*/
public org.apache.comet.serde.ExprOuterClass.Expr getRightJoinKeys(int index) {
if (rightJoinKeysBuilder_ == null) {
return rightJoinKeys_.get(index);
} else {
return rightJoinKeysBuilder_.getMessage(index);
}
}
/**
* repeated .spark.spark_expression.Expr right_join_keys = 2;
*/
public Builder setRightJoinKeys(
int index, org.apache.comet.serde.ExprOuterClass.Expr value) {
if (rightJoinKeysBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureRightJoinKeysIsMutable();
rightJoinKeys_.set(index, value);
onChanged();
} else {
rightJoinKeysBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .spark.spark_expression.Expr right_join_keys = 2;
*/
public Builder setRightJoinKeys(
int index, org.apache.comet.serde.ExprOuterClass.Expr.Builder builderForValue) {
if (rightJoinKeysBuilder_ == null) {
ensureRightJoinKeysIsMutable();
rightJoinKeys_.set(index, builderForValue.build());
onChanged();
} else {
rightJoinKeysBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .spark.spark_expression.Expr right_join_keys = 2;
*/
public Builder addRightJoinKeys(org.apache.comet.serde.ExprOuterClass.Expr value) {
if (rightJoinKeysBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureRightJoinKeysIsMutable();
rightJoinKeys_.add(value);
onChanged();
} else {
rightJoinKeysBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .spark.spark_expression.Expr right_join_keys = 2;
*/
public Builder addRightJoinKeys(
int index, org.apache.comet.serde.ExprOuterClass.Expr value) {
if (rightJoinKeysBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureRightJoinKeysIsMutable();
rightJoinKeys_.add(index, value);
onChanged();
} else {
rightJoinKeysBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .spark.spark_expression.Expr right_join_keys = 2;
*/
public Builder addRightJoinKeys(
org.apache.comet.serde.ExprOuterClass.Expr.Builder builderForValue) {
if (rightJoinKeysBuilder_ == null) {
ensureRightJoinKeysIsMutable();
rightJoinKeys_.add(builderForValue.build());
onChanged();
} else {
rightJoinKeysBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .spark.spark_expression.Expr right_join_keys = 2;
*/
public Builder addRightJoinKeys(
int index, org.apache.comet.serde.ExprOuterClass.Expr.Builder builderForValue) {
if (rightJoinKeysBuilder_ == null) {
ensureRightJoinKeysIsMutable();
rightJoinKeys_.add(index, builderForValue.build());
onChanged();
} else {
rightJoinKeysBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .spark.spark_expression.Expr right_join_keys = 2;
*/
public Builder addAllRightJoinKeys(
java.lang.Iterable extends org.apache.comet.serde.ExprOuterClass.Expr> values) {
if (rightJoinKeysBuilder_ == null) {
ensureRightJoinKeysIsMutable();
org.apache.comet.shaded.protobuf.AbstractMessageLite.Builder.addAll(
values, rightJoinKeys_);
onChanged();
} else {
rightJoinKeysBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .spark.spark_expression.Expr right_join_keys = 2;
*/
public Builder clearRightJoinKeys() {
if (rightJoinKeysBuilder_ == null) {
rightJoinKeys_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
rightJoinKeysBuilder_.clear();
}
return this;
}
/**
* repeated .spark.spark_expression.Expr right_join_keys = 2;
*/
public Builder removeRightJoinKeys(int index) {
if (rightJoinKeysBuilder_ == null) {
ensureRightJoinKeysIsMutable();
rightJoinKeys_.remove(index);
onChanged();
} else {
rightJoinKeysBuilder_.remove(index);
}
return this;
}
/**
* repeated .spark.spark_expression.Expr right_join_keys = 2;
*/
public org.apache.comet.serde.ExprOuterClass.Expr.Builder getRightJoinKeysBuilder(
int index) {
return getRightJoinKeysFieldBuilder().getBuilder(index);
}
/**
* repeated .spark.spark_expression.Expr right_join_keys = 2;
*/
public org.apache.comet.serde.ExprOuterClass.ExprOrBuilder getRightJoinKeysOrBuilder(
int index) {
if (rightJoinKeysBuilder_ == null) {
return rightJoinKeys_.get(index); } else {
return rightJoinKeysBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .spark.spark_expression.Expr right_join_keys = 2;
*/
public java.util.List extends org.apache.comet.serde.ExprOuterClass.ExprOrBuilder>
getRightJoinKeysOrBuilderList() {
if (rightJoinKeysBuilder_ != null) {
return rightJoinKeysBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(rightJoinKeys_);
}
}
/**
* repeated .spark.spark_expression.Expr right_join_keys = 2;
*/
public org.apache.comet.serde.ExprOuterClass.Expr.Builder addRightJoinKeysBuilder() {
return getRightJoinKeysFieldBuilder().addBuilder(
org.apache.comet.serde.ExprOuterClass.Expr.getDefaultInstance());
}
/**
* repeated .spark.spark_expression.Expr right_join_keys = 2;
*/
public org.apache.comet.serde.ExprOuterClass.Expr.Builder addRightJoinKeysBuilder(
int index) {
return getRightJoinKeysFieldBuilder().addBuilder(
index, org.apache.comet.serde.ExprOuterClass.Expr.getDefaultInstance());
}
/**
* repeated .spark.spark_expression.Expr right_join_keys = 2;
*/
public java.util.List
getRightJoinKeysBuilderList() {
return getRightJoinKeysFieldBuilder().getBuilderList();
}
private org.apache.comet.shaded.protobuf.RepeatedFieldBuilderV3<
org.apache.comet.serde.ExprOuterClass.Expr, org.apache.comet.serde.ExprOuterClass.Expr.Builder, org.apache.comet.serde.ExprOuterClass.ExprOrBuilder>
getRightJoinKeysFieldBuilder() {
if (rightJoinKeysBuilder_ == null) {
rightJoinKeysBuilder_ = new org.apache.comet.shaded.protobuf.RepeatedFieldBuilderV3<
org.apache.comet.serde.ExprOuterClass.Expr, org.apache.comet.serde.ExprOuterClass.Expr.Builder, org.apache.comet.serde.ExprOuterClass.ExprOrBuilder>(
rightJoinKeys_,
((bitField0_ & 0x00000002) != 0),
getParentForChildren(),
isClean());
rightJoinKeys_ = null;
}
return rightJoinKeysBuilder_;
}
private int joinType_ = 0;
/**
* .spark.spark_operator.JoinType join_type = 3;
* @return The enum numeric value on the wire for joinType.
*/
@java.lang.Override public int getJoinTypeValue() {
return joinType_;
}
/**
* .spark.spark_operator.JoinType join_type = 3;
* @param value The enum numeric value on the wire for joinType to set.
* @return This builder for chaining.
*/
public Builder setJoinTypeValue(int value) {
joinType_ = value;
onChanged();
return this;
}
/**
* .spark.spark_operator.JoinType join_type = 3;
* @return The joinType.
*/
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.JoinType getJoinType() {
@SuppressWarnings("deprecation")
org.apache.comet.serde.OperatorOuterClass.JoinType result = org.apache.comet.serde.OperatorOuterClass.JoinType.valueOf(joinType_);
return result == null ? org.apache.comet.serde.OperatorOuterClass.JoinType.UNRECOGNIZED : result;
}
/**
* .spark.spark_operator.JoinType join_type = 3;
* @param value The joinType to set.
* @return This builder for chaining.
*/
public Builder setJoinType(org.apache.comet.serde.OperatorOuterClass.JoinType value) {
if (value == null) {
throw new NullPointerException();
}
joinType_ = value.getNumber();
onChanged();
return this;
}
/**
* .spark.spark_operator.JoinType join_type = 3;
* @return This builder for chaining.
*/
public Builder clearJoinType() {
joinType_ = 0;
onChanged();
return this;
}
private org.apache.comet.serde.ExprOuterClass.Expr condition_;
private org.apache.comet.shaded.protobuf.SingleFieldBuilderV3<
org.apache.comet.serde.ExprOuterClass.Expr, org.apache.comet.serde.ExprOuterClass.Expr.Builder, org.apache.comet.serde.ExprOuterClass.ExprOrBuilder> conditionBuilder_;
/**
* optional .spark.spark_expression.Expr condition = 4;
* @return Whether the condition field is set.
*/
public boolean hasCondition() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional .spark.spark_expression.Expr condition = 4;
* @return The condition.
*/
public org.apache.comet.serde.ExprOuterClass.Expr getCondition() {
if (conditionBuilder_ == null) {
return condition_ == null ? org.apache.comet.serde.ExprOuterClass.Expr.getDefaultInstance() : condition_;
} else {
return conditionBuilder_.getMessage();
}
}
/**
* optional .spark.spark_expression.Expr condition = 4;
*/
public Builder setCondition(org.apache.comet.serde.ExprOuterClass.Expr value) {
if (conditionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
condition_ = value;
onChanged();
} else {
conditionBuilder_.setMessage(value);
}
bitField0_ |= 0x00000004;
return this;
}
/**
* optional .spark.spark_expression.Expr condition = 4;
*/
public Builder setCondition(
org.apache.comet.serde.ExprOuterClass.Expr.Builder builderForValue) {
if (conditionBuilder_ == null) {
condition_ = builderForValue.build();
onChanged();
} else {
conditionBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000004;
return this;
}
/**
* optional .spark.spark_expression.Expr condition = 4;
*/
public Builder mergeCondition(org.apache.comet.serde.ExprOuterClass.Expr value) {
if (conditionBuilder_ == null) {
if (((bitField0_ & 0x00000004) != 0) &&
condition_ != null &&
condition_ != org.apache.comet.serde.ExprOuterClass.Expr.getDefaultInstance()) {
condition_ =
org.apache.comet.serde.ExprOuterClass.Expr.newBuilder(condition_).mergeFrom(value).buildPartial();
} else {
condition_ = value;
}
onChanged();
} else {
conditionBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000004;
return this;
}
/**
* optional .spark.spark_expression.Expr condition = 4;
*/
public Builder clearCondition() {
if (conditionBuilder_ == null) {
condition_ = null;
onChanged();
} else {
conditionBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
/**
* optional .spark.spark_expression.Expr condition = 4;
*/
public org.apache.comet.serde.ExprOuterClass.Expr.Builder getConditionBuilder() {
bitField0_ |= 0x00000004;
onChanged();
return getConditionFieldBuilder().getBuilder();
}
/**
* optional .spark.spark_expression.Expr condition = 4;
*/
public org.apache.comet.serde.ExprOuterClass.ExprOrBuilder getConditionOrBuilder() {
if (conditionBuilder_ != null) {
return conditionBuilder_.getMessageOrBuilder();
} else {
return condition_ == null ?
org.apache.comet.serde.ExprOuterClass.Expr.getDefaultInstance() : condition_;
}
}
/**
* optional .spark.spark_expression.Expr condition = 4;
*/
private org.apache.comet.shaded.protobuf.SingleFieldBuilderV3<
org.apache.comet.serde.ExprOuterClass.Expr, org.apache.comet.serde.ExprOuterClass.Expr.Builder, org.apache.comet.serde.ExprOuterClass.ExprOrBuilder>
getConditionFieldBuilder() {
if (conditionBuilder_ == null) {
conditionBuilder_ = new org.apache.comet.shaded.protobuf.SingleFieldBuilderV3<
org.apache.comet.serde.ExprOuterClass.Expr, org.apache.comet.serde.ExprOuterClass.Expr.Builder, org.apache.comet.serde.ExprOuterClass.ExprOrBuilder>(
getCondition(),
getParentForChildren(),
isClean());
condition_ = null;
}
return conditionBuilder_;
}
private int buildSide_ = 0;
/**
* .spark.spark_operator.BuildSide build_side = 5;
* @return The enum numeric value on the wire for buildSide.
*/
@java.lang.Override public int getBuildSideValue() {
return buildSide_;
}
/**
* .spark.spark_operator.BuildSide build_side = 5;
* @param value The enum numeric value on the wire for buildSide to set.
* @return This builder for chaining.
*/
public Builder setBuildSideValue(int value) {
buildSide_ = value;
onChanged();
return this;
}
/**
* .spark.spark_operator.BuildSide build_side = 5;
* @return The buildSide.
*/
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.BuildSide getBuildSide() {
@SuppressWarnings("deprecation")
org.apache.comet.serde.OperatorOuterClass.BuildSide result = org.apache.comet.serde.OperatorOuterClass.BuildSide.valueOf(buildSide_);
return result == null ? org.apache.comet.serde.OperatorOuterClass.BuildSide.UNRECOGNIZED : result;
}
/**
* .spark.spark_operator.BuildSide build_side = 5;
* @param value The buildSide to set.
* @return This builder for chaining.
*/
public Builder setBuildSide(org.apache.comet.serde.OperatorOuterClass.BuildSide value) {
if (value == null) {
throw new NullPointerException();
}
buildSide_ = value.getNumber();
onChanged();
return this;
}
/**
* .spark.spark_operator.BuildSide build_side = 5;
* @return This builder for chaining.
*/
public Builder clearBuildSide() {
buildSide_ = 0;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final org.apache.comet.shaded.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final org.apache.comet.shaded.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:spark.spark_operator.HashJoin)
}
// @@protoc_insertion_point(class_scope:spark.spark_operator.HashJoin)
private static final org.apache.comet.serde.OperatorOuterClass.HashJoin DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.comet.serde.OperatorOuterClass.HashJoin();
}
public static org.apache.comet.serde.OperatorOuterClass.HashJoin getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final org.apache.comet.shaded.protobuf.Parser
PARSER = new org.apache.comet.shaded.protobuf.AbstractParser() {
@java.lang.Override
public HashJoin parsePartialFrom(
org.apache.comet.shaded.protobuf.CodedInputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (org.apache.comet.shaded.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (org.apache.comet.shaded.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new org.apache.comet.shaded.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static org.apache.comet.shaded.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public org.apache.comet.shaded.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.HashJoin getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface SortMergeJoinOrBuilder extends
// @@protoc_insertion_point(interface_extends:spark.spark_operator.SortMergeJoin)
org.apache.comet.shaded.protobuf.MessageOrBuilder {
/**
* repeated .spark.spark_expression.Expr left_join_keys = 1;
*/
java.util.List
getLeftJoinKeysList();
/**
* repeated .spark.spark_expression.Expr left_join_keys = 1;
*/
org.apache.comet.serde.ExprOuterClass.Expr getLeftJoinKeys(int index);
/**
* repeated .spark.spark_expression.Expr left_join_keys = 1;
*/
int getLeftJoinKeysCount();
/**
* repeated .spark.spark_expression.Expr left_join_keys = 1;
*/
java.util.List extends org.apache.comet.serde.ExprOuterClass.ExprOrBuilder>
getLeftJoinKeysOrBuilderList();
/**
* repeated .spark.spark_expression.Expr left_join_keys = 1;
*/
org.apache.comet.serde.ExprOuterClass.ExprOrBuilder getLeftJoinKeysOrBuilder(
int index);
/**
* repeated .spark.spark_expression.Expr right_join_keys = 2;
*/
java.util.List
getRightJoinKeysList();
/**
* repeated .spark.spark_expression.Expr right_join_keys = 2;
*/
org.apache.comet.serde.ExprOuterClass.Expr getRightJoinKeys(int index);
/**
* repeated .spark.spark_expression.Expr right_join_keys = 2;
*/
int getRightJoinKeysCount();
/**
* repeated .spark.spark_expression.Expr right_join_keys = 2;
*/
java.util.List extends org.apache.comet.serde.ExprOuterClass.ExprOrBuilder>
getRightJoinKeysOrBuilderList();
/**
* repeated .spark.spark_expression.Expr right_join_keys = 2;
*/
org.apache.comet.serde.ExprOuterClass.ExprOrBuilder getRightJoinKeysOrBuilder(
int index);
/**
* .spark.spark_operator.JoinType join_type = 3;
* @return The enum numeric value on the wire for joinType.
*/
int getJoinTypeValue();
/**
* .spark.spark_operator.JoinType join_type = 3;
* @return The joinType.
*/
org.apache.comet.serde.OperatorOuterClass.JoinType getJoinType();
/**
* repeated .spark.spark_expression.Expr sort_options = 4;
*/
java.util.List
getSortOptionsList();
/**
* repeated .spark.spark_expression.Expr sort_options = 4;
*/
org.apache.comet.serde.ExprOuterClass.Expr getSortOptions(int index);
/**
* repeated .spark.spark_expression.Expr sort_options = 4;
*/
int getSortOptionsCount();
/**
* repeated .spark.spark_expression.Expr sort_options = 4;
*/
java.util.List extends org.apache.comet.serde.ExprOuterClass.ExprOrBuilder>
getSortOptionsOrBuilderList();
/**
* repeated .spark.spark_expression.Expr sort_options = 4;
*/
org.apache.comet.serde.ExprOuterClass.ExprOrBuilder getSortOptionsOrBuilder(
int index);
/**
* optional .spark.spark_expression.Expr condition = 5;
* @return Whether the condition field is set.
*/
boolean hasCondition();
/**
* optional .spark.spark_expression.Expr condition = 5;
* @return The condition.
*/
org.apache.comet.serde.ExprOuterClass.Expr getCondition();
/**
* optional .spark.spark_expression.Expr condition = 5;
*/
org.apache.comet.serde.ExprOuterClass.ExprOrBuilder getConditionOrBuilder();
}
/**
* Protobuf type {@code spark.spark_operator.SortMergeJoin}
*/
public static final class SortMergeJoin extends
org.apache.comet.shaded.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:spark.spark_operator.SortMergeJoin)
SortMergeJoinOrBuilder {
private static final long serialVersionUID = 0L;
// Use SortMergeJoin.newBuilder() to construct.
private SortMergeJoin(org.apache.comet.shaded.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private SortMergeJoin() {
leftJoinKeys_ = java.util.Collections.emptyList();
rightJoinKeys_ = java.util.Collections.emptyList();
joinType_ = 0;
sortOptions_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new SortMergeJoin();
}
@java.lang.Override
public final org.apache.comet.shaded.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final org.apache.comet.shaded.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_SortMergeJoin_descriptor;
}
@java.lang.Override
protected org.apache.comet.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_SortMergeJoin_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.comet.serde.OperatorOuterClass.SortMergeJoin.class, org.apache.comet.serde.OperatorOuterClass.SortMergeJoin.Builder.class);
}
private int bitField0_;
public static final int LEFT_JOIN_KEYS_FIELD_NUMBER = 1;
private java.util.List leftJoinKeys_;
/**
* repeated .spark.spark_expression.Expr left_join_keys = 1;
*/
@java.lang.Override
public java.util.List getLeftJoinKeysList() {
return leftJoinKeys_;
}
/**
* repeated .spark.spark_expression.Expr left_join_keys = 1;
*/
@java.lang.Override
public java.util.List extends org.apache.comet.serde.ExprOuterClass.ExprOrBuilder>
getLeftJoinKeysOrBuilderList() {
return leftJoinKeys_;
}
/**
* repeated .spark.spark_expression.Expr left_join_keys = 1;
*/
@java.lang.Override
public int getLeftJoinKeysCount() {
return leftJoinKeys_.size();
}
/**
* repeated .spark.spark_expression.Expr left_join_keys = 1;
*/
@java.lang.Override
public org.apache.comet.serde.ExprOuterClass.Expr getLeftJoinKeys(int index) {
return leftJoinKeys_.get(index);
}
/**
* repeated .spark.spark_expression.Expr left_join_keys = 1;
*/
@java.lang.Override
public org.apache.comet.serde.ExprOuterClass.ExprOrBuilder getLeftJoinKeysOrBuilder(
int index) {
return leftJoinKeys_.get(index);
}
public static final int RIGHT_JOIN_KEYS_FIELD_NUMBER = 2;
private java.util.List rightJoinKeys_;
/**
* repeated .spark.spark_expression.Expr right_join_keys = 2;
*/
@java.lang.Override
public java.util.List getRightJoinKeysList() {
return rightJoinKeys_;
}
/**
* repeated .spark.spark_expression.Expr right_join_keys = 2;
*/
@java.lang.Override
public java.util.List extends org.apache.comet.serde.ExprOuterClass.ExprOrBuilder>
getRightJoinKeysOrBuilderList() {
return rightJoinKeys_;
}
/**
* repeated .spark.spark_expression.Expr right_join_keys = 2;
*/
@java.lang.Override
public int getRightJoinKeysCount() {
return rightJoinKeys_.size();
}
/**
* repeated .spark.spark_expression.Expr right_join_keys = 2;
*/
@java.lang.Override
public org.apache.comet.serde.ExprOuterClass.Expr getRightJoinKeys(int index) {
return rightJoinKeys_.get(index);
}
/**
* repeated .spark.spark_expression.Expr right_join_keys = 2;
*/
@java.lang.Override
public org.apache.comet.serde.ExprOuterClass.ExprOrBuilder getRightJoinKeysOrBuilder(
int index) {
return rightJoinKeys_.get(index);
}
public static final int JOIN_TYPE_FIELD_NUMBER = 3;
private int joinType_;
/**
* .spark.spark_operator.JoinType join_type = 3;
* @return The enum numeric value on the wire for joinType.
*/
@java.lang.Override public int getJoinTypeValue() {
return joinType_;
}
/**
* .spark.spark_operator.JoinType join_type = 3;
* @return The joinType.
*/
@java.lang.Override public org.apache.comet.serde.OperatorOuterClass.JoinType getJoinType() {
@SuppressWarnings("deprecation")
org.apache.comet.serde.OperatorOuterClass.JoinType result = org.apache.comet.serde.OperatorOuterClass.JoinType.valueOf(joinType_);
return result == null ? org.apache.comet.serde.OperatorOuterClass.JoinType.UNRECOGNIZED : result;
}
public static final int SORT_OPTIONS_FIELD_NUMBER = 4;
private java.util.List sortOptions_;
/**
* repeated .spark.spark_expression.Expr sort_options = 4;
*/
@java.lang.Override
public java.util.List getSortOptionsList() {
return sortOptions_;
}
/**
* repeated .spark.spark_expression.Expr sort_options = 4;
*/
@java.lang.Override
public java.util.List extends org.apache.comet.serde.ExprOuterClass.ExprOrBuilder>
getSortOptionsOrBuilderList() {
return sortOptions_;
}
/**
* repeated .spark.spark_expression.Expr sort_options = 4;
*/
@java.lang.Override
public int getSortOptionsCount() {
return sortOptions_.size();
}
/**
* repeated .spark.spark_expression.Expr sort_options = 4;
*/
@java.lang.Override
public org.apache.comet.serde.ExprOuterClass.Expr getSortOptions(int index) {
return sortOptions_.get(index);
}
/**
* repeated .spark.spark_expression.Expr sort_options = 4;
*/
@java.lang.Override
public org.apache.comet.serde.ExprOuterClass.ExprOrBuilder getSortOptionsOrBuilder(
int index) {
return sortOptions_.get(index);
}
public static final int CONDITION_FIELD_NUMBER = 5;
private org.apache.comet.serde.ExprOuterClass.Expr condition_;
/**
* optional .spark.spark_expression.Expr condition = 5;
* @return Whether the condition field is set.
*/
@java.lang.Override
public boolean hasCondition() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional .spark.spark_expression.Expr condition = 5;
* @return The condition.
*/
@java.lang.Override
public org.apache.comet.serde.ExprOuterClass.Expr getCondition() {
return condition_ == null ? org.apache.comet.serde.ExprOuterClass.Expr.getDefaultInstance() : condition_;
}
/**
* optional .spark.spark_expression.Expr condition = 5;
*/
@java.lang.Override
public org.apache.comet.serde.ExprOuterClass.ExprOrBuilder getConditionOrBuilder() {
return condition_ == null ? org.apache.comet.serde.ExprOuterClass.Expr.getDefaultInstance() : condition_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(org.apache.comet.shaded.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < leftJoinKeys_.size(); i++) {
output.writeMessage(1, leftJoinKeys_.get(i));
}
for (int i = 0; i < rightJoinKeys_.size(); i++) {
output.writeMessage(2, rightJoinKeys_.get(i));
}
if (joinType_ != org.apache.comet.serde.OperatorOuterClass.JoinType.Inner.getNumber()) {
output.writeEnum(3, joinType_);
}
for (int i = 0; i < sortOptions_.size(); i++) {
output.writeMessage(4, sortOptions_.get(i));
}
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(5, getCondition());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < leftJoinKeys_.size(); i++) {
size += org.apache.comet.shaded.protobuf.CodedOutputStream
.computeMessageSize(1, leftJoinKeys_.get(i));
}
for (int i = 0; i < rightJoinKeys_.size(); i++) {
size += org.apache.comet.shaded.protobuf.CodedOutputStream
.computeMessageSize(2, rightJoinKeys_.get(i));
}
if (joinType_ != org.apache.comet.serde.OperatorOuterClass.JoinType.Inner.getNumber()) {
size += org.apache.comet.shaded.protobuf.CodedOutputStream
.computeEnumSize(3, joinType_);
}
for (int i = 0; i < sortOptions_.size(); i++) {
size += org.apache.comet.shaded.protobuf.CodedOutputStream
.computeMessageSize(4, sortOptions_.get(i));
}
if (((bitField0_ & 0x00000001) != 0)) {
size += org.apache.comet.shaded.protobuf.CodedOutputStream
.computeMessageSize(5, getCondition());
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.comet.serde.OperatorOuterClass.SortMergeJoin)) {
return super.equals(obj);
}
org.apache.comet.serde.OperatorOuterClass.SortMergeJoin other = (org.apache.comet.serde.OperatorOuterClass.SortMergeJoin) obj;
if (!getLeftJoinKeysList()
.equals(other.getLeftJoinKeysList())) return false;
if (!getRightJoinKeysList()
.equals(other.getRightJoinKeysList())) return false;
if (joinType_ != other.joinType_) return false;
if (!getSortOptionsList()
.equals(other.getSortOptionsList())) return false;
if (hasCondition() != other.hasCondition()) return false;
if (hasCondition()) {
if (!getCondition()
.equals(other.getCondition())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getLeftJoinKeysCount() > 0) {
hash = (37 * hash) + LEFT_JOIN_KEYS_FIELD_NUMBER;
hash = (53 * hash) + getLeftJoinKeysList().hashCode();
}
if (getRightJoinKeysCount() > 0) {
hash = (37 * hash) + RIGHT_JOIN_KEYS_FIELD_NUMBER;
hash = (53 * hash) + getRightJoinKeysList().hashCode();
}
hash = (37 * hash) + JOIN_TYPE_FIELD_NUMBER;
hash = (53 * hash) + joinType_;
if (getSortOptionsCount() > 0) {
hash = (37 * hash) + SORT_OPTIONS_FIELD_NUMBER;
hash = (53 * hash) + getSortOptionsList().hashCode();
}
if (hasCondition()) {
hash = (37 * hash) + CONDITION_FIELD_NUMBER;
hash = (53 * hash) + getCondition().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.comet.serde.OperatorOuterClass.SortMergeJoin parseFrom(
java.nio.ByteBuffer data)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.comet.serde.OperatorOuterClass.SortMergeJoin parseFrom(
java.nio.ByteBuffer data,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.SortMergeJoin parseFrom(
org.apache.comet.shaded.protobuf.ByteString data)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.comet.serde.OperatorOuterClass.SortMergeJoin parseFrom(
org.apache.comet.shaded.protobuf.ByteString data,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.SortMergeJoin parseFrom(byte[] data)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.comet.serde.OperatorOuterClass.SortMergeJoin parseFrom(
byte[] data,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.SortMergeJoin parseFrom(java.io.InputStream input)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.comet.serde.OperatorOuterClass.SortMergeJoin parseFrom(
java.io.InputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.SortMergeJoin parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.comet.serde.OperatorOuterClass.SortMergeJoin parseDelimitedFrom(
java.io.InputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.SortMergeJoin parseFrom(
org.apache.comet.shaded.protobuf.CodedInputStream input)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.comet.serde.OperatorOuterClass.SortMergeJoin parseFrom(
org.apache.comet.shaded.protobuf.CodedInputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.comet.serde.OperatorOuterClass.SortMergeJoin prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
org.apache.comet.shaded.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code spark.spark_operator.SortMergeJoin}
*/
public static final class Builder extends
org.apache.comet.shaded.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:spark.spark_operator.SortMergeJoin)
org.apache.comet.serde.OperatorOuterClass.SortMergeJoinOrBuilder {
public static final org.apache.comet.shaded.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_SortMergeJoin_descriptor;
}
@java.lang.Override
protected org.apache.comet.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_SortMergeJoin_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.comet.serde.OperatorOuterClass.SortMergeJoin.class, org.apache.comet.serde.OperatorOuterClass.SortMergeJoin.Builder.class);
}
// Construct using org.apache.comet.serde.OperatorOuterClass.SortMergeJoin.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
org.apache.comet.shaded.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (org.apache.comet.shaded.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getLeftJoinKeysFieldBuilder();
getRightJoinKeysFieldBuilder();
getSortOptionsFieldBuilder();
getConditionFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (leftJoinKeysBuilder_ == null) {
leftJoinKeys_ = java.util.Collections.emptyList();
} else {
leftJoinKeys_ = null;
leftJoinKeysBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
if (rightJoinKeysBuilder_ == null) {
rightJoinKeys_ = java.util.Collections.emptyList();
} else {
rightJoinKeys_ = null;
rightJoinKeysBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
joinType_ = 0;
if (sortOptionsBuilder_ == null) {
sortOptions_ = java.util.Collections.emptyList();
} else {
sortOptions_ = null;
sortOptionsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000004);
if (conditionBuilder_ == null) {
condition_ = null;
} else {
conditionBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000008);
return this;
}
@java.lang.Override
public org.apache.comet.shaded.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_SortMergeJoin_descriptor;
}
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.SortMergeJoin getDefaultInstanceForType() {
return org.apache.comet.serde.OperatorOuterClass.SortMergeJoin.getDefaultInstance();
}
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.SortMergeJoin build() {
org.apache.comet.serde.OperatorOuterClass.SortMergeJoin result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.SortMergeJoin buildPartial() {
org.apache.comet.serde.OperatorOuterClass.SortMergeJoin result = new org.apache.comet.serde.OperatorOuterClass.SortMergeJoin(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (leftJoinKeysBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
leftJoinKeys_ = java.util.Collections.unmodifiableList(leftJoinKeys_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.leftJoinKeys_ = leftJoinKeys_;
} else {
result.leftJoinKeys_ = leftJoinKeysBuilder_.build();
}
if (rightJoinKeysBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0)) {
rightJoinKeys_ = java.util.Collections.unmodifiableList(rightJoinKeys_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.rightJoinKeys_ = rightJoinKeys_;
} else {
result.rightJoinKeys_ = rightJoinKeysBuilder_.build();
}
result.joinType_ = joinType_;
if (sortOptionsBuilder_ == null) {
if (((bitField0_ & 0x00000004) != 0)) {
sortOptions_ = java.util.Collections.unmodifiableList(sortOptions_);
bitField0_ = (bitField0_ & ~0x00000004);
}
result.sortOptions_ = sortOptions_;
} else {
result.sortOptions_ = sortOptionsBuilder_.build();
}
if (((from_bitField0_ & 0x00000008) != 0)) {
if (conditionBuilder_ == null) {
result.condition_ = condition_;
} else {
result.condition_ = conditionBuilder_.build();
}
to_bitField0_ |= 0x00000001;
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
org.apache.comet.shaded.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
org.apache.comet.shaded.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
org.apache.comet.shaded.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
org.apache.comet.shaded.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
org.apache.comet.shaded.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(org.apache.comet.shaded.protobuf.Message other) {
if (other instanceof org.apache.comet.serde.OperatorOuterClass.SortMergeJoin) {
return mergeFrom((org.apache.comet.serde.OperatorOuterClass.SortMergeJoin)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.comet.serde.OperatorOuterClass.SortMergeJoin other) {
if (other == org.apache.comet.serde.OperatorOuterClass.SortMergeJoin.getDefaultInstance()) return this;
if (leftJoinKeysBuilder_ == null) {
if (!other.leftJoinKeys_.isEmpty()) {
if (leftJoinKeys_.isEmpty()) {
leftJoinKeys_ = other.leftJoinKeys_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureLeftJoinKeysIsMutable();
leftJoinKeys_.addAll(other.leftJoinKeys_);
}
onChanged();
}
} else {
if (!other.leftJoinKeys_.isEmpty()) {
if (leftJoinKeysBuilder_.isEmpty()) {
leftJoinKeysBuilder_.dispose();
leftJoinKeysBuilder_ = null;
leftJoinKeys_ = other.leftJoinKeys_;
bitField0_ = (bitField0_ & ~0x00000001);
leftJoinKeysBuilder_ =
org.apache.comet.shaded.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getLeftJoinKeysFieldBuilder() : null;
} else {
leftJoinKeysBuilder_.addAllMessages(other.leftJoinKeys_);
}
}
}
if (rightJoinKeysBuilder_ == null) {
if (!other.rightJoinKeys_.isEmpty()) {
if (rightJoinKeys_.isEmpty()) {
rightJoinKeys_ = other.rightJoinKeys_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureRightJoinKeysIsMutable();
rightJoinKeys_.addAll(other.rightJoinKeys_);
}
onChanged();
}
} else {
if (!other.rightJoinKeys_.isEmpty()) {
if (rightJoinKeysBuilder_.isEmpty()) {
rightJoinKeysBuilder_.dispose();
rightJoinKeysBuilder_ = null;
rightJoinKeys_ = other.rightJoinKeys_;
bitField0_ = (bitField0_ & ~0x00000002);
rightJoinKeysBuilder_ =
org.apache.comet.shaded.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getRightJoinKeysFieldBuilder() : null;
} else {
rightJoinKeysBuilder_.addAllMessages(other.rightJoinKeys_);
}
}
}
if (other.joinType_ != 0) {
setJoinTypeValue(other.getJoinTypeValue());
}
if (sortOptionsBuilder_ == null) {
if (!other.sortOptions_.isEmpty()) {
if (sortOptions_.isEmpty()) {
sortOptions_ = other.sortOptions_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureSortOptionsIsMutable();
sortOptions_.addAll(other.sortOptions_);
}
onChanged();
}
} else {
if (!other.sortOptions_.isEmpty()) {
if (sortOptionsBuilder_.isEmpty()) {
sortOptionsBuilder_.dispose();
sortOptionsBuilder_ = null;
sortOptions_ = other.sortOptions_;
bitField0_ = (bitField0_ & ~0x00000004);
sortOptionsBuilder_ =
org.apache.comet.shaded.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getSortOptionsFieldBuilder() : null;
} else {
sortOptionsBuilder_.addAllMessages(other.sortOptions_);
}
}
}
if (other.hasCondition()) {
mergeCondition(other.getCondition());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
org.apache.comet.shaded.protobuf.CodedInputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
org.apache.comet.serde.ExprOuterClass.Expr m =
input.readMessage(
org.apache.comet.serde.ExprOuterClass.Expr.parser(),
extensionRegistry);
if (leftJoinKeysBuilder_ == null) {
ensureLeftJoinKeysIsMutable();
leftJoinKeys_.add(m);
} else {
leftJoinKeysBuilder_.addMessage(m);
}
break;
} // case 10
case 18: {
org.apache.comet.serde.ExprOuterClass.Expr m =
input.readMessage(
org.apache.comet.serde.ExprOuterClass.Expr.parser(),
extensionRegistry);
if (rightJoinKeysBuilder_ == null) {
ensureRightJoinKeysIsMutable();
rightJoinKeys_.add(m);
} else {
rightJoinKeysBuilder_.addMessage(m);
}
break;
} // case 18
case 24: {
joinType_ = input.readEnum();
break;
} // case 24
case 34: {
org.apache.comet.serde.ExprOuterClass.Expr m =
input.readMessage(
org.apache.comet.serde.ExprOuterClass.Expr.parser(),
extensionRegistry);
if (sortOptionsBuilder_ == null) {
ensureSortOptionsIsMutable();
sortOptions_.add(m);
} else {
sortOptionsBuilder_.addMessage(m);
}
break;
} // case 34
case 42: {
input.readMessage(
getConditionFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000008;
break;
} // case 42
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (org.apache.comet.shaded.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.util.List leftJoinKeys_ =
java.util.Collections.emptyList();
private void ensureLeftJoinKeysIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
leftJoinKeys_ = new java.util.ArrayList(leftJoinKeys_);
bitField0_ |= 0x00000001;
}
}
private org.apache.comet.shaded.protobuf.RepeatedFieldBuilderV3<
org.apache.comet.serde.ExprOuterClass.Expr, org.apache.comet.serde.ExprOuterClass.Expr.Builder, org.apache.comet.serde.ExprOuterClass.ExprOrBuilder> leftJoinKeysBuilder_;
/**
* repeated .spark.spark_expression.Expr left_join_keys = 1;
*/
public java.util.List getLeftJoinKeysList() {
if (leftJoinKeysBuilder_ == null) {
return java.util.Collections.unmodifiableList(leftJoinKeys_);
} else {
return leftJoinKeysBuilder_.getMessageList();
}
}
/**
* repeated .spark.spark_expression.Expr left_join_keys = 1;
*/
public int getLeftJoinKeysCount() {
if (leftJoinKeysBuilder_ == null) {
return leftJoinKeys_.size();
} else {
return leftJoinKeysBuilder_.getCount();
}
}
/**
* repeated .spark.spark_expression.Expr left_join_keys = 1;
*/
public org.apache.comet.serde.ExprOuterClass.Expr getLeftJoinKeys(int index) {
if (leftJoinKeysBuilder_ == null) {
return leftJoinKeys_.get(index);
} else {
return leftJoinKeysBuilder_.getMessage(index);
}
}
/**
* repeated .spark.spark_expression.Expr left_join_keys = 1;
*/
public Builder setLeftJoinKeys(
int index, org.apache.comet.serde.ExprOuterClass.Expr value) {
if (leftJoinKeysBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLeftJoinKeysIsMutable();
leftJoinKeys_.set(index, value);
onChanged();
} else {
leftJoinKeysBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .spark.spark_expression.Expr left_join_keys = 1;
*/
public Builder setLeftJoinKeys(
int index, org.apache.comet.serde.ExprOuterClass.Expr.Builder builderForValue) {
if (leftJoinKeysBuilder_ == null) {
ensureLeftJoinKeysIsMutable();
leftJoinKeys_.set(index, builderForValue.build());
onChanged();
} else {
leftJoinKeysBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .spark.spark_expression.Expr left_join_keys = 1;
*/
public Builder addLeftJoinKeys(org.apache.comet.serde.ExprOuterClass.Expr value) {
if (leftJoinKeysBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLeftJoinKeysIsMutable();
leftJoinKeys_.add(value);
onChanged();
} else {
leftJoinKeysBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .spark.spark_expression.Expr left_join_keys = 1;
*/
public Builder addLeftJoinKeys(
int index, org.apache.comet.serde.ExprOuterClass.Expr value) {
if (leftJoinKeysBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLeftJoinKeysIsMutable();
leftJoinKeys_.add(index, value);
onChanged();
} else {
leftJoinKeysBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .spark.spark_expression.Expr left_join_keys = 1;
*/
public Builder addLeftJoinKeys(
org.apache.comet.serde.ExprOuterClass.Expr.Builder builderForValue) {
if (leftJoinKeysBuilder_ == null) {
ensureLeftJoinKeysIsMutable();
leftJoinKeys_.add(builderForValue.build());
onChanged();
} else {
leftJoinKeysBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .spark.spark_expression.Expr left_join_keys = 1;
*/
public Builder addLeftJoinKeys(
int index, org.apache.comet.serde.ExprOuterClass.Expr.Builder builderForValue) {
if (leftJoinKeysBuilder_ == null) {
ensureLeftJoinKeysIsMutable();
leftJoinKeys_.add(index, builderForValue.build());
onChanged();
} else {
leftJoinKeysBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .spark.spark_expression.Expr left_join_keys = 1;
*/
public Builder addAllLeftJoinKeys(
java.lang.Iterable extends org.apache.comet.serde.ExprOuterClass.Expr> values) {
if (leftJoinKeysBuilder_ == null) {
ensureLeftJoinKeysIsMutable();
org.apache.comet.shaded.protobuf.AbstractMessageLite.Builder.addAll(
values, leftJoinKeys_);
onChanged();
} else {
leftJoinKeysBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .spark.spark_expression.Expr left_join_keys = 1;
*/
public Builder clearLeftJoinKeys() {
if (leftJoinKeysBuilder_ == null) {
leftJoinKeys_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
leftJoinKeysBuilder_.clear();
}
return this;
}
/**
* repeated .spark.spark_expression.Expr left_join_keys = 1;
*/
public Builder removeLeftJoinKeys(int index) {
if (leftJoinKeysBuilder_ == null) {
ensureLeftJoinKeysIsMutable();
leftJoinKeys_.remove(index);
onChanged();
} else {
leftJoinKeysBuilder_.remove(index);
}
return this;
}
/**
* repeated .spark.spark_expression.Expr left_join_keys = 1;
*/
public org.apache.comet.serde.ExprOuterClass.Expr.Builder getLeftJoinKeysBuilder(
int index) {
return getLeftJoinKeysFieldBuilder().getBuilder(index);
}
/**
* repeated .spark.spark_expression.Expr left_join_keys = 1;
*/
public org.apache.comet.serde.ExprOuterClass.ExprOrBuilder getLeftJoinKeysOrBuilder(
int index) {
if (leftJoinKeysBuilder_ == null) {
return leftJoinKeys_.get(index); } else {
return leftJoinKeysBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .spark.spark_expression.Expr left_join_keys = 1;
*/
public java.util.List extends org.apache.comet.serde.ExprOuterClass.ExprOrBuilder>
getLeftJoinKeysOrBuilderList() {
if (leftJoinKeysBuilder_ != null) {
return leftJoinKeysBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(leftJoinKeys_);
}
}
/**
* repeated .spark.spark_expression.Expr left_join_keys = 1;
*/
public org.apache.comet.serde.ExprOuterClass.Expr.Builder addLeftJoinKeysBuilder() {
return getLeftJoinKeysFieldBuilder().addBuilder(
org.apache.comet.serde.ExprOuterClass.Expr.getDefaultInstance());
}
/**
* repeated .spark.spark_expression.Expr left_join_keys = 1;
*/
public org.apache.comet.serde.ExprOuterClass.Expr.Builder addLeftJoinKeysBuilder(
int index) {
return getLeftJoinKeysFieldBuilder().addBuilder(
index, org.apache.comet.serde.ExprOuterClass.Expr.getDefaultInstance());
}
/**
* repeated .spark.spark_expression.Expr left_join_keys = 1;
*/
public java.util.List
getLeftJoinKeysBuilderList() {
return getLeftJoinKeysFieldBuilder().getBuilderList();
}
private org.apache.comet.shaded.protobuf.RepeatedFieldBuilderV3<
org.apache.comet.serde.ExprOuterClass.Expr, org.apache.comet.serde.ExprOuterClass.Expr.Builder, org.apache.comet.serde.ExprOuterClass.ExprOrBuilder>
getLeftJoinKeysFieldBuilder() {
if (leftJoinKeysBuilder_ == null) {
leftJoinKeysBuilder_ = new org.apache.comet.shaded.protobuf.RepeatedFieldBuilderV3<
org.apache.comet.serde.ExprOuterClass.Expr, org.apache.comet.serde.ExprOuterClass.Expr.Builder, org.apache.comet.serde.ExprOuterClass.ExprOrBuilder>(
leftJoinKeys_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
leftJoinKeys_ = null;
}
return leftJoinKeysBuilder_;
}
private java.util.List rightJoinKeys_ =
java.util.Collections.emptyList();
private void ensureRightJoinKeysIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
rightJoinKeys_ = new java.util.ArrayList(rightJoinKeys_);
bitField0_ |= 0x00000002;
}
}
private org.apache.comet.shaded.protobuf.RepeatedFieldBuilderV3<
org.apache.comet.serde.ExprOuterClass.Expr, org.apache.comet.serde.ExprOuterClass.Expr.Builder, org.apache.comet.serde.ExprOuterClass.ExprOrBuilder> rightJoinKeysBuilder_;
/**
* repeated .spark.spark_expression.Expr right_join_keys = 2;
*/
public java.util.List getRightJoinKeysList() {
if (rightJoinKeysBuilder_ == null) {
return java.util.Collections.unmodifiableList(rightJoinKeys_);
} else {
return rightJoinKeysBuilder_.getMessageList();
}
}
/**
* repeated .spark.spark_expression.Expr right_join_keys = 2;
*/
public int getRightJoinKeysCount() {
if (rightJoinKeysBuilder_ == null) {
return rightJoinKeys_.size();
} else {
return rightJoinKeysBuilder_.getCount();
}
}
/**
* repeated .spark.spark_expression.Expr right_join_keys = 2;
*/
public org.apache.comet.serde.ExprOuterClass.Expr getRightJoinKeys(int index) {
if (rightJoinKeysBuilder_ == null) {
return rightJoinKeys_.get(index);
} else {
return rightJoinKeysBuilder_.getMessage(index);
}
}
/**
* repeated .spark.spark_expression.Expr right_join_keys = 2;
*/
public Builder setRightJoinKeys(
int index, org.apache.comet.serde.ExprOuterClass.Expr value) {
if (rightJoinKeysBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureRightJoinKeysIsMutable();
rightJoinKeys_.set(index, value);
onChanged();
} else {
rightJoinKeysBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .spark.spark_expression.Expr right_join_keys = 2;
*/
public Builder setRightJoinKeys(
int index, org.apache.comet.serde.ExprOuterClass.Expr.Builder builderForValue) {
if (rightJoinKeysBuilder_ == null) {
ensureRightJoinKeysIsMutable();
rightJoinKeys_.set(index, builderForValue.build());
onChanged();
} else {
rightJoinKeysBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .spark.spark_expression.Expr right_join_keys = 2;
*/
public Builder addRightJoinKeys(org.apache.comet.serde.ExprOuterClass.Expr value) {
if (rightJoinKeysBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureRightJoinKeysIsMutable();
rightJoinKeys_.add(value);
onChanged();
} else {
rightJoinKeysBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .spark.spark_expression.Expr right_join_keys = 2;
*/
public Builder addRightJoinKeys(
int index, org.apache.comet.serde.ExprOuterClass.Expr value) {
if (rightJoinKeysBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureRightJoinKeysIsMutable();
rightJoinKeys_.add(index, value);
onChanged();
} else {
rightJoinKeysBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .spark.spark_expression.Expr right_join_keys = 2;
*/
public Builder addRightJoinKeys(
org.apache.comet.serde.ExprOuterClass.Expr.Builder builderForValue) {
if (rightJoinKeysBuilder_ == null) {
ensureRightJoinKeysIsMutable();
rightJoinKeys_.add(builderForValue.build());
onChanged();
} else {
rightJoinKeysBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .spark.spark_expression.Expr right_join_keys = 2;
*/
public Builder addRightJoinKeys(
int index, org.apache.comet.serde.ExprOuterClass.Expr.Builder builderForValue) {
if (rightJoinKeysBuilder_ == null) {
ensureRightJoinKeysIsMutable();
rightJoinKeys_.add(index, builderForValue.build());
onChanged();
} else {
rightJoinKeysBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .spark.spark_expression.Expr right_join_keys = 2;
*/
public Builder addAllRightJoinKeys(
java.lang.Iterable extends org.apache.comet.serde.ExprOuterClass.Expr> values) {
if (rightJoinKeysBuilder_ == null) {
ensureRightJoinKeysIsMutable();
org.apache.comet.shaded.protobuf.AbstractMessageLite.Builder.addAll(
values, rightJoinKeys_);
onChanged();
} else {
rightJoinKeysBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .spark.spark_expression.Expr right_join_keys = 2;
*/
public Builder clearRightJoinKeys() {
if (rightJoinKeysBuilder_ == null) {
rightJoinKeys_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
rightJoinKeysBuilder_.clear();
}
return this;
}
/**
* repeated .spark.spark_expression.Expr right_join_keys = 2;
*/
public Builder removeRightJoinKeys(int index) {
if (rightJoinKeysBuilder_ == null) {
ensureRightJoinKeysIsMutable();
rightJoinKeys_.remove(index);
onChanged();
} else {
rightJoinKeysBuilder_.remove(index);
}
return this;
}
/**
* repeated .spark.spark_expression.Expr right_join_keys = 2;
*/
public org.apache.comet.serde.ExprOuterClass.Expr.Builder getRightJoinKeysBuilder(
int index) {
return getRightJoinKeysFieldBuilder().getBuilder(index);
}
/**
* repeated .spark.spark_expression.Expr right_join_keys = 2;
*/
public org.apache.comet.serde.ExprOuterClass.ExprOrBuilder getRightJoinKeysOrBuilder(
int index) {
if (rightJoinKeysBuilder_ == null) {
return rightJoinKeys_.get(index); } else {
return rightJoinKeysBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .spark.spark_expression.Expr right_join_keys = 2;
*/
public java.util.List extends org.apache.comet.serde.ExprOuterClass.ExprOrBuilder>
getRightJoinKeysOrBuilderList() {
if (rightJoinKeysBuilder_ != null) {
return rightJoinKeysBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(rightJoinKeys_);
}
}
/**
* repeated .spark.spark_expression.Expr right_join_keys = 2;
*/
public org.apache.comet.serde.ExprOuterClass.Expr.Builder addRightJoinKeysBuilder() {
return getRightJoinKeysFieldBuilder().addBuilder(
org.apache.comet.serde.ExprOuterClass.Expr.getDefaultInstance());
}
/**
* repeated .spark.spark_expression.Expr right_join_keys = 2;
*/
public org.apache.comet.serde.ExprOuterClass.Expr.Builder addRightJoinKeysBuilder(
int index) {
return getRightJoinKeysFieldBuilder().addBuilder(
index, org.apache.comet.serde.ExprOuterClass.Expr.getDefaultInstance());
}
/**
* repeated .spark.spark_expression.Expr right_join_keys = 2;
*/
public java.util.List
getRightJoinKeysBuilderList() {
return getRightJoinKeysFieldBuilder().getBuilderList();
}
private org.apache.comet.shaded.protobuf.RepeatedFieldBuilderV3<
org.apache.comet.serde.ExprOuterClass.Expr, org.apache.comet.serde.ExprOuterClass.Expr.Builder, org.apache.comet.serde.ExprOuterClass.ExprOrBuilder>
getRightJoinKeysFieldBuilder() {
if (rightJoinKeysBuilder_ == null) {
rightJoinKeysBuilder_ = new org.apache.comet.shaded.protobuf.RepeatedFieldBuilderV3<
org.apache.comet.serde.ExprOuterClass.Expr, org.apache.comet.serde.ExprOuterClass.Expr.Builder, org.apache.comet.serde.ExprOuterClass.ExprOrBuilder>(
rightJoinKeys_,
((bitField0_ & 0x00000002) != 0),
getParentForChildren(),
isClean());
rightJoinKeys_ = null;
}
return rightJoinKeysBuilder_;
}
private int joinType_ = 0;
/**
* .spark.spark_operator.JoinType join_type = 3;
* @return The enum numeric value on the wire for joinType.
*/
@java.lang.Override public int getJoinTypeValue() {
return joinType_;
}
/**
* .spark.spark_operator.JoinType join_type = 3;
* @param value The enum numeric value on the wire for joinType to set.
* @return This builder for chaining.
*/
public Builder setJoinTypeValue(int value) {
joinType_ = value;
onChanged();
return this;
}
/**
* .spark.spark_operator.JoinType join_type = 3;
* @return The joinType.
*/
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.JoinType getJoinType() {
@SuppressWarnings("deprecation")
org.apache.comet.serde.OperatorOuterClass.JoinType result = org.apache.comet.serde.OperatorOuterClass.JoinType.valueOf(joinType_);
return result == null ? org.apache.comet.serde.OperatorOuterClass.JoinType.UNRECOGNIZED : result;
}
/**
* .spark.spark_operator.JoinType join_type = 3;
* @param value The joinType to set.
* @return This builder for chaining.
*/
public Builder setJoinType(org.apache.comet.serde.OperatorOuterClass.JoinType value) {
if (value == null) {
throw new NullPointerException();
}
joinType_ = value.getNumber();
onChanged();
return this;
}
/**
* .spark.spark_operator.JoinType join_type = 3;
* @return This builder for chaining.
*/
public Builder clearJoinType() {
joinType_ = 0;
onChanged();
return this;
}
private java.util.List sortOptions_ =
java.util.Collections.emptyList();
private void ensureSortOptionsIsMutable() {
if (!((bitField0_ & 0x00000004) != 0)) {
sortOptions_ = new java.util.ArrayList(sortOptions_);
bitField0_ |= 0x00000004;
}
}
private org.apache.comet.shaded.protobuf.RepeatedFieldBuilderV3<
org.apache.comet.serde.ExprOuterClass.Expr, org.apache.comet.serde.ExprOuterClass.Expr.Builder, org.apache.comet.serde.ExprOuterClass.ExprOrBuilder> sortOptionsBuilder_;
/**
* repeated .spark.spark_expression.Expr sort_options = 4;
*/
public java.util.List getSortOptionsList() {
if (sortOptionsBuilder_ == null) {
return java.util.Collections.unmodifiableList(sortOptions_);
} else {
return sortOptionsBuilder_.getMessageList();
}
}
/**
* repeated .spark.spark_expression.Expr sort_options = 4;
*/
public int getSortOptionsCount() {
if (sortOptionsBuilder_ == null) {
return sortOptions_.size();
} else {
return sortOptionsBuilder_.getCount();
}
}
/**
* repeated .spark.spark_expression.Expr sort_options = 4;
*/
public org.apache.comet.serde.ExprOuterClass.Expr getSortOptions(int index) {
if (sortOptionsBuilder_ == null) {
return sortOptions_.get(index);
} else {
return sortOptionsBuilder_.getMessage(index);
}
}
/**
* repeated .spark.spark_expression.Expr sort_options = 4;
*/
public Builder setSortOptions(
int index, org.apache.comet.serde.ExprOuterClass.Expr value) {
if (sortOptionsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSortOptionsIsMutable();
sortOptions_.set(index, value);
onChanged();
} else {
sortOptionsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .spark.spark_expression.Expr sort_options = 4;
*/
public Builder setSortOptions(
int index, org.apache.comet.serde.ExprOuterClass.Expr.Builder builderForValue) {
if (sortOptionsBuilder_ == null) {
ensureSortOptionsIsMutable();
sortOptions_.set(index, builderForValue.build());
onChanged();
} else {
sortOptionsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .spark.spark_expression.Expr sort_options = 4;
*/
public Builder addSortOptions(org.apache.comet.serde.ExprOuterClass.Expr value) {
if (sortOptionsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSortOptionsIsMutable();
sortOptions_.add(value);
onChanged();
} else {
sortOptionsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .spark.spark_expression.Expr sort_options = 4;
*/
public Builder addSortOptions(
int index, org.apache.comet.serde.ExprOuterClass.Expr value) {
if (sortOptionsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureSortOptionsIsMutable();
sortOptions_.add(index, value);
onChanged();
} else {
sortOptionsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .spark.spark_expression.Expr sort_options = 4;
*/
public Builder addSortOptions(
org.apache.comet.serde.ExprOuterClass.Expr.Builder builderForValue) {
if (sortOptionsBuilder_ == null) {
ensureSortOptionsIsMutable();
sortOptions_.add(builderForValue.build());
onChanged();
} else {
sortOptionsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .spark.spark_expression.Expr sort_options = 4;
*/
public Builder addSortOptions(
int index, org.apache.comet.serde.ExprOuterClass.Expr.Builder builderForValue) {
if (sortOptionsBuilder_ == null) {
ensureSortOptionsIsMutable();
sortOptions_.add(index, builderForValue.build());
onChanged();
} else {
sortOptionsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .spark.spark_expression.Expr sort_options = 4;
*/
public Builder addAllSortOptions(
java.lang.Iterable extends org.apache.comet.serde.ExprOuterClass.Expr> values) {
if (sortOptionsBuilder_ == null) {
ensureSortOptionsIsMutable();
org.apache.comet.shaded.protobuf.AbstractMessageLite.Builder.addAll(
values, sortOptions_);
onChanged();
} else {
sortOptionsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .spark.spark_expression.Expr sort_options = 4;
*/
public Builder clearSortOptions() {
if (sortOptionsBuilder_ == null) {
sortOptions_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
} else {
sortOptionsBuilder_.clear();
}
return this;
}
/**
* repeated .spark.spark_expression.Expr sort_options = 4;
*/
public Builder removeSortOptions(int index) {
if (sortOptionsBuilder_ == null) {
ensureSortOptionsIsMutable();
sortOptions_.remove(index);
onChanged();
} else {
sortOptionsBuilder_.remove(index);
}
return this;
}
/**
* repeated .spark.spark_expression.Expr sort_options = 4;
*/
public org.apache.comet.serde.ExprOuterClass.Expr.Builder getSortOptionsBuilder(
int index) {
return getSortOptionsFieldBuilder().getBuilder(index);
}
/**
* repeated .spark.spark_expression.Expr sort_options = 4;
*/
public org.apache.comet.serde.ExprOuterClass.ExprOrBuilder getSortOptionsOrBuilder(
int index) {
if (sortOptionsBuilder_ == null) {
return sortOptions_.get(index); } else {
return sortOptionsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .spark.spark_expression.Expr sort_options = 4;
*/
public java.util.List extends org.apache.comet.serde.ExprOuterClass.ExprOrBuilder>
getSortOptionsOrBuilderList() {
if (sortOptionsBuilder_ != null) {
return sortOptionsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(sortOptions_);
}
}
/**
* repeated .spark.spark_expression.Expr sort_options = 4;
*/
public org.apache.comet.serde.ExprOuterClass.Expr.Builder addSortOptionsBuilder() {
return getSortOptionsFieldBuilder().addBuilder(
org.apache.comet.serde.ExprOuterClass.Expr.getDefaultInstance());
}
/**
* repeated .spark.spark_expression.Expr sort_options = 4;
*/
public org.apache.comet.serde.ExprOuterClass.Expr.Builder addSortOptionsBuilder(
int index) {
return getSortOptionsFieldBuilder().addBuilder(
index, org.apache.comet.serde.ExprOuterClass.Expr.getDefaultInstance());
}
/**
* repeated .spark.spark_expression.Expr sort_options = 4;
*/
public java.util.List
getSortOptionsBuilderList() {
return getSortOptionsFieldBuilder().getBuilderList();
}
private org.apache.comet.shaded.protobuf.RepeatedFieldBuilderV3<
org.apache.comet.serde.ExprOuterClass.Expr, org.apache.comet.serde.ExprOuterClass.Expr.Builder, org.apache.comet.serde.ExprOuterClass.ExprOrBuilder>
getSortOptionsFieldBuilder() {
if (sortOptionsBuilder_ == null) {
sortOptionsBuilder_ = new org.apache.comet.shaded.protobuf.RepeatedFieldBuilderV3<
org.apache.comet.serde.ExprOuterClass.Expr, org.apache.comet.serde.ExprOuterClass.Expr.Builder, org.apache.comet.serde.ExprOuterClass.ExprOrBuilder>(
sortOptions_,
((bitField0_ & 0x00000004) != 0),
getParentForChildren(),
isClean());
sortOptions_ = null;
}
return sortOptionsBuilder_;
}
private org.apache.comet.serde.ExprOuterClass.Expr condition_;
private org.apache.comet.shaded.protobuf.SingleFieldBuilderV3<
org.apache.comet.serde.ExprOuterClass.Expr, org.apache.comet.serde.ExprOuterClass.Expr.Builder, org.apache.comet.serde.ExprOuterClass.ExprOrBuilder> conditionBuilder_;
/**
* optional .spark.spark_expression.Expr condition = 5;
* @return Whether the condition field is set.
*/
public boolean hasCondition() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional .spark.spark_expression.Expr condition = 5;
* @return The condition.
*/
public org.apache.comet.serde.ExprOuterClass.Expr getCondition() {
if (conditionBuilder_ == null) {
return condition_ == null ? org.apache.comet.serde.ExprOuterClass.Expr.getDefaultInstance() : condition_;
} else {
return conditionBuilder_.getMessage();
}
}
/**
* optional .spark.spark_expression.Expr condition = 5;
*/
public Builder setCondition(org.apache.comet.serde.ExprOuterClass.Expr value) {
if (conditionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
condition_ = value;
onChanged();
} else {
conditionBuilder_.setMessage(value);
}
bitField0_ |= 0x00000008;
return this;
}
/**
* optional .spark.spark_expression.Expr condition = 5;
*/
public Builder setCondition(
org.apache.comet.serde.ExprOuterClass.Expr.Builder builderForValue) {
if (conditionBuilder_ == null) {
condition_ = builderForValue.build();
onChanged();
} else {
conditionBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000008;
return this;
}
/**
* optional .spark.spark_expression.Expr condition = 5;
*/
public Builder mergeCondition(org.apache.comet.serde.ExprOuterClass.Expr value) {
if (conditionBuilder_ == null) {
if (((bitField0_ & 0x00000008) != 0) &&
condition_ != null &&
condition_ != org.apache.comet.serde.ExprOuterClass.Expr.getDefaultInstance()) {
condition_ =
org.apache.comet.serde.ExprOuterClass.Expr.newBuilder(condition_).mergeFrom(value).buildPartial();
} else {
condition_ = value;
}
onChanged();
} else {
conditionBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000008;
return this;
}
/**
* optional .spark.spark_expression.Expr condition = 5;
*/
public Builder clearCondition() {
if (conditionBuilder_ == null) {
condition_ = null;
onChanged();
} else {
conditionBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000008);
return this;
}
/**
* optional .spark.spark_expression.Expr condition = 5;
*/
public org.apache.comet.serde.ExprOuterClass.Expr.Builder getConditionBuilder() {
bitField0_ |= 0x00000008;
onChanged();
return getConditionFieldBuilder().getBuilder();
}
/**
* optional .spark.spark_expression.Expr condition = 5;
*/
public org.apache.comet.serde.ExprOuterClass.ExprOrBuilder getConditionOrBuilder() {
if (conditionBuilder_ != null) {
return conditionBuilder_.getMessageOrBuilder();
} else {
return condition_ == null ?
org.apache.comet.serde.ExprOuterClass.Expr.getDefaultInstance() : condition_;
}
}
/**
* optional .spark.spark_expression.Expr condition = 5;
*/
private org.apache.comet.shaded.protobuf.SingleFieldBuilderV3<
org.apache.comet.serde.ExprOuterClass.Expr, org.apache.comet.serde.ExprOuterClass.Expr.Builder, org.apache.comet.serde.ExprOuterClass.ExprOrBuilder>
getConditionFieldBuilder() {
if (conditionBuilder_ == null) {
conditionBuilder_ = new org.apache.comet.shaded.protobuf.SingleFieldBuilderV3<
org.apache.comet.serde.ExprOuterClass.Expr, org.apache.comet.serde.ExprOuterClass.Expr.Builder, org.apache.comet.serde.ExprOuterClass.ExprOrBuilder>(
getCondition(),
getParentForChildren(),
isClean());
condition_ = null;
}
return conditionBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final org.apache.comet.shaded.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final org.apache.comet.shaded.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:spark.spark_operator.SortMergeJoin)
}
// @@protoc_insertion_point(class_scope:spark.spark_operator.SortMergeJoin)
private static final org.apache.comet.serde.OperatorOuterClass.SortMergeJoin DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.comet.serde.OperatorOuterClass.SortMergeJoin();
}
public static org.apache.comet.serde.OperatorOuterClass.SortMergeJoin getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final org.apache.comet.shaded.protobuf.Parser
PARSER = new org.apache.comet.shaded.protobuf.AbstractParser() {
@java.lang.Override
public SortMergeJoin parsePartialFrom(
org.apache.comet.shaded.protobuf.CodedInputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (org.apache.comet.shaded.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (org.apache.comet.shaded.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new org.apache.comet.shaded.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static org.apache.comet.shaded.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public org.apache.comet.shaded.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.SortMergeJoin getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface WindowExprOrBuilder extends
// @@protoc_insertion_point(interface_extends:spark.spark_operator.WindowExpr)
org.apache.comet.shaded.protobuf.MessageOrBuilder {
/**
* .spark.spark_expression.Expr built_in_window_function = 1;
* @return Whether the builtInWindowFunction field is set.
*/
boolean hasBuiltInWindowFunction();
/**
* .spark.spark_expression.Expr built_in_window_function = 1;
* @return The builtInWindowFunction.
*/
org.apache.comet.serde.ExprOuterClass.Expr getBuiltInWindowFunction();
/**
* .spark.spark_expression.Expr built_in_window_function = 1;
*/
org.apache.comet.serde.ExprOuterClass.ExprOrBuilder getBuiltInWindowFunctionOrBuilder();
/**
* .spark.spark_expression.AggExpr agg_func = 2;
* @return Whether the aggFunc field is set.
*/
boolean hasAggFunc();
/**
* .spark.spark_expression.AggExpr agg_func = 2;
* @return The aggFunc.
*/
org.apache.comet.serde.ExprOuterClass.AggExpr getAggFunc();
/**
* .spark.spark_expression.AggExpr agg_func = 2;
*/
org.apache.comet.serde.ExprOuterClass.AggExprOrBuilder getAggFuncOrBuilder();
/**
* .spark.spark_operator.WindowSpecDefinition spec = 3;
* @return Whether the spec field is set.
*/
boolean hasSpec();
/**
* .spark.spark_operator.WindowSpecDefinition spec = 3;
* @return The spec.
*/
org.apache.comet.serde.OperatorOuterClass.WindowSpecDefinition getSpec();
/**
* .spark.spark_operator.WindowSpecDefinition spec = 3;
*/
org.apache.comet.serde.OperatorOuterClass.WindowSpecDefinitionOrBuilder getSpecOrBuilder();
}
/**
* Protobuf type {@code spark.spark_operator.WindowExpr}
*/
public static final class WindowExpr extends
org.apache.comet.shaded.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:spark.spark_operator.WindowExpr)
WindowExprOrBuilder {
private static final long serialVersionUID = 0L;
// Use WindowExpr.newBuilder() to construct.
private WindowExpr(org.apache.comet.shaded.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private WindowExpr() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new WindowExpr();
}
@java.lang.Override
public final org.apache.comet.shaded.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final org.apache.comet.shaded.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_WindowExpr_descriptor;
}
@java.lang.Override
protected org.apache.comet.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_WindowExpr_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.comet.serde.OperatorOuterClass.WindowExpr.class, org.apache.comet.serde.OperatorOuterClass.WindowExpr.Builder.class);
}
public static final int BUILT_IN_WINDOW_FUNCTION_FIELD_NUMBER = 1;
private org.apache.comet.serde.ExprOuterClass.Expr builtInWindowFunction_;
/**
* .spark.spark_expression.Expr built_in_window_function = 1;
* @return Whether the builtInWindowFunction field is set.
*/
@java.lang.Override
public boolean hasBuiltInWindowFunction() {
return builtInWindowFunction_ != null;
}
/**
* .spark.spark_expression.Expr built_in_window_function = 1;
* @return The builtInWindowFunction.
*/
@java.lang.Override
public org.apache.comet.serde.ExprOuterClass.Expr getBuiltInWindowFunction() {
return builtInWindowFunction_ == null ? org.apache.comet.serde.ExprOuterClass.Expr.getDefaultInstance() : builtInWindowFunction_;
}
/**
* .spark.spark_expression.Expr built_in_window_function = 1;
*/
@java.lang.Override
public org.apache.comet.serde.ExprOuterClass.ExprOrBuilder getBuiltInWindowFunctionOrBuilder() {
return getBuiltInWindowFunction();
}
public static final int AGG_FUNC_FIELD_NUMBER = 2;
private org.apache.comet.serde.ExprOuterClass.AggExpr aggFunc_;
/**
* .spark.spark_expression.AggExpr agg_func = 2;
* @return Whether the aggFunc field is set.
*/
@java.lang.Override
public boolean hasAggFunc() {
return aggFunc_ != null;
}
/**
* .spark.spark_expression.AggExpr agg_func = 2;
* @return The aggFunc.
*/
@java.lang.Override
public org.apache.comet.serde.ExprOuterClass.AggExpr getAggFunc() {
return aggFunc_ == null ? org.apache.comet.serde.ExprOuterClass.AggExpr.getDefaultInstance() : aggFunc_;
}
/**
* .spark.spark_expression.AggExpr agg_func = 2;
*/
@java.lang.Override
public org.apache.comet.serde.ExprOuterClass.AggExprOrBuilder getAggFuncOrBuilder() {
return getAggFunc();
}
public static final int SPEC_FIELD_NUMBER = 3;
private org.apache.comet.serde.OperatorOuterClass.WindowSpecDefinition spec_;
/**
* .spark.spark_operator.WindowSpecDefinition spec = 3;
* @return Whether the spec field is set.
*/
@java.lang.Override
public boolean hasSpec() {
return spec_ != null;
}
/**
* .spark.spark_operator.WindowSpecDefinition spec = 3;
* @return The spec.
*/
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.WindowSpecDefinition getSpec() {
return spec_ == null ? org.apache.comet.serde.OperatorOuterClass.WindowSpecDefinition.getDefaultInstance() : spec_;
}
/**
* .spark.spark_operator.WindowSpecDefinition spec = 3;
*/
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.WindowSpecDefinitionOrBuilder getSpecOrBuilder() {
return getSpec();
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(org.apache.comet.shaded.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (builtInWindowFunction_ != null) {
output.writeMessage(1, getBuiltInWindowFunction());
}
if (aggFunc_ != null) {
output.writeMessage(2, getAggFunc());
}
if (spec_ != null) {
output.writeMessage(3, getSpec());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (builtInWindowFunction_ != null) {
size += org.apache.comet.shaded.protobuf.CodedOutputStream
.computeMessageSize(1, getBuiltInWindowFunction());
}
if (aggFunc_ != null) {
size += org.apache.comet.shaded.protobuf.CodedOutputStream
.computeMessageSize(2, getAggFunc());
}
if (spec_ != null) {
size += org.apache.comet.shaded.protobuf.CodedOutputStream
.computeMessageSize(3, getSpec());
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.comet.serde.OperatorOuterClass.WindowExpr)) {
return super.equals(obj);
}
org.apache.comet.serde.OperatorOuterClass.WindowExpr other = (org.apache.comet.serde.OperatorOuterClass.WindowExpr) obj;
if (hasBuiltInWindowFunction() != other.hasBuiltInWindowFunction()) return false;
if (hasBuiltInWindowFunction()) {
if (!getBuiltInWindowFunction()
.equals(other.getBuiltInWindowFunction())) return false;
}
if (hasAggFunc() != other.hasAggFunc()) return false;
if (hasAggFunc()) {
if (!getAggFunc()
.equals(other.getAggFunc())) return false;
}
if (hasSpec() != other.hasSpec()) return false;
if (hasSpec()) {
if (!getSpec()
.equals(other.getSpec())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasBuiltInWindowFunction()) {
hash = (37 * hash) + BUILT_IN_WINDOW_FUNCTION_FIELD_NUMBER;
hash = (53 * hash) + getBuiltInWindowFunction().hashCode();
}
if (hasAggFunc()) {
hash = (37 * hash) + AGG_FUNC_FIELD_NUMBER;
hash = (53 * hash) + getAggFunc().hashCode();
}
if (hasSpec()) {
hash = (37 * hash) + SPEC_FIELD_NUMBER;
hash = (53 * hash) + getSpec().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.comet.serde.OperatorOuterClass.WindowExpr parseFrom(
java.nio.ByteBuffer data)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.comet.serde.OperatorOuterClass.WindowExpr parseFrom(
java.nio.ByteBuffer data,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.WindowExpr parseFrom(
org.apache.comet.shaded.protobuf.ByteString data)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.comet.serde.OperatorOuterClass.WindowExpr parseFrom(
org.apache.comet.shaded.protobuf.ByteString data,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.WindowExpr parseFrom(byte[] data)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.comet.serde.OperatorOuterClass.WindowExpr parseFrom(
byte[] data,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.WindowExpr parseFrom(java.io.InputStream input)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.comet.serde.OperatorOuterClass.WindowExpr parseFrom(
java.io.InputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.WindowExpr parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.comet.serde.OperatorOuterClass.WindowExpr parseDelimitedFrom(
java.io.InputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.WindowExpr parseFrom(
org.apache.comet.shaded.protobuf.CodedInputStream input)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.comet.serde.OperatorOuterClass.WindowExpr parseFrom(
org.apache.comet.shaded.protobuf.CodedInputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.comet.serde.OperatorOuterClass.WindowExpr prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
org.apache.comet.shaded.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code spark.spark_operator.WindowExpr}
*/
public static final class Builder extends
org.apache.comet.shaded.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:spark.spark_operator.WindowExpr)
org.apache.comet.serde.OperatorOuterClass.WindowExprOrBuilder {
public static final org.apache.comet.shaded.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_WindowExpr_descriptor;
}
@java.lang.Override
protected org.apache.comet.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_WindowExpr_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.comet.serde.OperatorOuterClass.WindowExpr.class, org.apache.comet.serde.OperatorOuterClass.WindowExpr.Builder.class);
}
// Construct using org.apache.comet.serde.OperatorOuterClass.WindowExpr.newBuilder()
private Builder() {
}
private Builder(
org.apache.comet.shaded.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
if (builtInWindowFunctionBuilder_ == null) {
builtInWindowFunction_ = null;
} else {
builtInWindowFunction_ = null;
builtInWindowFunctionBuilder_ = null;
}
if (aggFuncBuilder_ == null) {
aggFunc_ = null;
} else {
aggFunc_ = null;
aggFuncBuilder_ = null;
}
if (specBuilder_ == null) {
spec_ = null;
} else {
spec_ = null;
specBuilder_ = null;
}
return this;
}
@java.lang.Override
public org.apache.comet.shaded.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_WindowExpr_descriptor;
}
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.WindowExpr getDefaultInstanceForType() {
return org.apache.comet.serde.OperatorOuterClass.WindowExpr.getDefaultInstance();
}
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.WindowExpr build() {
org.apache.comet.serde.OperatorOuterClass.WindowExpr result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.WindowExpr buildPartial() {
org.apache.comet.serde.OperatorOuterClass.WindowExpr result = new org.apache.comet.serde.OperatorOuterClass.WindowExpr(this);
if (builtInWindowFunctionBuilder_ == null) {
result.builtInWindowFunction_ = builtInWindowFunction_;
} else {
result.builtInWindowFunction_ = builtInWindowFunctionBuilder_.build();
}
if (aggFuncBuilder_ == null) {
result.aggFunc_ = aggFunc_;
} else {
result.aggFunc_ = aggFuncBuilder_.build();
}
if (specBuilder_ == null) {
result.spec_ = spec_;
} else {
result.spec_ = specBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
org.apache.comet.shaded.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
org.apache.comet.shaded.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
org.apache.comet.shaded.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
org.apache.comet.shaded.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
org.apache.comet.shaded.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(org.apache.comet.shaded.protobuf.Message other) {
if (other instanceof org.apache.comet.serde.OperatorOuterClass.WindowExpr) {
return mergeFrom((org.apache.comet.serde.OperatorOuterClass.WindowExpr)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.comet.serde.OperatorOuterClass.WindowExpr other) {
if (other == org.apache.comet.serde.OperatorOuterClass.WindowExpr.getDefaultInstance()) return this;
if (other.hasBuiltInWindowFunction()) {
mergeBuiltInWindowFunction(other.getBuiltInWindowFunction());
}
if (other.hasAggFunc()) {
mergeAggFunc(other.getAggFunc());
}
if (other.hasSpec()) {
mergeSpec(other.getSpec());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
org.apache.comet.shaded.protobuf.CodedInputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getBuiltInWindowFunctionFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 10
case 18: {
input.readMessage(
getAggFuncFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 18
case 26: {
input.readMessage(
getSpecFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 26
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (org.apache.comet.shaded.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private org.apache.comet.serde.ExprOuterClass.Expr builtInWindowFunction_;
private org.apache.comet.shaded.protobuf.SingleFieldBuilderV3<
org.apache.comet.serde.ExprOuterClass.Expr, org.apache.comet.serde.ExprOuterClass.Expr.Builder, org.apache.comet.serde.ExprOuterClass.ExprOrBuilder> builtInWindowFunctionBuilder_;
/**
* .spark.spark_expression.Expr built_in_window_function = 1;
* @return Whether the builtInWindowFunction field is set.
*/
public boolean hasBuiltInWindowFunction() {
return builtInWindowFunctionBuilder_ != null || builtInWindowFunction_ != null;
}
/**
* .spark.spark_expression.Expr built_in_window_function = 1;
* @return The builtInWindowFunction.
*/
public org.apache.comet.serde.ExprOuterClass.Expr getBuiltInWindowFunction() {
if (builtInWindowFunctionBuilder_ == null) {
return builtInWindowFunction_ == null ? org.apache.comet.serde.ExprOuterClass.Expr.getDefaultInstance() : builtInWindowFunction_;
} else {
return builtInWindowFunctionBuilder_.getMessage();
}
}
/**
* .spark.spark_expression.Expr built_in_window_function = 1;
*/
public Builder setBuiltInWindowFunction(org.apache.comet.serde.ExprOuterClass.Expr value) {
if (builtInWindowFunctionBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
builtInWindowFunction_ = value;
onChanged();
} else {
builtInWindowFunctionBuilder_.setMessage(value);
}
return this;
}
/**
* .spark.spark_expression.Expr built_in_window_function = 1;
*/
public Builder setBuiltInWindowFunction(
org.apache.comet.serde.ExprOuterClass.Expr.Builder builderForValue) {
if (builtInWindowFunctionBuilder_ == null) {
builtInWindowFunction_ = builderForValue.build();
onChanged();
} else {
builtInWindowFunctionBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .spark.spark_expression.Expr built_in_window_function = 1;
*/
public Builder mergeBuiltInWindowFunction(org.apache.comet.serde.ExprOuterClass.Expr value) {
if (builtInWindowFunctionBuilder_ == null) {
if (builtInWindowFunction_ != null) {
builtInWindowFunction_ =
org.apache.comet.serde.ExprOuterClass.Expr.newBuilder(builtInWindowFunction_).mergeFrom(value).buildPartial();
} else {
builtInWindowFunction_ = value;
}
onChanged();
} else {
builtInWindowFunctionBuilder_.mergeFrom(value);
}
return this;
}
/**
* .spark.spark_expression.Expr built_in_window_function = 1;
*/
public Builder clearBuiltInWindowFunction() {
if (builtInWindowFunctionBuilder_ == null) {
builtInWindowFunction_ = null;
onChanged();
} else {
builtInWindowFunction_ = null;
builtInWindowFunctionBuilder_ = null;
}
return this;
}
/**
* .spark.spark_expression.Expr built_in_window_function = 1;
*/
public org.apache.comet.serde.ExprOuterClass.Expr.Builder getBuiltInWindowFunctionBuilder() {
onChanged();
return getBuiltInWindowFunctionFieldBuilder().getBuilder();
}
/**
* .spark.spark_expression.Expr built_in_window_function = 1;
*/
public org.apache.comet.serde.ExprOuterClass.ExprOrBuilder getBuiltInWindowFunctionOrBuilder() {
if (builtInWindowFunctionBuilder_ != null) {
return builtInWindowFunctionBuilder_.getMessageOrBuilder();
} else {
return builtInWindowFunction_ == null ?
org.apache.comet.serde.ExprOuterClass.Expr.getDefaultInstance() : builtInWindowFunction_;
}
}
/**
* .spark.spark_expression.Expr built_in_window_function = 1;
*/
private org.apache.comet.shaded.protobuf.SingleFieldBuilderV3<
org.apache.comet.serde.ExprOuterClass.Expr, org.apache.comet.serde.ExprOuterClass.Expr.Builder, org.apache.comet.serde.ExprOuterClass.ExprOrBuilder>
getBuiltInWindowFunctionFieldBuilder() {
if (builtInWindowFunctionBuilder_ == null) {
builtInWindowFunctionBuilder_ = new org.apache.comet.shaded.protobuf.SingleFieldBuilderV3<
org.apache.comet.serde.ExprOuterClass.Expr, org.apache.comet.serde.ExprOuterClass.Expr.Builder, org.apache.comet.serde.ExprOuterClass.ExprOrBuilder>(
getBuiltInWindowFunction(),
getParentForChildren(),
isClean());
builtInWindowFunction_ = null;
}
return builtInWindowFunctionBuilder_;
}
private org.apache.comet.serde.ExprOuterClass.AggExpr aggFunc_;
private org.apache.comet.shaded.protobuf.SingleFieldBuilderV3<
org.apache.comet.serde.ExprOuterClass.AggExpr, org.apache.comet.serde.ExprOuterClass.AggExpr.Builder, org.apache.comet.serde.ExprOuterClass.AggExprOrBuilder> aggFuncBuilder_;
/**
* .spark.spark_expression.AggExpr agg_func = 2;
* @return Whether the aggFunc field is set.
*/
public boolean hasAggFunc() {
return aggFuncBuilder_ != null || aggFunc_ != null;
}
/**
* .spark.spark_expression.AggExpr agg_func = 2;
* @return The aggFunc.
*/
public org.apache.comet.serde.ExprOuterClass.AggExpr getAggFunc() {
if (aggFuncBuilder_ == null) {
return aggFunc_ == null ? org.apache.comet.serde.ExprOuterClass.AggExpr.getDefaultInstance() : aggFunc_;
} else {
return aggFuncBuilder_.getMessage();
}
}
/**
* .spark.spark_expression.AggExpr agg_func = 2;
*/
public Builder setAggFunc(org.apache.comet.serde.ExprOuterClass.AggExpr value) {
if (aggFuncBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
aggFunc_ = value;
onChanged();
} else {
aggFuncBuilder_.setMessage(value);
}
return this;
}
/**
* .spark.spark_expression.AggExpr agg_func = 2;
*/
public Builder setAggFunc(
org.apache.comet.serde.ExprOuterClass.AggExpr.Builder builderForValue) {
if (aggFuncBuilder_ == null) {
aggFunc_ = builderForValue.build();
onChanged();
} else {
aggFuncBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .spark.spark_expression.AggExpr agg_func = 2;
*/
public Builder mergeAggFunc(org.apache.comet.serde.ExprOuterClass.AggExpr value) {
if (aggFuncBuilder_ == null) {
if (aggFunc_ != null) {
aggFunc_ =
org.apache.comet.serde.ExprOuterClass.AggExpr.newBuilder(aggFunc_).mergeFrom(value).buildPartial();
} else {
aggFunc_ = value;
}
onChanged();
} else {
aggFuncBuilder_.mergeFrom(value);
}
return this;
}
/**
* .spark.spark_expression.AggExpr agg_func = 2;
*/
public Builder clearAggFunc() {
if (aggFuncBuilder_ == null) {
aggFunc_ = null;
onChanged();
} else {
aggFunc_ = null;
aggFuncBuilder_ = null;
}
return this;
}
/**
* .spark.spark_expression.AggExpr agg_func = 2;
*/
public org.apache.comet.serde.ExprOuterClass.AggExpr.Builder getAggFuncBuilder() {
onChanged();
return getAggFuncFieldBuilder().getBuilder();
}
/**
* .spark.spark_expression.AggExpr agg_func = 2;
*/
public org.apache.comet.serde.ExprOuterClass.AggExprOrBuilder getAggFuncOrBuilder() {
if (aggFuncBuilder_ != null) {
return aggFuncBuilder_.getMessageOrBuilder();
} else {
return aggFunc_ == null ?
org.apache.comet.serde.ExprOuterClass.AggExpr.getDefaultInstance() : aggFunc_;
}
}
/**
* .spark.spark_expression.AggExpr agg_func = 2;
*/
private org.apache.comet.shaded.protobuf.SingleFieldBuilderV3<
org.apache.comet.serde.ExprOuterClass.AggExpr, org.apache.comet.serde.ExprOuterClass.AggExpr.Builder, org.apache.comet.serde.ExprOuterClass.AggExprOrBuilder>
getAggFuncFieldBuilder() {
if (aggFuncBuilder_ == null) {
aggFuncBuilder_ = new org.apache.comet.shaded.protobuf.SingleFieldBuilderV3<
org.apache.comet.serde.ExprOuterClass.AggExpr, org.apache.comet.serde.ExprOuterClass.AggExpr.Builder, org.apache.comet.serde.ExprOuterClass.AggExprOrBuilder>(
getAggFunc(),
getParentForChildren(),
isClean());
aggFunc_ = null;
}
return aggFuncBuilder_;
}
private org.apache.comet.serde.OperatorOuterClass.WindowSpecDefinition spec_;
private org.apache.comet.shaded.protobuf.SingleFieldBuilderV3<
org.apache.comet.serde.OperatorOuterClass.WindowSpecDefinition, org.apache.comet.serde.OperatorOuterClass.WindowSpecDefinition.Builder, org.apache.comet.serde.OperatorOuterClass.WindowSpecDefinitionOrBuilder> specBuilder_;
/**
* .spark.spark_operator.WindowSpecDefinition spec = 3;
* @return Whether the spec field is set.
*/
public boolean hasSpec() {
return specBuilder_ != null || spec_ != null;
}
/**
* .spark.spark_operator.WindowSpecDefinition spec = 3;
* @return The spec.
*/
public org.apache.comet.serde.OperatorOuterClass.WindowSpecDefinition getSpec() {
if (specBuilder_ == null) {
return spec_ == null ? org.apache.comet.serde.OperatorOuterClass.WindowSpecDefinition.getDefaultInstance() : spec_;
} else {
return specBuilder_.getMessage();
}
}
/**
* .spark.spark_operator.WindowSpecDefinition spec = 3;
*/
public Builder setSpec(org.apache.comet.serde.OperatorOuterClass.WindowSpecDefinition value) {
if (specBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
spec_ = value;
onChanged();
} else {
specBuilder_.setMessage(value);
}
return this;
}
/**
* .spark.spark_operator.WindowSpecDefinition spec = 3;
*/
public Builder setSpec(
org.apache.comet.serde.OperatorOuterClass.WindowSpecDefinition.Builder builderForValue) {
if (specBuilder_ == null) {
spec_ = builderForValue.build();
onChanged();
} else {
specBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .spark.spark_operator.WindowSpecDefinition spec = 3;
*/
public Builder mergeSpec(org.apache.comet.serde.OperatorOuterClass.WindowSpecDefinition value) {
if (specBuilder_ == null) {
if (spec_ != null) {
spec_ =
org.apache.comet.serde.OperatorOuterClass.WindowSpecDefinition.newBuilder(spec_).mergeFrom(value).buildPartial();
} else {
spec_ = value;
}
onChanged();
} else {
specBuilder_.mergeFrom(value);
}
return this;
}
/**
* .spark.spark_operator.WindowSpecDefinition spec = 3;
*/
public Builder clearSpec() {
if (specBuilder_ == null) {
spec_ = null;
onChanged();
} else {
spec_ = null;
specBuilder_ = null;
}
return this;
}
/**
* .spark.spark_operator.WindowSpecDefinition spec = 3;
*/
public org.apache.comet.serde.OperatorOuterClass.WindowSpecDefinition.Builder getSpecBuilder() {
onChanged();
return getSpecFieldBuilder().getBuilder();
}
/**
* .spark.spark_operator.WindowSpecDefinition spec = 3;
*/
public org.apache.comet.serde.OperatorOuterClass.WindowSpecDefinitionOrBuilder getSpecOrBuilder() {
if (specBuilder_ != null) {
return specBuilder_.getMessageOrBuilder();
} else {
return spec_ == null ?
org.apache.comet.serde.OperatorOuterClass.WindowSpecDefinition.getDefaultInstance() : spec_;
}
}
/**
* .spark.spark_operator.WindowSpecDefinition spec = 3;
*/
private org.apache.comet.shaded.protobuf.SingleFieldBuilderV3<
org.apache.comet.serde.OperatorOuterClass.WindowSpecDefinition, org.apache.comet.serde.OperatorOuterClass.WindowSpecDefinition.Builder, org.apache.comet.serde.OperatorOuterClass.WindowSpecDefinitionOrBuilder>
getSpecFieldBuilder() {
if (specBuilder_ == null) {
specBuilder_ = new org.apache.comet.shaded.protobuf.SingleFieldBuilderV3<
org.apache.comet.serde.OperatorOuterClass.WindowSpecDefinition, org.apache.comet.serde.OperatorOuterClass.WindowSpecDefinition.Builder, org.apache.comet.serde.OperatorOuterClass.WindowSpecDefinitionOrBuilder>(
getSpec(),
getParentForChildren(),
isClean());
spec_ = null;
}
return specBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final org.apache.comet.shaded.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final org.apache.comet.shaded.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:spark.spark_operator.WindowExpr)
}
// @@protoc_insertion_point(class_scope:spark.spark_operator.WindowExpr)
private static final org.apache.comet.serde.OperatorOuterClass.WindowExpr DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.comet.serde.OperatorOuterClass.WindowExpr();
}
public static org.apache.comet.serde.OperatorOuterClass.WindowExpr getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final org.apache.comet.shaded.protobuf.Parser
PARSER = new org.apache.comet.shaded.protobuf.AbstractParser() {
@java.lang.Override
public WindowExpr parsePartialFrom(
org.apache.comet.shaded.protobuf.CodedInputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (org.apache.comet.shaded.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (org.apache.comet.shaded.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new org.apache.comet.shaded.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static org.apache.comet.shaded.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public org.apache.comet.shaded.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.WindowExpr getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface WindowFrameOrBuilder extends
// @@protoc_insertion_point(interface_extends:spark.spark_operator.WindowFrame)
org.apache.comet.shaded.protobuf.MessageOrBuilder {
/**
* .spark.spark_operator.WindowFrameType frame_type = 1;
* @return The enum numeric value on the wire for frameType.
*/
int getFrameTypeValue();
/**
* .spark.spark_operator.WindowFrameType frame_type = 1;
* @return The frameType.
*/
org.apache.comet.serde.OperatorOuterClass.WindowFrameType getFrameType();
/**
* .spark.spark_operator.LowerWindowFrameBound lower_bound = 2;
* @return Whether the lowerBound field is set.
*/
boolean hasLowerBound();
/**
* .spark.spark_operator.LowerWindowFrameBound lower_bound = 2;
* @return The lowerBound.
*/
org.apache.comet.serde.OperatorOuterClass.LowerWindowFrameBound getLowerBound();
/**
* .spark.spark_operator.LowerWindowFrameBound lower_bound = 2;
*/
org.apache.comet.serde.OperatorOuterClass.LowerWindowFrameBoundOrBuilder getLowerBoundOrBuilder();
/**
* .spark.spark_operator.UpperWindowFrameBound upper_bound = 3;
* @return Whether the upperBound field is set.
*/
boolean hasUpperBound();
/**
* .spark.spark_operator.UpperWindowFrameBound upper_bound = 3;
* @return The upperBound.
*/
org.apache.comet.serde.OperatorOuterClass.UpperWindowFrameBound getUpperBound();
/**
* .spark.spark_operator.UpperWindowFrameBound upper_bound = 3;
*/
org.apache.comet.serde.OperatorOuterClass.UpperWindowFrameBoundOrBuilder getUpperBoundOrBuilder();
}
/**
* Protobuf type {@code spark.spark_operator.WindowFrame}
*/
public static final class WindowFrame extends
org.apache.comet.shaded.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:spark.spark_operator.WindowFrame)
WindowFrameOrBuilder {
private static final long serialVersionUID = 0L;
// Use WindowFrame.newBuilder() to construct.
private WindowFrame(org.apache.comet.shaded.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private WindowFrame() {
frameType_ = 0;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new WindowFrame();
}
@java.lang.Override
public final org.apache.comet.shaded.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final org.apache.comet.shaded.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_WindowFrame_descriptor;
}
@java.lang.Override
protected org.apache.comet.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_WindowFrame_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.comet.serde.OperatorOuterClass.WindowFrame.class, org.apache.comet.serde.OperatorOuterClass.WindowFrame.Builder.class);
}
public static final int FRAME_TYPE_FIELD_NUMBER = 1;
private int frameType_;
/**
* .spark.spark_operator.WindowFrameType frame_type = 1;
* @return The enum numeric value on the wire for frameType.
*/
@java.lang.Override public int getFrameTypeValue() {
return frameType_;
}
/**
* .spark.spark_operator.WindowFrameType frame_type = 1;
* @return The frameType.
*/
@java.lang.Override public org.apache.comet.serde.OperatorOuterClass.WindowFrameType getFrameType() {
@SuppressWarnings("deprecation")
org.apache.comet.serde.OperatorOuterClass.WindowFrameType result = org.apache.comet.serde.OperatorOuterClass.WindowFrameType.valueOf(frameType_);
return result == null ? org.apache.comet.serde.OperatorOuterClass.WindowFrameType.UNRECOGNIZED : result;
}
public static final int LOWER_BOUND_FIELD_NUMBER = 2;
private org.apache.comet.serde.OperatorOuterClass.LowerWindowFrameBound lowerBound_;
/**
* .spark.spark_operator.LowerWindowFrameBound lower_bound = 2;
* @return Whether the lowerBound field is set.
*/
@java.lang.Override
public boolean hasLowerBound() {
return lowerBound_ != null;
}
/**
* .spark.spark_operator.LowerWindowFrameBound lower_bound = 2;
* @return The lowerBound.
*/
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.LowerWindowFrameBound getLowerBound() {
return lowerBound_ == null ? org.apache.comet.serde.OperatorOuterClass.LowerWindowFrameBound.getDefaultInstance() : lowerBound_;
}
/**
* .spark.spark_operator.LowerWindowFrameBound lower_bound = 2;
*/
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.LowerWindowFrameBoundOrBuilder getLowerBoundOrBuilder() {
return getLowerBound();
}
public static final int UPPER_BOUND_FIELD_NUMBER = 3;
private org.apache.comet.serde.OperatorOuterClass.UpperWindowFrameBound upperBound_;
/**
* .spark.spark_operator.UpperWindowFrameBound upper_bound = 3;
* @return Whether the upperBound field is set.
*/
@java.lang.Override
public boolean hasUpperBound() {
return upperBound_ != null;
}
/**
* .spark.spark_operator.UpperWindowFrameBound upper_bound = 3;
* @return The upperBound.
*/
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.UpperWindowFrameBound getUpperBound() {
return upperBound_ == null ? org.apache.comet.serde.OperatorOuterClass.UpperWindowFrameBound.getDefaultInstance() : upperBound_;
}
/**
* .spark.spark_operator.UpperWindowFrameBound upper_bound = 3;
*/
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.UpperWindowFrameBoundOrBuilder getUpperBoundOrBuilder() {
return getUpperBound();
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(org.apache.comet.shaded.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (frameType_ != org.apache.comet.serde.OperatorOuterClass.WindowFrameType.Rows.getNumber()) {
output.writeEnum(1, frameType_);
}
if (lowerBound_ != null) {
output.writeMessage(2, getLowerBound());
}
if (upperBound_ != null) {
output.writeMessage(3, getUpperBound());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (frameType_ != org.apache.comet.serde.OperatorOuterClass.WindowFrameType.Rows.getNumber()) {
size += org.apache.comet.shaded.protobuf.CodedOutputStream
.computeEnumSize(1, frameType_);
}
if (lowerBound_ != null) {
size += org.apache.comet.shaded.protobuf.CodedOutputStream
.computeMessageSize(2, getLowerBound());
}
if (upperBound_ != null) {
size += org.apache.comet.shaded.protobuf.CodedOutputStream
.computeMessageSize(3, getUpperBound());
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.comet.serde.OperatorOuterClass.WindowFrame)) {
return super.equals(obj);
}
org.apache.comet.serde.OperatorOuterClass.WindowFrame other = (org.apache.comet.serde.OperatorOuterClass.WindowFrame) obj;
if (frameType_ != other.frameType_) return false;
if (hasLowerBound() != other.hasLowerBound()) return false;
if (hasLowerBound()) {
if (!getLowerBound()
.equals(other.getLowerBound())) return false;
}
if (hasUpperBound() != other.hasUpperBound()) return false;
if (hasUpperBound()) {
if (!getUpperBound()
.equals(other.getUpperBound())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + FRAME_TYPE_FIELD_NUMBER;
hash = (53 * hash) + frameType_;
if (hasLowerBound()) {
hash = (37 * hash) + LOWER_BOUND_FIELD_NUMBER;
hash = (53 * hash) + getLowerBound().hashCode();
}
if (hasUpperBound()) {
hash = (37 * hash) + UPPER_BOUND_FIELD_NUMBER;
hash = (53 * hash) + getUpperBound().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.comet.serde.OperatorOuterClass.WindowFrame parseFrom(
java.nio.ByteBuffer data)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.comet.serde.OperatorOuterClass.WindowFrame parseFrom(
java.nio.ByteBuffer data,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.WindowFrame parseFrom(
org.apache.comet.shaded.protobuf.ByteString data)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.comet.serde.OperatorOuterClass.WindowFrame parseFrom(
org.apache.comet.shaded.protobuf.ByteString data,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.WindowFrame parseFrom(byte[] data)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.comet.serde.OperatorOuterClass.WindowFrame parseFrom(
byte[] data,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.WindowFrame parseFrom(java.io.InputStream input)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.comet.serde.OperatorOuterClass.WindowFrame parseFrom(
java.io.InputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.WindowFrame parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.comet.serde.OperatorOuterClass.WindowFrame parseDelimitedFrom(
java.io.InputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.WindowFrame parseFrom(
org.apache.comet.shaded.protobuf.CodedInputStream input)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.comet.serde.OperatorOuterClass.WindowFrame parseFrom(
org.apache.comet.shaded.protobuf.CodedInputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.comet.serde.OperatorOuterClass.WindowFrame prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
org.apache.comet.shaded.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code spark.spark_operator.WindowFrame}
*/
public static final class Builder extends
org.apache.comet.shaded.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:spark.spark_operator.WindowFrame)
org.apache.comet.serde.OperatorOuterClass.WindowFrameOrBuilder {
public static final org.apache.comet.shaded.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_WindowFrame_descriptor;
}
@java.lang.Override
protected org.apache.comet.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_WindowFrame_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.comet.serde.OperatorOuterClass.WindowFrame.class, org.apache.comet.serde.OperatorOuterClass.WindowFrame.Builder.class);
}
// Construct using org.apache.comet.serde.OperatorOuterClass.WindowFrame.newBuilder()
private Builder() {
}
private Builder(
org.apache.comet.shaded.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
frameType_ = 0;
if (lowerBoundBuilder_ == null) {
lowerBound_ = null;
} else {
lowerBound_ = null;
lowerBoundBuilder_ = null;
}
if (upperBoundBuilder_ == null) {
upperBound_ = null;
} else {
upperBound_ = null;
upperBoundBuilder_ = null;
}
return this;
}
@java.lang.Override
public org.apache.comet.shaded.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_WindowFrame_descriptor;
}
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.WindowFrame getDefaultInstanceForType() {
return org.apache.comet.serde.OperatorOuterClass.WindowFrame.getDefaultInstance();
}
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.WindowFrame build() {
org.apache.comet.serde.OperatorOuterClass.WindowFrame result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.WindowFrame buildPartial() {
org.apache.comet.serde.OperatorOuterClass.WindowFrame result = new org.apache.comet.serde.OperatorOuterClass.WindowFrame(this);
result.frameType_ = frameType_;
if (lowerBoundBuilder_ == null) {
result.lowerBound_ = lowerBound_;
} else {
result.lowerBound_ = lowerBoundBuilder_.build();
}
if (upperBoundBuilder_ == null) {
result.upperBound_ = upperBound_;
} else {
result.upperBound_ = upperBoundBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
org.apache.comet.shaded.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
org.apache.comet.shaded.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
org.apache.comet.shaded.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
org.apache.comet.shaded.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
org.apache.comet.shaded.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(org.apache.comet.shaded.protobuf.Message other) {
if (other instanceof org.apache.comet.serde.OperatorOuterClass.WindowFrame) {
return mergeFrom((org.apache.comet.serde.OperatorOuterClass.WindowFrame)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.comet.serde.OperatorOuterClass.WindowFrame other) {
if (other == org.apache.comet.serde.OperatorOuterClass.WindowFrame.getDefaultInstance()) return this;
if (other.frameType_ != 0) {
setFrameTypeValue(other.getFrameTypeValue());
}
if (other.hasLowerBound()) {
mergeLowerBound(other.getLowerBound());
}
if (other.hasUpperBound()) {
mergeUpperBound(other.getUpperBound());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
org.apache.comet.shaded.protobuf.CodedInputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
frameType_ = input.readEnum();
break;
} // case 8
case 18: {
input.readMessage(
getLowerBoundFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 18
case 26: {
input.readMessage(
getUpperBoundFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 26
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (org.apache.comet.shaded.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int frameType_ = 0;
/**
* .spark.spark_operator.WindowFrameType frame_type = 1;
* @return The enum numeric value on the wire for frameType.
*/
@java.lang.Override public int getFrameTypeValue() {
return frameType_;
}
/**
* .spark.spark_operator.WindowFrameType frame_type = 1;
* @param value The enum numeric value on the wire for frameType to set.
* @return This builder for chaining.
*/
public Builder setFrameTypeValue(int value) {
frameType_ = value;
onChanged();
return this;
}
/**
* .spark.spark_operator.WindowFrameType frame_type = 1;
* @return The frameType.
*/
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.WindowFrameType getFrameType() {
@SuppressWarnings("deprecation")
org.apache.comet.serde.OperatorOuterClass.WindowFrameType result = org.apache.comet.serde.OperatorOuterClass.WindowFrameType.valueOf(frameType_);
return result == null ? org.apache.comet.serde.OperatorOuterClass.WindowFrameType.UNRECOGNIZED : result;
}
/**
* .spark.spark_operator.WindowFrameType frame_type = 1;
* @param value The frameType to set.
* @return This builder for chaining.
*/
public Builder setFrameType(org.apache.comet.serde.OperatorOuterClass.WindowFrameType value) {
if (value == null) {
throw new NullPointerException();
}
frameType_ = value.getNumber();
onChanged();
return this;
}
/**
* .spark.spark_operator.WindowFrameType frame_type = 1;
* @return This builder for chaining.
*/
public Builder clearFrameType() {
frameType_ = 0;
onChanged();
return this;
}
private org.apache.comet.serde.OperatorOuterClass.LowerWindowFrameBound lowerBound_;
private org.apache.comet.shaded.protobuf.SingleFieldBuilderV3<
org.apache.comet.serde.OperatorOuterClass.LowerWindowFrameBound, org.apache.comet.serde.OperatorOuterClass.LowerWindowFrameBound.Builder, org.apache.comet.serde.OperatorOuterClass.LowerWindowFrameBoundOrBuilder> lowerBoundBuilder_;
/**
* .spark.spark_operator.LowerWindowFrameBound lower_bound = 2;
* @return Whether the lowerBound field is set.
*/
public boolean hasLowerBound() {
return lowerBoundBuilder_ != null || lowerBound_ != null;
}
/**
* .spark.spark_operator.LowerWindowFrameBound lower_bound = 2;
* @return The lowerBound.
*/
public org.apache.comet.serde.OperatorOuterClass.LowerWindowFrameBound getLowerBound() {
if (lowerBoundBuilder_ == null) {
return lowerBound_ == null ? org.apache.comet.serde.OperatorOuterClass.LowerWindowFrameBound.getDefaultInstance() : lowerBound_;
} else {
return lowerBoundBuilder_.getMessage();
}
}
/**
* .spark.spark_operator.LowerWindowFrameBound lower_bound = 2;
*/
public Builder setLowerBound(org.apache.comet.serde.OperatorOuterClass.LowerWindowFrameBound value) {
if (lowerBoundBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
lowerBound_ = value;
onChanged();
} else {
lowerBoundBuilder_.setMessage(value);
}
return this;
}
/**
* .spark.spark_operator.LowerWindowFrameBound lower_bound = 2;
*/
public Builder setLowerBound(
org.apache.comet.serde.OperatorOuterClass.LowerWindowFrameBound.Builder builderForValue) {
if (lowerBoundBuilder_ == null) {
lowerBound_ = builderForValue.build();
onChanged();
} else {
lowerBoundBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .spark.spark_operator.LowerWindowFrameBound lower_bound = 2;
*/
public Builder mergeLowerBound(org.apache.comet.serde.OperatorOuterClass.LowerWindowFrameBound value) {
if (lowerBoundBuilder_ == null) {
if (lowerBound_ != null) {
lowerBound_ =
org.apache.comet.serde.OperatorOuterClass.LowerWindowFrameBound.newBuilder(lowerBound_).mergeFrom(value).buildPartial();
} else {
lowerBound_ = value;
}
onChanged();
} else {
lowerBoundBuilder_.mergeFrom(value);
}
return this;
}
/**
* .spark.spark_operator.LowerWindowFrameBound lower_bound = 2;
*/
public Builder clearLowerBound() {
if (lowerBoundBuilder_ == null) {
lowerBound_ = null;
onChanged();
} else {
lowerBound_ = null;
lowerBoundBuilder_ = null;
}
return this;
}
/**
* .spark.spark_operator.LowerWindowFrameBound lower_bound = 2;
*/
public org.apache.comet.serde.OperatorOuterClass.LowerWindowFrameBound.Builder getLowerBoundBuilder() {
onChanged();
return getLowerBoundFieldBuilder().getBuilder();
}
/**
* .spark.spark_operator.LowerWindowFrameBound lower_bound = 2;
*/
public org.apache.comet.serde.OperatorOuterClass.LowerWindowFrameBoundOrBuilder getLowerBoundOrBuilder() {
if (lowerBoundBuilder_ != null) {
return lowerBoundBuilder_.getMessageOrBuilder();
} else {
return lowerBound_ == null ?
org.apache.comet.serde.OperatorOuterClass.LowerWindowFrameBound.getDefaultInstance() : lowerBound_;
}
}
/**
* .spark.spark_operator.LowerWindowFrameBound lower_bound = 2;
*/
private org.apache.comet.shaded.protobuf.SingleFieldBuilderV3<
org.apache.comet.serde.OperatorOuterClass.LowerWindowFrameBound, org.apache.comet.serde.OperatorOuterClass.LowerWindowFrameBound.Builder, org.apache.comet.serde.OperatorOuterClass.LowerWindowFrameBoundOrBuilder>
getLowerBoundFieldBuilder() {
if (lowerBoundBuilder_ == null) {
lowerBoundBuilder_ = new org.apache.comet.shaded.protobuf.SingleFieldBuilderV3<
org.apache.comet.serde.OperatorOuterClass.LowerWindowFrameBound, org.apache.comet.serde.OperatorOuterClass.LowerWindowFrameBound.Builder, org.apache.comet.serde.OperatorOuterClass.LowerWindowFrameBoundOrBuilder>(
getLowerBound(),
getParentForChildren(),
isClean());
lowerBound_ = null;
}
return lowerBoundBuilder_;
}
private org.apache.comet.serde.OperatorOuterClass.UpperWindowFrameBound upperBound_;
private org.apache.comet.shaded.protobuf.SingleFieldBuilderV3<
org.apache.comet.serde.OperatorOuterClass.UpperWindowFrameBound, org.apache.comet.serde.OperatorOuterClass.UpperWindowFrameBound.Builder, org.apache.comet.serde.OperatorOuterClass.UpperWindowFrameBoundOrBuilder> upperBoundBuilder_;
/**
* .spark.spark_operator.UpperWindowFrameBound upper_bound = 3;
* @return Whether the upperBound field is set.
*/
public boolean hasUpperBound() {
return upperBoundBuilder_ != null || upperBound_ != null;
}
/**
* .spark.spark_operator.UpperWindowFrameBound upper_bound = 3;
* @return The upperBound.
*/
public org.apache.comet.serde.OperatorOuterClass.UpperWindowFrameBound getUpperBound() {
if (upperBoundBuilder_ == null) {
return upperBound_ == null ? org.apache.comet.serde.OperatorOuterClass.UpperWindowFrameBound.getDefaultInstance() : upperBound_;
} else {
return upperBoundBuilder_.getMessage();
}
}
/**
* .spark.spark_operator.UpperWindowFrameBound upper_bound = 3;
*/
public Builder setUpperBound(org.apache.comet.serde.OperatorOuterClass.UpperWindowFrameBound value) {
if (upperBoundBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
upperBound_ = value;
onChanged();
} else {
upperBoundBuilder_.setMessage(value);
}
return this;
}
/**
* .spark.spark_operator.UpperWindowFrameBound upper_bound = 3;
*/
public Builder setUpperBound(
org.apache.comet.serde.OperatorOuterClass.UpperWindowFrameBound.Builder builderForValue) {
if (upperBoundBuilder_ == null) {
upperBound_ = builderForValue.build();
onChanged();
} else {
upperBoundBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .spark.spark_operator.UpperWindowFrameBound upper_bound = 3;
*/
public Builder mergeUpperBound(org.apache.comet.serde.OperatorOuterClass.UpperWindowFrameBound value) {
if (upperBoundBuilder_ == null) {
if (upperBound_ != null) {
upperBound_ =
org.apache.comet.serde.OperatorOuterClass.UpperWindowFrameBound.newBuilder(upperBound_).mergeFrom(value).buildPartial();
} else {
upperBound_ = value;
}
onChanged();
} else {
upperBoundBuilder_.mergeFrom(value);
}
return this;
}
/**
* .spark.spark_operator.UpperWindowFrameBound upper_bound = 3;
*/
public Builder clearUpperBound() {
if (upperBoundBuilder_ == null) {
upperBound_ = null;
onChanged();
} else {
upperBound_ = null;
upperBoundBuilder_ = null;
}
return this;
}
/**
* .spark.spark_operator.UpperWindowFrameBound upper_bound = 3;
*/
public org.apache.comet.serde.OperatorOuterClass.UpperWindowFrameBound.Builder getUpperBoundBuilder() {
onChanged();
return getUpperBoundFieldBuilder().getBuilder();
}
/**
* .spark.spark_operator.UpperWindowFrameBound upper_bound = 3;
*/
public org.apache.comet.serde.OperatorOuterClass.UpperWindowFrameBoundOrBuilder getUpperBoundOrBuilder() {
if (upperBoundBuilder_ != null) {
return upperBoundBuilder_.getMessageOrBuilder();
} else {
return upperBound_ == null ?
org.apache.comet.serde.OperatorOuterClass.UpperWindowFrameBound.getDefaultInstance() : upperBound_;
}
}
/**
* .spark.spark_operator.UpperWindowFrameBound upper_bound = 3;
*/
private org.apache.comet.shaded.protobuf.SingleFieldBuilderV3<
org.apache.comet.serde.OperatorOuterClass.UpperWindowFrameBound, org.apache.comet.serde.OperatorOuterClass.UpperWindowFrameBound.Builder, org.apache.comet.serde.OperatorOuterClass.UpperWindowFrameBoundOrBuilder>
getUpperBoundFieldBuilder() {
if (upperBoundBuilder_ == null) {
upperBoundBuilder_ = new org.apache.comet.shaded.protobuf.SingleFieldBuilderV3<
org.apache.comet.serde.OperatorOuterClass.UpperWindowFrameBound, org.apache.comet.serde.OperatorOuterClass.UpperWindowFrameBound.Builder, org.apache.comet.serde.OperatorOuterClass.UpperWindowFrameBoundOrBuilder>(
getUpperBound(),
getParentForChildren(),
isClean());
upperBound_ = null;
}
return upperBoundBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final org.apache.comet.shaded.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final org.apache.comet.shaded.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:spark.spark_operator.WindowFrame)
}
// @@protoc_insertion_point(class_scope:spark.spark_operator.WindowFrame)
private static final org.apache.comet.serde.OperatorOuterClass.WindowFrame DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.comet.serde.OperatorOuterClass.WindowFrame();
}
public static org.apache.comet.serde.OperatorOuterClass.WindowFrame getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final org.apache.comet.shaded.protobuf.Parser
PARSER = new org.apache.comet.shaded.protobuf.AbstractParser() {
@java.lang.Override
public WindowFrame parsePartialFrom(
org.apache.comet.shaded.protobuf.CodedInputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (org.apache.comet.shaded.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (org.apache.comet.shaded.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new org.apache.comet.shaded.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static org.apache.comet.shaded.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public org.apache.comet.shaded.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.WindowFrame getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface LowerWindowFrameBoundOrBuilder extends
// @@protoc_insertion_point(interface_extends:spark.spark_operator.LowerWindowFrameBound)
org.apache.comet.shaded.protobuf.MessageOrBuilder {
/**
* .spark.spark_operator.UnboundedPreceding unboundedPreceding = 1;
* @return Whether the unboundedPreceding field is set.
*/
boolean hasUnboundedPreceding();
/**
* .spark.spark_operator.UnboundedPreceding unboundedPreceding = 1;
* @return The unboundedPreceding.
*/
org.apache.comet.serde.OperatorOuterClass.UnboundedPreceding getUnboundedPreceding();
/**
* .spark.spark_operator.UnboundedPreceding unboundedPreceding = 1;
*/
org.apache.comet.serde.OperatorOuterClass.UnboundedPrecedingOrBuilder getUnboundedPrecedingOrBuilder();
/**
* .spark.spark_operator.Preceding preceding = 2;
* @return Whether the preceding field is set.
*/
boolean hasPreceding();
/**
* .spark.spark_operator.Preceding preceding = 2;
* @return The preceding.
*/
org.apache.comet.serde.OperatorOuterClass.Preceding getPreceding();
/**
* .spark.spark_operator.Preceding preceding = 2;
*/
org.apache.comet.serde.OperatorOuterClass.PrecedingOrBuilder getPrecedingOrBuilder();
/**
* .spark.spark_operator.CurrentRow currentRow = 3;
* @return Whether the currentRow field is set.
*/
boolean hasCurrentRow();
/**
* .spark.spark_operator.CurrentRow currentRow = 3;
* @return The currentRow.
*/
org.apache.comet.serde.OperatorOuterClass.CurrentRow getCurrentRow();
/**
* .spark.spark_operator.CurrentRow currentRow = 3;
*/
org.apache.comet.serde.OperatorOuterClass.CurrentRowOrBuilder getCurrentRowOrBuilder();
public org.apache.comet.serde.OperatorOuterClass.LowerWindowFrameBound.LowerFrameBoundStructCase getLowerFrameBoundStructCase();
}
/**
* Protobuf type {@code spark.spark_operator.LowerWindowFrameBound}
*/
public static final class LowerWindowFrameBound extends
org.apache.comet.shaded.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:spark.spark_operator.LowerWindowFrameBound)
LowerWindowFrameBoundOrBuilder {
private static final long serialVersionUID = 0L;
// Use LowerWindowFrameBound.newBuilder() to construct.
private LowerWindowFrameBound(org.apache.comet.shaded.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private LowerWindowFrameBound() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new LowerWindowFrameBound();
}
@java.lang.Override
public final org.apache.comet.shaded.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final org.apache.comet.shaded.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_LowerWindowFrameBound_descriptor;
}
@java.lang.Override
protected org.apache.comet.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_LowerWindowFrameBound_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.comet.serde.OperatorOuterClass.LowerWindowFrameBound.class, org.apache.comet.serde.OperatorOuterClass.LowerWindowFrameBound.Builder.class);
}
private int lowerFrameBoundStructCase_ = 0;
private java.lang.Object lowerFrameBoundStruct_;
public enum LowerFrameBoundStructCase
implements org.apache.comet.shaded.protobuf.Internal.EnumLite,
org.apache.comet.shaded.protobuf.AbstractMessage.InternalOneOfEnum {
UNBOUNDEDPRECEDING(1),
PRECEDING(2),
CURRENTROW(3),
LOWERFRAMEBOUNDSTRUCT_NOT_SET(0);
private final int value;
private LowerFrameBoundStructCase(int value) {
this.value = value;
}
/**
* @param value The number of the enum to look for.
* @return The enum associated with the given number.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static LowerFrameBoundStructCase valueOf(int value) {
return forNumber(value);
}
public static LowerFrameBoundStructCase forNumber(int value) {
switch (value) {
case 1: return UNBOUNDEDPRECEDING;
case 2: return PRECEDING;
case 3: return CURRENTROW;
case 0: return LOWERFRAMEBOUNDSTRUCT_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
public LowerFrameBoundStructCase
getLowerFrameBoundStructCase() {
return LowerFrameBoundStructCase.forNumber(
lowerFrameBoundStructCase_);
}
public static final int UNBOUNDEDPRECEDING_FIELD_NUMBER = 1;
/**
* .spark.spark_operator.UnboundedPreceding unboundedPreceding = 1;
* @return Whether the unboundedPreceding field is set.
*/
@java.lang.Override
public boolean hasUnboundedPreceding() {
return lowerFrameBoundStructCase_ == 1;
}
/**
* .spark.spark_operator.UnboundedPreceding unboundedPreceding = 1;
* @return The unboundedPreceding.
*/
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.UnboundedPreceding getUnboundedPreceding() {
if (lowerFrameBoundStructCase_ == 1) {
return (org.apache.comet.serde.OperatorOuterClass.UnboundedPreceding) lowerFrameBoundStruct_;
}
return org.apache.comet.serde.OperatorOuterClass.UnboundedPreceding.getDefaultInstance();
}
/**
* .spark.spark_operator.UnboundedPreceding unboundedPreceding = 1;
*/
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.UnboundedPrecedingOrBuilder getUnboundedPrecedingOrBuilder() {
if (lowerFrameBoundStructCase_ == 1) {
return (org.apache.comet.serde.OperatorOuterClass.UnboundedPreceding) lowerFrameBoundStruct_;
}
return org.apache.comet.serde.OperatorOuterClass.UnboundedPreceding.getDefaultInstance();
}
public static final int PRECEDING_FIELD_NUMBER = 2;
/**
* .spark.spark_operator.Preceding preceding = 2;
* @return Whether the preceding field is set.
*/
@java.lang.Override
public boolean hasPreceding() {
return lowerFrameBoundStructCase_ == 2;
}
/**
* .spark.spark_operator.Preceding preceding = 2;
* @return The preceding.
*/
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.Preceding getPreceding() {
if (lowerFrameBoundStructCase_ == 2) {
return (org.apache.comet.serde.OperatorOuterClass.Preceding) lowerFrameBoundStruct_;
}
return org.apache.comet.serde.OperatorOuterClass.Preceding.getDefaultInstance();
}
/**
* .spark.spark_operator.Preceding preceding = 2;
*/
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.PrecedingOrBuilder getPrecedingOrBuilder() {
if (lowerFrameBoundStructCase_ == 2) {
return (org.apache.comet.serde.OperatorOuterClass.Preceding) lowerFrameBoundStruct_;
}
return org.apache.comet.serde.OperatorOuterClass.Preceding.getDefaultInstance();
}
public static final int CURRENTROW_FIELD_NUMBER = 3;
/**
* .spark.spark_operator.CurrentRow currentRow = 3;
* @return Whether the currentRow field is set.
*/
@java.lang.Override
public boolean hasCurrentRow() {
return lowerFrameBoundStructCase_ == 3;
}
/**
* .spark.spark_operator.CurrentRow currentRow = 3;
* @return The currentRow.
*/
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.CurrentRow getCurrentRow() {
if (lowerFrameBoundStructCase_ == 3) {
return (org.apache.comet.serde.OperatorOuterClass.CurrentRow) lowerFrameBoundStruct_;
}
return org.apache.comet.serde.OperatorOuterClass.CurrentRow.getDefaultInstance();
}
/**
* .spark.spark_operator.CurrentRow currentRow = 3;
*/
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.CurrentRowOrBuilder getCurrentRowOrBuilder() {
if (lowerFrameBoundStructCase_ == 3) {
return (org.apache.comet.serde.OperatorOuterClass.CurrentRow) lowerFrameBoundStruct_;
}
return org.apache.comet.serde.OperatorOuterClass.CurrentRow.getDefaultInstance();
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(org.apache.comet.shaded.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (lowerFrameBoundStructCase_ == 1) {
output.writeMessage(1, (org.apache.comet.serde.OperatorOuterClass.UnboundedPreceding) lowerFrameBoundStruct_);
}
if (lowerFrameBoundStructCase_ == 2) {
output.writeMessage(2, (org.apache.comet.serde.OperatorOuterClass.Preceding) lowerFrameBoundStruct_);
}
if (lowerFrameBoundStructCase_ == 3) {
output.writeMessage(3, (org.apache.comet.serde.OperatorOuterClass.CurrentRow) lowerFrameBoundStruct_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (lowerFrameBoundStructCase_ == 1) {
size += org.apache.comet.shaded.protobuf.CodedOutputStream
.computeMessageSize(1, (org.apache.comet.serde.OperatorOuterClass.UnboundedPreceding) lowerFrameBoundStruct_);
}
if (lowerFrameBoundStructCase_ == 2) {
size += org.apache.comet.shaded.protobuf.CodedOutputStream
.computeMessageSize(2, (org.apache.comet.serde.OperatorOuterClass.Preceding) lowerFrameBoundStruct_);
}
if (lowerFrameBoundStructCase_ == 3) {
size += org.apache.comet.shaded.protobuf.CodedOutputStream
.computeMessageSize(3, (org.apache.comet.serde.OperatorOuterClass.CurrentRow) lowerFrameBoundStruct_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.comet.serde.OperatorOuterClass.LowerWindowFrameBound)) {
return super.equals(obj);
}
org.apache.comet.serde.OperatorOuterClass.LowerWindowFrameBound other = (org.apache.comet.serde.OperatorOuterClass.LowerWindowFrameBound) obj;
if (!getLowerFrameBoundStructCase().equals(other.getLowerFrameBoundStructCase())) return false;
switch (lowerFrameBoundStructCase_) {
case 1:
if (!getUnboundedPreceding()
.equals(other.getUnboundedPreceding())) return false;
break;
case 2:
if (!getPreceding()
.equals(other.getPreceding())) return false;
break;
case 3:
if (!getCurrentRow()
.equals(other.getCurrentRow())) return false;
break;
case 0:
default:
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
switch (lowerFrameBoundStructCase_) {
case 1:
hash = (37 * hash) + UNBOUNDEDPRECEDING_FIELD_NUMBER;
hash = (53 * hash) + getUnboundedPreceding().hashCode();
break;
case 2:
hash = (37 * hash) + PRECEDING_FIELD_NUMBER;
hash = (53 * hash) + getPreceding().hashCode();
break;
case 3:
hash = (37 * hash) + CURRENTROW_FIELD_NUMBER;
hash = (53 * hash) + getCurrentRow().hashCode();
break;
case 0:
default:
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.comet.serde.OperatorOuterClass.LowerWindowFrameBound parseFrom(
java.nio.ByteBuffer data)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.comet.serde.OperatorOuterClass.LowerWindowFrameBound parseFrom(
java.nio.ByteBuffer data,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.LowerWindowFrameBound parseFrom(
org.apache.comet.shaded.protobuf.ByteString data)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.comet.serde.OperatorOuterClass.LowerWindowFrameBound parseFrom(
org.apache.comet.shaded.protobuf.ByteString data,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.LowerWindowFrameBound parseFrom(byte[] data)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.comet.serde.OperatorOuterClass.LowerWindowFrameBound parseFrom(
byte[] data,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.LowerWindowFrameBound parseFrom(java.io.InputStream input)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.comet.serde.OperatorOuterClass.LowerWindowFrameBound parseFrom(
java.io.InputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.LowerWindowFrameBound parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.comet.serde.OperatorOuterClass.LowerWindowFrameBound parseDelimitedFrom(
java.io.InputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.LowerWindowFrameBound parseFrom(
org.apache.comet.shaded.protobuf.CodedInputStream input)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.comet.serde.OperatorOuterClass.LowerWindowFrameBound parseFrom(
org.apache.comet.shaded.protobuf.CodedInputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.comet.serde.OperatorOuterClass.LowerWindowFrameBound prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
org.apache.comet.shaded.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code spark.spark_operator.LowerWindowFrameBound}
*/
public static final class Builder extends
org.apache.comet.shaded.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:spark.spark_operator.LowerWindowFrameBound)
org.apache.comet.serde.OperatorOuterClass.LowerWindowFrameBoundOrBuilder {
public static final org.apache.comet.shaded.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_LowerWindowFrameBound_descriptor;
}
@java.lang.Override
protected org.apache.comet.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_LowerWindowFrameBound_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.comet.serde.OperatorOuterClass.LowerWindowFrameBound.class, org.apache.comet.serde.OperatorOuterClass.LowerWindowFrameBound.Builder.class);
}
// Construct using org.apache.comet.serde.OperatorOuterClass.LowerWindowFrameBound.newBuilder()
private Builder() {
}
private Builder(
org.apache.comet.shaded.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
if (unboundedPrecedingBuilder_ != null) {
unboundedPrecedingBuilder_.clear();
}
if (precedingBuilder_ != null) {
precedingBuilder_.clear();
}
if (currentRowBuilder_ != null) {
currentRowBuilder_.clear();
}
lowerFrameBoundStructCase_ = 0;
lowerFrameBoundStruct_ = null;
return this;
}
@java.lang.Override
public org.apache.comet.shaded.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_LowerWindowFrameBound_descriptor;
}
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.LowerWindowFrameBound getDefaultInstanceForType() {
return org.apache.comet.serde.OperatorOuterClass.LowerWindowFrameBound.getDefaultInstance();
}
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.LowerWindowFrameBound build() {
org.apache.comet.serde.OperatorOuterClass.LowerWindowFrameBound result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.LowerWindowFrameBound buildPartial() {
org.apache.comet.serde.OperatorOuterClass.LowerWindowFrameBound result = new org.apache.comet.serde.OperatorOuterClass.LowerWindowFrameBound(this);
if (lowerFrameBoundStructCase_ == 1) {
if (unboundedPrecedingBuilder_ == null) {
result.lowerFrameBoundStruct_ = lowerFrameBoundStruct_;
} else {
result.lowerFrameBoundStruct_ = unboundedPrecedingBuilder_.build();
}
}
if (lowerFrameBoundStructCase_ == 2) {
if (precedingBuilder_ == null) {
result.lowerFrameBoundStruct_ = lowerFrameBoundStruct_;
} else {
result.lowerFrameBoundStruct_ = precedingBuilder_.build();
}
}
if (lowerFrameBoundStructCase_ == 3) {
if (currentRowBuilder_ == null) {
result.lowerFrameBoundStruct_ = lowerFrameBoundStruct_;
} else {
result.lowerFrameBoundStruct_ = currentRowBuilder_.build();
}
}
result.lowerFrameBoundStructCase_ = lowerFrameBoundStructCase_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
org.apache.comet.shaded.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
org.apache.comet.shaded.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
org.apache.comet.shaded.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
org.apache.comet.shaded.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
org.apache.comet.shaded.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(org.apache.comet.shaded.protobuf.Message other) {
if (other instanceof org.apache.comet.serde.OperatorOuterClass.LowerWindowFrameBound) {
return mergeFrom((org.apache.comet.serde.OperatorOuterClass.LowerWindowFrameBound)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.comet.serde.OperatorOuterClass.LowerWindowFrameBound other) {
if (other == org.apache.comet.serde.OperatorOuterClass.LowerWindowFrameBound.getDefaultInstance()) return this;
switch (other.getLowerFrameBoundStructCase()) {
case UNBOUNDEDPRECEDING: {
mergeUnboundedPreceding(other.getUnboundedPreceding());
break;
}
case PRECEDING: {
mergePreceding(other.getPreceding());
break;
}
case CURRENTROW: {
mergeCurrentRow(other.getCurrentRow());
break;
}
case LOWERFRAMEBOUNDSTRUCT_NOT_SET: {
break;
}
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
org.apache.comet.shaded.protobuf.CodedInputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getUnboundedPrecedingFieldBuilder().getBuilder(),
extensionRegistry);
lowerFrameBoundStructCase_ = 1;
break;
} // case 10
case 18: {
input.readMessage(
getPrecedingFieldBuilder().getBuilder(),
extensionRegistry);
lowerFrameBoundStructCase_ = 2;
break;
} // case 18
case 26: {
input.readMessage(
getCurrentRowFieldBuilder().getBuilder(),
extensionRegistry);
lowerFrameBoundStructCase_ = 3;
break;
} // case 26
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (org.apache.comet.shaded.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int lowerFrameBoundStructCase_ = 0;
private java.lang.Object lowerFrameBoundStruct_;
public LowerFrameBoundStructCase
getLowerFrameBoundStructCase() {
return LowerFrameBoundStructCase.forNumber(
lowerFrameBoundStructCase_);
}
public Builder clearLowerFrameBoundStruct() {
lowerFrameBoundStructCase_ = 0;
lowerFrameBoundStruct_ = null;
onChanged();
return this;
}
private org.apache.comet.shaded.protobuf.SingleFieldBuilderV3<
org.apache.comet.serde.OperatorOuterClass.UnboundedPreceding, org.apache.comet.serde.OperatorOuterClass.UnboundedPreceding.Builder, org.apache.comet.serde.OperatorOuterClass.UnboundedPrecedingOrBuilder> unboundedPrecedingBuilder_;
/**
* .spark.spark_operator.UnboundedPreceding unboundedPreceding = 1;
* @return Whether the unboundedPreceding field is set.
*/
@java.lang.Override
public boolean hasUnboundedPreceding() {
return lowerFrameBoundStructCase_ == 1;
}
/**
* .spark.spark_operator.UnboundedPreceding unboundedPreceding = 1;
* @return The unboundedPreceding.
*/
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.UnboundedPreceding getUnboundedPreceding() {
if (unboundedPrecedingBuilder_ == null) {
if (lowerFrameBoundStructCase_ == 1) {
return (org.apache.comet.serde.OperatorOuterClass.UnboundedPreceding) lowerFrameBoundStruct_;
}
return org.apache.comet.serde.OperatorOuterClass.UnboundedPreceding.getDefaultInstance();
} else {
if (lowerFrameBoundStructCase_ == 1) {
return unboundedPrecedingBuilder_.getMessage();
}
return org.apache.comet.serde.OperatorOuterClass.UnboundedPreceding.getDefaultInstance();
}
}
/**
* .spark.spark_operator.UnboundedPreceding unboundedPreceding = 1;
*/
public Builder setUnboundedPreceding(org.apache.comet.serde.OperatorOuterClass.UnboundedPreceding value) {
if (unboundedPrecedingBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
lowerFrameBoundStruct_ = value;
onChanged();
} else {
unboundedPrecedingBuilder_.setMessage(value);
}
lowerFrameBoundStructCase_ = 1;
return this;
}
/**
* .spark.spark_operator.UnboundedPreceding unboundedPreceding = 1;
*/
public Builder setUnboundedPreceding(
org.apache.comet.serde.OperatorOuterClass.UnboundedPreceding.Builder builderForValue) {
if (unboundedPrecedingBuilder_ == null) {
lowerFrameBoundStruct_ = builderForValue.build();
onChanged();
} else {
unboundedPrecedingBuilder_.setMessage(builderForValue.build());
}
lowerFrameBoundStructCase_ = 1;
return this;
}
/**
* .spark.spark_operator.UnboundedPreceding unboundedPreceding = 1;
*/
public Builder mergeUnboundedPreceding(org.apache.comet.serde.OperatorOuterClass.UnboundedPreceding value) {
if (unboundedPrecedingBuilder_ == null) {
if (lowerFrameBoundStructCase_ == 1 &&
lowerFrameBoundStruct_ != org.apache.comet.serde.OperatorOuterClass.UnboundedPreceding.getDefaultInstance()) {
lowerFrameBoundStruct_ = org.apache.comet.serde.OperatorOuterClass.UnboundedPreceding.newBuilder((org.apache.comet.serde.OperatorOuterClass.UnboundedPreceding) lowerFrameBoundStruct_)
.mergeFrom(value).buildPartial();
} else {
lowerFrameBoundStruct_ = value;
}
onChanged();
} else {
if (lowerFrameBoundStructCase_ == 1) {
unboundedPrecedingBuilder_.mergeFrom(value);
}
unboundedPrecedingBuilder_.setMessage(value);
}
lowerFrameBoundStructCase_ = 1;
return this;
}
/**
* .spark.spark_operator.UnboundedPreceding unboundedPreceding = 1;
*/
public Builder clearUnboundedPreceding() {
if (unboundedPrecedingBuilder_ == null) {
if (lowerFrameBoundStructCase_ == 1) {
lowerFrameBoundStructCase_ = 0;
lowerFrameBoundStruct_ = null;
onChanged();
}
} else {
if (lowerFrameBoundStructCase_ == 1) {
lowerFrameBoundStructCase_ = 0;
lowerFrameBoundStruct_ = null;
}
unboundedPrecedingBuilder_.clear();
}
return this;
}
/**
* .spark.spark_operator.UnboundedPreceding unboundedPreceding = 1;
*/
public org.apache.comet.serde.OperatorOuterClass.UnboundedPreceding.Builder getUnboundedPrecedingBuilder() {
return getUnboundedPrecedingFieldBuilder().getBuilder();
}
/**
* .spark.spark_operator.UnboundedPreceding unboundedPreceding = 1;
*/
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.UnboundedPrecedingOrBuilder getUnboundedPrecedingOrBuilder() {
if ((lowerFrameBoundStructCase_ == 1) && (unboundedPrecedingBuilder_ != null)) {
return unboundedPrecedingBuilder_.getMessageOrBuilder();
} else {
if (lowerFrameBoundStructCase_ == 1) {
return (org.apache.comet.serde.OperatorOuterClass.UnboundedPreceding) lowerFrameBoundStruct_;
}
return org.apache.comet.serde.OperatorOuterClass.UnboundedPreceding.getDefaultInstance();
}
}
/**
* .spark.spark_operator.UnboundedPreceding unboundedPreceding = 1;
*/
private org.apache.comet.shaded.protobuf.SingleFieldBuilderV3<
org.apache.comet.serde.OperatorOuterClass.UnboundedPreceding, org.apache.comet.serde.OperatorOuterClass.UnboundedPreceding.Builder, org.apache.comet.serde.OperatorOuterClass.UnboundedPrecedingOrBuilder>
getUnboundedPrecedingFieldBuilder() {
if (unboundedPrecedingBuilder_ == null) {
if (!(lowerFrameBoundStructCase_ == 1)) {
lowerFrameBoundStruct_ = org.apache.comet.serde.OperatorOuterClass.UnboundedPreceding.getDefaultInstance();
}
unboundedPrecedingBuilder_ = new org.apache.comet.shaded.protobuf.SingleFieldBuilderV3<
org.apache.comet.serde.OperatorOuterClass.UnboundedPreceding, org.apache.comet.serde.OperatorOuterClass.UnboundedPreceding.Builder, org.apache.comet.serde.OperatorOuterClass.UnboundedPrecedingOrBuilder>(
(org.apache.comet.serde.OperatorOuterClass.UnboundedPreceding) lowerFrameBoundStruct_,
getParentForChildren(),
isClean());
lowerFrameBoundStruct_ = null;
}
lowerFrameBoundStructCase_ = 1;
onChanged();;
return unboundedPrecedingBuilder_;
}
private org.apache.comet.shaded.protobuf.SingleFieldBuilderV3<
org.apache.comet.serde.OperatorOuterClass.Preceding, org.apache.comet.serde.OperatorOuterClass.Preceding.Builder, org.apache.comet.serde.OperatorOuterClass.PrecedingOrBuilder> precedingBuilder_;
/**
* .spark.spark_operator.Preceding preceding = 2;
* @return Whether the preceding field is set.
*/
@java.lang.Override
public boolean hasPreceding() {
return lowerFrameBoundStructCase_ == 2;
}
/**
* .spark.spark_operator.Preceding preceding = 2;
* @return The preceding.
*/
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.Preceding getPreceding() {
if (precedingBuilder_ == null) {
if (lowerFrameBoundStructCase_ == 2) {
return (org.apache.comet.serde.OperatorOuterClass.Preceding) lowerFrameBoundStruct_;
}
return org.apache.comet.serde.OperatorOuterClass.Preceding.getDefaultInstance();
} else {
if (lowerFrameBoundStructCase_ == 2) {
return precedingBuilder_.getMessage();
}
return org.apache.comet.serde.OperatorOuterClass.Preceding.getDefaultInstance();
}
}
/**
* .spark.spark_operator.Preceding preceding = 2;
*/
public Builder setPreceding(org.apache.comet.serde.OperatorOuterClass.Preceding value) {
if (precedingBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
lowerFrameBoundStruct_ = value;
onChanged();
} else {
precedingBuilder_.setMessage(value);
}
lowerFrameBoundStructCase_ = 2;
return this;
}
/**
* .spark.spark_operator.Preceding preceding = 2;
*/
public Builder setPreceding(
org.apache.comet.serde.OperatorOuterClass.Preceding.Builder builderForValue) {
if (precedingBuilder_ == null) {
lowerFrameBoundStruct_ = builderForValue.build();
onChanged();
} else {
precedingBuilder_.setMessage(builderForValue.build());
}
lowerFrameBoundStructCase_ = 2;
return this;
}
/**
* .spark.spark_operator.Preceding preceding = 2;
*/
public Builder mergePreceding(org.apache.comet.serde.OperatorOuterClass.Preceding value) {
if (precedingBuilder_ == null) {
if (lowerFrameBoundStructCase_ == 2 &&
lowerFrameBoundStruct_ != org.apache.comet.serde.OperatorOuterClass.Preceding.getDefaultInstance()) {
lowerFrameBoundStruct_ = org.apache.comet.serde.OperatorOuterClass.Preceding.newBuilder((org.apache.comet.serde.OperatorOuterClass.Preceding) lowerFrameBoundStruct_)
.mergeFrom(value).buildPartial();
} else {
lowerFrameBoundStruct_ = value;
}
onChanged();
} else {
if (lowerFrameBoundStructCase_ == 2) {
precedingBuilder_.mergeFrom(value);
}
precedingBuilder_.setMessage(value);
}
lowerFrameBoundStructCase_ = 2;
return this;
}
/**
* .spark.spark_operator.Preceding preceding = 2;
*/
public Builder clearPreceding() {
if (precedingBuilder_ == null) {
if (lowerFrameBoundStructCase_ == 2) {
lowerFrameBoundStructCase_ = 0;
lowerFrameBoundStruct_ = null;
onChanged();
}
} else {
if (lowerFrameBoundStructCase_ == 2) {
lowerFrameBoundStructCase_ = 0;
lowerFrameBoundStruct_ = null;
}
precedingBuilder_.clear();
}
return this;
}
/**
* .spark.spark_operator.Preceding preceding = 2;
*/
public org.apache.comet.serde.OperatorOuterClass.Preceding.Builder getPrecedingBuilder() {
return getPrecedingFieldBuilder().getBuilder();
}
/**
* .spark.spark_operator.Preceding preceding = 2;
*/
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.PrecedingOrBuilder getPrecedingOrBuilder() {
if ((lowerFrameBoundStructCase_ == 2) && (precedingBuilder_ != null)) {
return precedingBuilder_.getMessageOrBuilder();
} else {
if (lowerFrameBoundStructCase_ == 2) {
return (org.apache.comet.serde.OperatorOuterClass.Preceding) lowerFrameBoundStruct_;
}
return org.apache.comet.serde.OperatorOuterClass.Preceding.getDefaultInstance();
}
}
/**
* .spark.spark_operator.Preceding preceding = 2;
*/
private org.apache.comet.shaded.protobuf.SingleFieldBuilderV3<
org.apache.comet.serde.OperatorOuterClass.Preceding, org.apache.comet.serde.OperatorOuterClass.Preceding.Builder, org.apache.comet.serde.OperatorOuterClass.PrecedingOrBuilder>
getPrecedingFieldBuilder() {
if (precedingBuilder_ == null) {
if (!(lowerFrameBoundStructCase_ == 2)) {
lowerFrameBoundStruct_ = org.apache.comet.serde.OperatorOuterClass.Preceding.getDefaultInstance();
}
precedingBuilder_ = new org.apache.comet.shaded.protobuf.SingleFieldBuilderV3<
org.apache.comet.serde.OperatorOuterClass.Preceding, org.apache.comet.serde.OperatorOuterClass.Preceding.Builder, org.apache.comet.serde.OperatorOuterClass.PrecedingOrBuilder>(
(org.apache.comet.serde.OperatorOuterClass.Preceding) lowerFrameBoundStruct_,
getParentForChildren(),
isClean());
lowerFrameBoundStruct_ = null;
}
lowerFrameBoundStructCase_ = 2;
onChanged();;
return precedingBuilder_;
}
private org.apache.comet.shaded.protobuf.SingleFieldBuilderV3<
org.apache.comet.serde.OperatorOuterClass.CurrentRow, org.apache.comet.serde.OperatorOuterClass.CurrentRow.Builder, org.apache.comet.serde.OperatorOuterClass.CurrentRowOrBuilder> currentRowBuilder_;
/**
* .spark.spark_operator.CurrentRow currentRow = 3;
* @return Whether the currentRow field is set.
*/
@java.lang.Override
public boolean hasCurrentRow() {
return lowerFrameBoundStructCase_ == 3;
}
/**
* .spark.spark_operator.CurrentRow currentRow = 3;
* @return The currentRow.
*/
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.CurrentRow getCurrentRow() {
if (currentRowBuilder_ == null) {
if (lowerFrameBoundStructCase_ == 3) {
return (org.apache.comet.serde.OperatorOuterClass.CurrentRow) lowerFrameBoundStruct_;
}
return org.apache.comet.serde.OperatorOuterClass.CurrentRow.getDefaultInstance();
} else {
if (lowerFrameBoundStructCase_ == 3) {
return currentRowBuilder_.getMessage();
}
return org.apache.comet.serde.OperatorOuterClass.CurrentRow.getDefaultInstance();
}
}
/**
* .spark.spark_operator.CurrentRow currentRow = 3;
*/
public Builder setCurrentRow(org.apache.comet.serde.OperatorOuterClass.CurrentRow value) {
if (currentRowBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
lowerFrameBoundStruct_ = value;
onChanged();
} else {
currentRowBuilder_.setMessage(value);
}
lowerFrameBoundStructCase_ = 3;
return this;
}
/**
* .spark.spark_operator.CurrentRow currentRow = 3;
*/
public Builder setCurrentRow(
org.apache.comet.serde.OperatorOuterClass.CurrentRow.Builder builderForValue) {
if (currentRowBuilder_ == null) {
lowerFrameBoundStruct_ = builderForValue.build();
onChanged();
} else {
currentRowBuilder_.setMessage(builderForValue.build());
}
lowerFrameBoundStructCase_ = 3;
return this;
}
/**
* .spark.spark_operator.CurrentRow currentRow = 3;
*/
public Builder mergeCurrentRow(org.apache.comet.serde.OperatorOuterClass.CurrentRow value) {
if (currentRowBuilder_ == null) {
if (lowerFrameBoundStructCase_ == 3 &&
lowerFrameBoundStruct_ != org.apache.comet.serde.OperatorOuterClass.CurrentRow.getDefaultInstance()) {
lowerFrameBoundStruct_ = org.apache.comet.serde.OperatorOuterClass.CurrentRow.newBuilder((org.apache.comet.serde.OperatorOuterClass.CurrentRow) lowerFrameBoundStruct_)
.mergeFrom(value).buildPartial();
} else {
lowerFrameBoundStruct_ = value;
}
onChanged();
} else {
if (lowerFrameBoundStructCase_ == 3) {
currentRowBuilder_.mergeFrom(value);
}
currentRowBuilder_.setMessage(value);
}
lowerFrameBoundStructCase_ = 3;
return this;
}
/**
* .spark.spark_operator.CurrentRow currentRow = 3;
*/
public Builder clearCurrentRow() {
if (currentRowBuilder_ == null) {
if (lowerFrameBoundStructCase_ == 3) {
lowerFrameBoundStructCase_ = 0;
lowerFrameBoundStruct_ = null;
onChanged();
}
} else {
if (lowerFrameBoundStructCase_ == 3) {
lowerFrameBoundStructCase_ = 0;
lowerFrameBoundStruct_ = null;
}
currentRowBuilder_.clear();
}
return this;
}
/**
* .spark.spark_operator.CurrentRow currentRow = 3;
*/
public org.apache.comet.serde.OperatorOuterClass.CurrentRow.Builder getCurrentRowBuilder() {
return getCurrentRowFieldBuilder().getBuilder();
}
/**
* .spark.spark_operator.CurrentRow currentRow = 3;
*/
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.CurrentRowOrBuilder getCurrentRowOrBuilder() {
if ((lowerFrameBoundStructCase_ == 3) && (currentRowBuilder_ != null)) {
return currentRowBuilder_.getMessageOrBuilder();
} else {
if (lowerFrameBoundStructCase_ == 3) {
return (org.apache.comet.serde.OperatorOuterClass.CurrentRow) lowerFrameBoundStruct_;
}
return org.apache.comet.serde.OperatorOuterClass.CurrentRow.getDefaultInstance();
}
}
/**
* .spark.spark_operator.CurrentRow currentRow = 3;
*/
private org.apache.comet.shaded.protobuf.SingleFieldBuilderV3<
org.apache.comet.serde.OperatorOuterClass.CurrentRow, org.apache.comet.serde.OperatorOuterClass.CurrentRow.Builder, org.apache.comet.serde.OperatorOuterClass.CurrentRowOrBuilder>
getCurrentRowFieldBuilder() {
if (currentRowBuilder_ == null) {
if (!(lowerFrameBoundStructCase_ == 3)) {
lowerFrameBoundStruct_ = org.apache.comet.serde.OperatorOuterClass.CurrentRow.getDefaultInstance();
}
currentRowBuilder_ = new org.apache.comet.shaded.protobuf.SingleFieldBuilderV3<
org.apache.comet.serde.OperatorOuterClass.CurrentRow, org.apache.comet.serde.OperatorOuterClass.CurrentRow.Builder, org.apache.comet.serde.OperatorOuterClass.CurrentRowOrBuilder>(
(org.apache.comet.serde.OperatorOuterClass.CurrentRow) lowerFrameBoundStruct_,
getParentForChildren(),
isClean());
lowerFrameBoundStruct_ = null;
}
lowerFrameBoundStructCase_ = 3;
onChanged();;
return currentRowBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final org.apache.comet.shaded.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final org.apache.comet.shaded.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:spark.spark_operator.LowerWindowFrameBound)
}
// @@protoc_insertion_point(class_scope:spark.spark_operator.LowerWindowFrameBound)
private static final org.apache.comet.serde.OperatorOuterClass.LowerWindowFrameBound DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.comet.serde.OperatorOuterClass.LowerWindowFrameBound();
}
public static org.apache.comet.serde.OperatorOuterClass.LowerWindowFrameBound getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final org.apache.comet.shaded.protobuf.Parser
PARSER = new org.apache.comet.shaded.protobuf.AbstractParser() {
@java.lang.Override
public LowerWindowFrameBound parsePartialFrom(
org.apache.comet.shaded.protobuf.CodedInputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (org.apache.comet.shaded.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (org.apache.comet.shaded.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new org.apache.comet.shaded.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static org.apache.comet.shaded.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public org.apache.comet.shaded.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.LowerWindowFrameBound getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface UpperWindowFrameBoundOrBuilder extends
// @@protoc_insertion_point(interface_extends:spark.spark_operator.UpperWindowFrameBound)
org.apache.comet.shaded.protobuf.MessageOrBuilder {
/**
* .spark.spark_operator.UnboundedFollowing unboundedFollowing = 1;
* @return Whether the unboundedFollowing field is set.
*/
boolean hasUnboundedFollowing();
/**
* .spark.spark_operator.UnboundedFollowing unboundedFollowing = 1;
* @return The unboundedFollowing.
*/
org.apache.comet.serde.OperatorOuterClass.UnboundedFollowing getUnboundedFollowing();
/**
* .spark.spark_operator.UnboundedFollowing unboundedFollowing = 1;
*/
org.apache.comet.serde.OperatorOuterClass.UnboundedFollowingOrBuilder getUnboundedFollowingOrBuilder();
/**
* .spark.spark_operator.Following following = 2;
* @return Whether the following field is set.
*/
boolean hasFollowing();
/**
* .spark.spark_operator.Following following = 2;
* @return The following.
*/
org.apache.comet.serde.OperatorOuterClass.Following getFollowing();
/**
* .spark.spark_operator.Following following = 2;
*/
org.apache.comet.serde.OperatorOuterClass.FollowingOrBuilder getFollowingOrBuilder();
/**
* .spark.spark_operator.CurrentRow currentRow = 3;
* @return Whether the currentRow field is set.
*/
boolean hasCurrentRow();
/**
* .spark.spark_operator.CurrentRow currentRow = 3;
* @return The currentRow.
*/
org.apache.comet.serde.OperatorOuterClass.CurrentRow getCurrentRow();
/**
* .spark.spark_operator.CurrentRow currentRow = 3;
*/
org.apache.comet.serde.OperatorOuterClass.CurrentRowOrBuilder getCurrentRowOrBuilder();
public org.apache.comet.serde.OperatorOuterClass.UpperWindowFrameBound.UpperFrameBoundStructCase getUpperFrameBoundStructCase();
}
/**
* Protobuf type {@code spark.spark_operator.UpperWindowFrameBound}
*/
public static final class UpperWindowFrameBound extends
org.apache.comet.shaded.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:spark.spark_operator.UpperWindowFrameBound)
UpperWindowFrameBoundOrBuilder {
private static final long serialVersionUID = 0L;
// Use UpperWindowFrameBound.newBuilder() to construct.
private UpperWindowFrameBound(org.apache.comet.shaded.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private UpperWindowFrameBound() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new UpperWindowFrameBound();
}
@java.lang.Override
public final org.apache.comet.shaded.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final org.apache.comet.shaded.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_UpperWindowFrameBound_descriptor;
}
@java.lang.Override
protected org.apache.comet.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_UpperWindowFrameBound_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.comet.serde.OperatorOuterClass.UpperWindowFrameBound.class, org.apache.comet.serde.OperatorOuterClass.UpperWindowFrameBound.Builder.class);
}
private int upperFrameBoundStructCase_ = 0;
private java.lang.Object upperFrameBoundStruct_;
public enum UpperFrameBoundStructCase
implements org.apache.comet.shaded.protobuf.Internal.EnumLite,
org.apache.comet.shaded.protobuf.AbstractMessage.InternalOneOfEnum {
UNBOUNDEDFOLLOWING(1),
FOLLOWING(2),
CURRENTROW(3),
UPPERFRAMEBOUNDSTRUCT_NOT_SET(0);
private final int value;
private UpperFrameBoundStructCase(int value) {
this.value = value;
}
/**
* @param value The number of the enum to look for.
* @return The enum associated with the given number.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static UpperFrameBoundStructCase valueOf(int value) {
return forNumber(value);
}
public static UpperFrameBoundStructCase forNumber(int value) {
switch (value) {
case 1: return UNBOUNDEDFOLLOWING;
case 2: return FOLLOWING;
case 3: return CURRENTROW;
case 0: return UPPERFRAMEBOUNDSTRUCT_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
public UpperFrameBoundStructCase
getUpperFrameBoundStructCase() {
return UpperFrameBoundStructCase.forNumber(
upperFrameBoundStructCase_);
}
public static final int UNBOUNDEDFOLLOWING_FIELD_NUMBER = 1;
/**
* .spark.spark_operator.UnboundedFollowing unboundedFollowing = 1;
* @return Whether the unboundedFollowing field is set.
*/
@java.lang.Override
public boolean hasUnboundedFollowing() {
return upperFrameBoundStructCase_ == 1;
}
/**
* .spark.spark_operator.UnboundedFollowing unboundedFollowing = 1;
* @return The unboundedFollowing.
*/
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.UnboundedFollowing getUnboundedFollowing() {
if (upperFrameBoundStructCase_ == 1) {
return (org.apache.comet.serde.OperatorOuterClass.UnboundedFollowing) upperFrameBoundStruct_;
}
return org.apache.comet.serde.OperatorOuterClass.UnboundedFollowing.getDefaultInstance();
}
/**
* .spark.spark_operator.UnboundedFollowing unboundedFollowing = 1;
*/
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.UnboundedFollowingOrBuilder getUnboundedFollowingOrBuilder() {
if (upperFrameBoundStructCase_ == 1) {
return (org.apache.comet.serde.OperatorOuterClass.UnboundedFollowing) upperFrameBoundStruct_;
}
return org.apache.comet.serde.OperatorOuterClass.UnboundedFollowing.getDefaultInstance();
}
public static final int FOLLOWING_FIELD_NUMBER = 2;
/**
* .spark.spark_operator.Following following = 2;
* @return Whether the following field is set.
*/
@java.lang.Override
public boolean hasFollowing() {
return upperFrameBoundStructCase_ == 2;
}
/**
* .spark.spark_operator.Following following = 2;
* @return The following.
*/
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.Following getFollowing() {
if (upperFrameBoundStructCase_ == 2) {
return (org.apache.comet.serde.OperatorOuterClass.Following) upperFrameBoundStruct_;
}
return org.apache.comet.serde.OperatorOuterClass.Following.getDefaultInstance();
}
/**
* .spark.spark_operator.Following following = 2;
*/
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.FollowingOrBuilder getFollowingOrBuilder() {
if (upperFrameBoundStructCase_ == 2) {
return (org.apache.comet.serde.OperatorOuterClass.Following) upperFrameBoundStruct_;
}
return org.apache.comet.serde.OperatorOuterClass.Following.getDefaultInstance();
}
public static final int CURRENTROW_FIELD_NUMBER = 3;
/**
* .spark.spark_operator.CurrentRow currentRow = 3;
* @return Whether the currentRow field is set.
*/
@java.lang.Override
public boolean hasCurrentRow() {
return upperFrameBoundStructCase_ == 3;
}
/**
* .spark.spark_operator.CurrentRow currentRow = 3;
* @return The currentRow.
*/
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.CurrentRow getCurrentRow() {
if (upperFrameBoundStructCase_ == 3) {
return (org.apache.comet.serde.OperatorOuterClass.CurrentRow) upperFrameBoundStruct_;
}
return org.apache.comet.serde.OperatorOuterClass.CurrentRow.getDefaultInstance();
}
/**
* .spark.spark_operator.CurrentRow currentRow = 3;
*/
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.CurrentRowOrBuilder getCurrentRowOrBuilder() {
if (upperFrameBoundStructCase_ == 3) {
return (org.apache.comet.serde.OperatorOuterClass.CurrentRow) upperFrameBoundStruct_;
}
return org.apache.comet.serde.OperatorOuterClass.CurrentRow.getDefaultInstance();
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(org.apache.comet.shaded.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (upperFrameBoundStructCase_ == 1) {
output.writeMessage(1, (org.apache.comet.serde.OperatorOuterClass.UnboundedFollowing) upperFrameBoundStruct_);
}
if (upperFrameBoundStructCase_ == 2) {
output.writeMessage(2, (org.apache.comet.serde.OperatorOuterClass.Following) upperFrameBoundStruct_);
}
if (upperFrameBoundStructCase_ == 3) {
output.writeMessage(3, (org.apache.comet.serde.OperatorOuterClass.CurrentRow) upperFrameBoundStruct_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (upperFrameBoundStructCase_ == 1) {
size += org.apache.comet.shaded.protobuf.CodedOutputStream
.computeMessageSize(1, (org.apache.comet.serde.OperatorOuterClass.UnboundedFollowing) upperFrameBoundStruct_);
}
if (upperFrameBoundStructCase_ == 2) {
size += org.apache.comet.shaded.protobuf.CodedOutputStream
.computeMessageSize(2, (org.apache.comet.serde.OperatorOuterClass.Following) upperFrameBoundStruct_);
}
if (upperFrameBoundStructCase_ == 3) {
size += org.apache.comet.shaded.protobuf.CodedOutputStream
.computeMessageSize(3, (org.apache.comet.serde.OperatorOuterClass.CurrentRow) upperFrameBoundStruct_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.comet.serde.OperatorOuterClass.UpperWindowFrameBound)) {
return super.equals(obj);
}
org.apache.comet.serde.OperatorOuterClass.UpperWindowFrameBound other = (org.apache.comet.serde.OperatorOuterClass.UpperWindowFrameBound) obj;
if (!getUpperFrameBoundStructCase().equals(other.getUpperFrameBoundStructCase())) return false;
switch (upperFrameBoundStructCase_) {
case 1:
if (!getUnboundedFollowing()
.equals(other.getUnboundedFollowing())) return false;
break;
case 2:
if (!getFollowing()
.equals(other.getFollowing())) return false;
break;
case 3:
if (!getCurrentRow()
.equals(other.getCurrentRow())) return false;
break;
case 0:
default:
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
switch (upperFrameBoundStructCase_) {
case 1:
hash = (37 * hash) + UNBOUNDEDFOLLOWING_FIELD_NUMBER;
hash = (53 * hash) + getUnboundedFollowing().hashCode();
break;
case 2:
hash = (37 * hash) + FOLLOWING_FIELD_NUMBER;
hash = (53 * hash) + getFollowing().hashCode();
break;
case 3:
hash = (37 * hash) + CURRENTROW_FIELD_NUMBER;
hash = (53 * hash) + getCurrentRow().hashCode();
break;
case 0:
default:
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.comet.serde.OperatorOuterClass.UpperWindowFrameBound parseFrom(
java.nio.ByteBuffer data)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.comet.serde.OperatorOuterClass.UpperWindowFrameBound parseFrom(
java.nio.ByteBuffer data,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.UpperWindowFrameBound parseFrom(
org.apache.comet.shaded.protobuf.ByteString data)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.comet.serde.OperatorOuterClass.UpperWindowFrameBound parseFrom(
org.apache.comet.shaded.protobuf.ByteString data,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.UpperWindowFrameBound parseFrom(byte[] data)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.comet.serde.OperatorOuterClass.UpperWindowFrameBound parseFrom(
byte[] data,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.UpperWindowFrameBound parseFrom(java.io.InputStream input)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.comet.serde.OperatorOuterClass.UpperWindowFrameBound parseFrom(
java.io.InputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.UpperWindowFrameBound parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.comet.serde.OperatorOuterClass.UpperWindowFrameBound parseDelimitedFrom(
java.io.InputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.UpperWindowFrameBound parseFrom(
org.apache.comet.shaded.protobuf.CodedInputStream input)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.comet.serde.OperatorOuterClass.UpperWindowFrameBound parseFrom(
org.apache.comet.shaded.protobuf.CodedInputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.comet.serde.OperatorOuterClass.UpperWindowFrameBound prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
org.apache.comet.shaded.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code spark.spark_operator.UpperWindowFrameBound}
*/
public static final class Builder extends
org.apache.comet.shaded.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:spark.spark_operator.UpperWindowFrameBound)
org.apache.comet.serde.OperatorOuterClass.UpperWindowFrameBoundOrBuilder {
public static final org.apache.comet.shaded.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_UpperWindowFrameBound_descriptor;
}
@java.lang.Override
protected org.apache.comet.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_UpperWindowFrameBound_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.comet.serde.OperatorOuterClass.UpperWindowFrameBound.class, org.apache.comet.serde.OperatorOuterClass.UpperWindowFrameBound.Builder.class);
}
// Construct using org.apache.comet.serde.OperatorOuterClass.UpperWindowFrameBound.newBuilder()
private Builder() {
}
private Builder(
org.apache.comet.shaded.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
if (unboundedFollowingBuilder_ != null) {
unboundedFollowingBuilder_.clear();
}
if (followingBuilder_ != null) {
followingBuilder_.clear();
}
if (currentRowBuilder_ != null) {
currentRowBuilder_.clear();
}
upperFrameBoundStructCase_ = 0;
upperFrameBoundStruct_ = null;
return this;
}
@java.lang.Override
public org.apache.comet.shaded.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_UpperWindowFrameBound_descriptor;
}
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.UpperWindowFrameBound getDefaultInstanceForType() {
return org.apache.comet.serde.OperatorOuterClass.UpperWindowFrameBound.getDefaultInstance();
}
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.UpperWindowFrameBound build() {
org.apache.comet.serde.OperatorOuterClass.UpperWindowFrameBound result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.UpperWindowFrameBound buildPartial() {
org.apache.comet.serde.OperatorOuterClass.UpperWindowFrameBound result = new org.apache.comet.serde.OperatorOuterClass.UpperWindowFrameBound(this);
if (upperFrameBoundStructCase_ == 1) {
if (unboundedFollowingBuilder_ == null) {
result.upperFrameBoundStruct_ = upperFrameBoundStruct_;
} else {
result.upperFrameBoundStruct_ = unboundedFollowingBuilder_.build();
}
}
if (upperFrameBoundStructCase_ == 2) {
if (followingBuilder_ == null) {
result.upperFrameBoundStruct_ = upperFrameBoundStruct_;
} else {
result.upperFrameBoundStruct_ = followingBuilder_.build();
}
}
if (upperFrameBoundStructCase_ == 3) {
if (currentRowBuilder_ == null) {
result.upperFrameBoundStruct_ = upperFrameBoundStruct_;
} else {
result.upperFrameBoundStruct_ = currentRowBuilder_.build();
}
}
result.upperFrameBoundStructCase_ = upperFrameBoundStructCase_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
org.apache.comet.shaded.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
org.apache.comet.shaded.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
org.apache.comet.shaded.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
org.apache.comet.shaded.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
org.apache.comet.shaded.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(org.apache.comet.shaded.protobuf.Message other) {
if (other instanceof org.apache.comet.serde.OperatorOuterClass.UpperWindowFrameBound) {
return mergeFrom((org.apache.comet.serde.OperatorOuterClass.UpperWindowFrameBound)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.comet.serde.OperatorOuterClass.UpperWindowFrameBound other) {
if (other == org.apache.comet.serde.OperatorOuterClass.UpperWindowFrameBound.getDefaultInstance()) return this;
switch (other.getUpperFrameBoundStructCase()) {
case UNBOUNDEDFOLLOWING: {
mergeUnboundedFollowing(other.getUnboundedFollowing());
break;
}
case FOLLOWING: {
mergeFollowing(other.getFollowing());
break;
}
case CURRENTROW: {
mergeCurrentRow(other.getCurrentRow());
break;
}
case UPPERFRAMEBOUNDSTRUCT_NOT_SET: {
break;
}
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
org.apache.comet.shaded.protobuf.CodedInputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getUnboundedFollowingFieldBuilder().getBuilder(),
extensionRegistry);
upperFrameBoundStructCase_ = 1;
break;
} // case 10
case 18: {
input.readMessage(
getFollowingFieldBuilder().getBuilder(),
extensionRegistry);
upperFrameBoundStructCase_ = 2;
break;
} // case 18
case 26: {
input.readMessage(
getCurrentRowFieldBuilder().getBuilder(),
extensionRegistry);
upperFrameBoundStructCase_ = 3;
break;
} // case 26
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (org.apache.comet.shaded.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int upperFrameBoundStructCase_ = 0;
private java.lang.Object upperFrameBoundStruct_;
public UpperFrameBoundStructCase
getUpperFrameBoundStructCase() {
return UpperFrameBoundStructCase.forNumber(
upperFrameBoundStructCase_);
}
public Builder clearUpperFrameBoundStruct() {
upperFrameBoundStructCase_ = 0;
upperFrameBoundStruct_ = null;
onChanged();
return this;
}
private org.apache.comet.shaded.protobuf.SingleFieldBuilderV3<
org.apache.comet.serde.OperatorOuterClass.UnboundedFollowing, org.apache.comet.serde.OperatorOuterClass.UnboundedFollowing.Builder, org.apache.comet.serde.OperatorOuterClass.UnboundedFollowingOrBuilder> unboundedFollowingBuilder_;
/**
* .spark.spark_operator.UnboundedFollowing unboundedFollowing = 1;
* @return Whether the unboundedFollowing field is set.
*/
@java.lang.Override
public boolean hasUnboundedFollowing() {
return upperFrameBoundStructCase_ == 1;
}
/**
* .spark.spark_operator.UnboundedFollowing unboundedFollowing = 1;
* @return The unboundedFollowing.
*/
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.UnboundedFollowing getUnboundedFollowing() {
if (unboundedFollowingBuilder_ == null) {
if (upperFrameBoundStructCase_ == 1) {
return (org.apache.comet.serde.OperatorOuterClass.UnboundedFollowing) upperFrameBoundStruct_;
}
return org.apache.comet.serde.OperatorOuterClass.UnboundedFollowing.getDefaultInstance();
} else {
if (upperFrameBoundStructCase_ == 1) {
return unboundedFollowingBuilder_.getMessage();
}
return org.apache.comet.serde.OperatorOuterClass.UnboundedFollowing.getDefaultInstance();
}
}
/**
* .spark.spark_operator.UnboundedFollowing unboundedFollowing = 1;
*/
public Builder setUnboundedFollowing(org.apache.comet.serde.OperatorOuterClass.UnboundedFollowing value) {
if (unboundedFollowingBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
upperFrameBoundStruct_ = value;
onChanged();
} else {
unboundedFollowingBuilder_.setMessage(value);
}
upperFrameBoundStructCase_ = 1;
return this;
}
/**
* .spark.spark_operator.UnboundedFollowing unboundedFollowing = 1;
*/
public Builder setUnboundedFollowing(
org.apache.comet.serde.OperatorOuterClass.UnboundedFollowing.Builder builderForValue) {
if (unboundedFollowingBuilder_ == null) {
upperFrameBoundStruct_ = builderForValue.build();
onChanged();
} else {
unboundedFollowingBuilder_.setMessage(builderForValue.build());
}
upperFrameBoundStructCase_ = 1;
return this;
}
/**
* .spark.spark_operator.UnboundedFollowing unboundedFollowing = 1;
*/
public Builder mergeUnboundedFollowing(org.apache.comet.serde.OperatorOuterClass.UnboundedFollowing value) {
if (unboundedFollowingBuilder_ == null) {
if (upperFrameBoundStructCase_ == 1 &&
upperFrameBoundStruct_ != org.apache.comet.serde.OperatorOuterClass.UnboundedFollowing.getDefaultInstance()) {
upperFrameBoundStruct_ = org.apache.comet.serde.OperatorOuterClass.UnboundedFollowing.newBuilder((org.apache.comet.serde.OperatorOuterClass.UnboundedFollowing) upperFrameBoundStruct_)
.mergeFrom(value).buildPartial();
} else {
upperFrameBoundStruct_ = value;
}
onChanged();
} else {
if (upperFrameBoundStructCase_ == 1) {
unboundedFollowingBuilder_.mergeFrom(value);
}
unboundedFollowingBuilder_.setMessage(value);
}
upperFrameBoundStructCase_ = 1;
return this;
}
/**
* .spark.spark_operator.UnboundedFollowing unboundedFollowing = 1;
*/
public Builder clearUnboundedFollowing() {
if (unboundedFollowingBuilder_ == null) {
if (upperFrameBoundStructCase_ == 1) {
upperFrameBoundStructCase_ = 0;
upperFrameBoundStruct_ = null;
onChanged();
}
} else {
if (upperFrameBoundStructCase_ == 1) {
upperFrameBoundStructCase_ = 0;
upperFrameBoundStruct_ = null;
}
unboundedFollowingBuilder_.clear();
}
return this;
}
/**
* .spark.spark_operator.UnboundedFollowing unboundedFollowing = 1;
*/
public org.apache.comet.serde.OperatorOuterClass.UnboundedFollowing.Builder getUnboundedFollowingBuilder() {
return getUnboundedFollowingFieldBuilder().getBuilder();
}
/**
* .spark.spark_operator.UnboundedFollowing unboundedFollowing = 1;
*/
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.UnboundedFollowingOrBuilder getUnboundedFollowingOrBuilder() {
if ((upperFrameBoundStructCase_ == 1) && (unboundedFollowingBuilder_ != null)) {
return unboundedFollowingBuilder_.getMessageOrBuilder();
} else {
if (upperFrameBoundStructCase_ == 1) {
return (org.apache.comet.serde.OperatorOuterClass.UnboundedFollowing) upperFrameBoundStruct_;
}
return org.apache.comet.serde.OperatorOuterClass.UnboundedFollowing.getDefaultInstance();
}
}
/**
* .spark.spark_operator.UnboundedFollowing unboundedFollowing = 1;
*/
private org.apache.comet.shaded.protobuf.SingleFieldBuilderV3<
org.apache.comet.serde.OperatorOuterClass.UnboundedFollowing, org.apache.comet.serde.OperatorOuterClass.UnboundedFollowing.Builder, org.apache.comet.serde.OperatorOuterClass.UnboundedFollowingOrBuilder>
getUnboundedFollowingFieldBuilder() {
if (unboundedFollowingBuilder_ == null) {
if (!(upperFrameBoundStructCase_ == 1)) {
upperFrameBoundStruct_ = org.apache.comet.serde.OperatorOuterClass.UnboundedFollowing.getDefaultInstance();
}
unboundedFollowingBuilder_ = new org.apache.comet.shaded.protobuf.SingleFieldBuilderV3<
org.apache.comet.serde.OperatorOuterClass.UnboundedFollowing, org.apache.comet.serde.OperatorOuterClass.UnboundedFollowing.Builder, org.apache.comet.serde.OperatorOuterClass.UnboundedFollowingOrBuilder>(
(org.apache.comet.serde.OperatorOuterClass.UnboundedFollowing) upperFrameBoundStruct_,
getParentForChildren(),
isClean());
upperFrameBoundStruct_ = null;
}
upperFrameBoundStructCase_ = 1;
onChanged();;
return unboundedFollowingBuilder_;
}
private org.apache.comet.shaded.protobuf.SingleFieldBuilderV3<
org.apache.comet.serde.OperatorOuterClass.Following, org.apache.comet.serde.OperatorOuterClass.Following.Builder, org.apache.comet.serde.OperatorOuterClass.FollowingOrBuilder> followingBuilder_;
/**
* .spark.spark_operator.Following following = 2;
* @return Whether the following field is set.
*/
@java.lang.Override
public boolean hasFollowing() {
return upperFrameBoundStructCase_ == 2;
}
/**
* .spark.spark_operator.Following following = 2;
* @return The following.
*/
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.Following getFollowing() {
if (followingBuilder_ == null) {
if (upperFrameBoundStructCase_ == 2) {
return (org.apache.comet.serde.OperatorOuterClass.Following) upperFrameBoundStruct_;
}
return org.apache.comet.serde.OperatorOuterClass.Following.getDefaultInstance();
} else {
if (upperFrameBoundStructCase_ == 2) {
return followingBuilder_.getMessage();
}
return org.apache.comet.serde.OperatorOuterClass.Following.getDefaultInstance();
}
}
/**
* .spark.spark_operator.Following following = 2;
*/
public Builder setFollowing(org.apache.comet.serde.OperatorOuterClass.Following value) {
if (followingBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
upperFrameBoundStruct_ = value;
onChanged();
} else {
followingBuilder_.setMessage(value);
}
upperFrameBoundStructCase_ = 2;
return this;
}
/**
* .spark.spark_operator.Following following = 2;
*/
public Builder setFollowing(
org.apache.comet.serde.OperatorOuterClass.Following.Builder builderForValue) {
if (followingBuilder_ == null) {
upperFrameBoundStruct_ = builderForValue.build();
onChanged();
} else {
followingBuilder_.setMessage(builderForValue.build());
}
upperFrameBoundStructCase_ = 2;
return this;
}
/**
* .spark.spark_operator.Following following = 2;
*/
public Builder mergeFollowing(org.apache.comet.serde.OperatorOuterClass.Following value) {
if (followingBuilder_ == null) {
if (upperFrameBoundStructCase_ == 2 &&
upperFrameBoundStruct_ != org.apache.comet.serde.OperatorOuterClass.Following.getDefaultInstance()) {
upperFrameBoundStruct_ = org.apache.comet.serde.OperatorOuterClass.Following.newBuilder((org.apache.comet.serde.OperatorOuterClass.Following) upperFrameBoundStruct_)
.mergeFrom(value).buildPartial();
} else {
upperFrameBoundStruct_ = value;
}
onChanged();
} else {
if (upperFrameBoundStructCase_ == 2) {
followingBuilder_.mergeFrom(value);
}
followingBuilder_.setMessage(value);
}
upperFrameBoundStructCase_ = 2;
return this;
}
/**
* .spark.spark_operator.Following following = 2;
*/
public Builder clearFollowing() {
if (followingBuilder_ == null) {
if (upperFrameBoundStructCase_ == 2) {
upperFrameBoundStructCase_ = 0;
upperFrameBoundStruct_ = null;
onChanged();
}
} else {
if (upperFrameBoundStructCase_ == 2) {
upperFrameBoundStructCase_ = 0;
upperFrameBoundStruct_ = null;
}
followingBuilder_.clear();
}
return this;
}
/**
* .spark.spark_operator.Following following = 2;
*/
public org.apache.comet.serde.OperatorOuterClass.Following.Builder getFollowingBuilder() {
return getFollowingFieldBuilder().getBuilder();
}
/**
* .spark.spark_operator.Following following = 2;
*/
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.FollowingOrBuilder getFollowingOrBuilder() {
if ((upperFrameBoundStructCase_ == 2) && (followingBuilder_ != null)) {
return followingBuilder_.getMessageOrBuilder();
} else {
if (upperFrameBoundStructCase_ == 2) {
return (org.apache.comet.serde.OperatorOuterClass.Following) upperFrameBoundStruct_;
}
return org.apache.comet.serde.OperatorOuterClass.Following.getDefaultInstance();
}
}
/**
* .spark.spark_operator.Following following = 2;
*/
private org.apache.comet.shaded.protobuf.SingleFieldBuilderV3<
org.apache.comet.serde.OperatorOuterClass.Following, org.apache.comet.serde.OperatorOuterClass.Following.Builder, org.apache.comet.serde.OperatorOuterClass.FollowingOrBuilder>
getFollowingFieldBuilder() {
if (followingBuilder_ == null) {
if (!(upperFrameBoundStructCase_ == 2)) {
upperFrameBoundStruct_ = org.apache.comet.serde.OperatorOuterClass.Following.getDefaultInstance();
}
followingBuilder_ = new org.apache.comet.shaded.protobuf.SingleFieldBuilderV3<
org.apache.comet.serde.OperatorOuterClass.Following, org.apache.comet.serde.OperatorOuterClass.Following.Builder, org.apache.comet.serde.OperatorOuterClass.FollowingOrBuilder>(
(org.apache.comet.serde.OperatorOuterClass.Following) upperFrameBoundStruct_,
getParentForChildren(),
isClean());
upperFrameBoundStruct_ = null;
}
upperFrameBoundStructCase_ = 2;
onChanged();;
return followingBuilder_;
}
private org.apache.comet.shaded.protobuf.SingleFieldBuilderV3<
org.apache.comet.serde.OperatorOuterClass.CurrentRow, org.apache.comet.serde.OperatorOuterClass.CurrentRow.Builder, org.apache.comet.serde.OperatorOuterClass.CurrentRowOrBuilder> currentRowBuilder_;
/**
* .spark.spark_operator.CurrentRow currentRow = 3;
* @return Whether the currentRow field is set.
*/
@java.lang.Override
public boolean hasCurrentRow() {
return upperFrameBoundStructCase_ == 3;
}
/**
* .spark.spark_operator.CurrentRow currentRow = 3;
* @return The currentRow.
*/
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.CurrentRow getCurrentRow() {
if (currentRowBuilder_ == null) {
if (upperFrameBoundStructCase_ == 3) {
return (org.apache.comet.serde.OperatorOuterClass.CurrentRow) upperFrameBoundStruct_;
}
return org.apache.comet.serde.OperatorOuterClass.CurrentRow.getDefaultInstance();
} else {
if (upperFrameBoundStructCase_ == 3) {
return currentRowBuilder_.getMessage();
}
return org.apache.comet.serde.OperatorOuterClass.CurrentRow.getDefaultInstance();
}
}
/**
* .spark.spark_operator.CurrentRow currentRow = 3;
*/
public Builder setCurrentRow(org.apache.comet.serde.OperatorOuterClass.CurrentRow value) {
if (currentRowBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
upperFrameBoundStruct_ = value;
onChanged();
} else {
currentRowBuilder_.setMessage(value);
}
upperFrameBoundStructCase_ = 3;
return this;
}
/**
* .spark.spark_operator.CurrentRow currentRow = 3;
*/
public Builder setCurrentRow(
org.apache.comet.serde.OperatorOuterClass.CurrentRow.Builder builderForValue) {
if (currentRowBuilder_ == null) {
upperFrameBoundStruct_ = builderForValue.build();
onChanged();
} else {
currentRowBuilder_.setMessage(builderForValue.build());
}
upperFrameBoundStructCase_ = 3;
return this;
}
/**
* .spark.spark_operator.CurrentRow currentRow = 3;
*/
public Builder mergeCurrentRow(org.apache.comet.serde.OperatorOuterClass.CurrentRow value) {
if (currentRowBuilder_ == null) {
if (upperFrameBoundStructCase_ == 3 &&
upperFrameBoundStruct_ != org.apache.comet.serde.OperatorOuterClass.CurrentRow.getDefaultInstance()) {
upperFrameBoundStruct_ = org.apache.comet.serde.OperatorOuterClass.CurrentRow.newBuilder((org.apache.comet.serde.OperatorOuterClass.CurrentRow) upperFrameBoundStruct_)
.mergeFrom(value).buildPartial();
} else {
upperFrameBoundStruct_ = value;
}
onChanged();
} else {
if (upperFrameBoundStructCase_ == 3) {
currentRowBuilder_.mergeFrom(value);
}
currentRowBuilder_.setMessage(value);
}
upperFrameBoundStructCase_ = 3;
return this;
}
/**
* .spark.spark_operator.CurrentRow currentRow = 3;
*/
public Builder clearCurrentRow() {
if (currentRowBuilder_ == null) {
if (upperFrameBoundStructCase_ == 3) {
upperFrameBoundStructCase_ = 0;
upperFrameBoundStruct_ = null;
onChanged();
}
} else {
if (upperFrameBoundStructCase_ == 3) {
upperFrameBoundStructCase_ = 0;
upperFrameBoundStruct_ = null;
}
currentRowBuilder_.clear();
}
return this;
}
/**
* .spark.spark_operator.CurrentRow currentRow = 3;
*/
public org.apache.comet.serde.OperatorOuterClass.CurrentRow.Builder getCurrentRowBuilder() {
return getCurrentRowFieldBuilder().getBuilder();
}
/**
* .spark.spark_operator.CurrentRow currentRow = 3;
*/
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.CurrentRowOrBuilder getCurrentRowOrBuilder() {
if ((upperFrameBoundStructCase_ == 3) && (currentRowBuilder_ != null)) {
return currentRowBuilder_.getMessageOrBuilder();
} else {
if (upperFrameBoundStructCase_ == 3) {
return (org.apache.comet.serde.OperatorOuterClass.CurrentRow) upperFrameBoundStruct_;
}
return org.apache.comet.serde.OperatorOuterClass.CurrentRow.getDefaultInstance();
}
}
/**
* .spark.spark_operator.CurrentRow currentRow = 3;
*/
private org.apache.comet.shaded.protobuf.SingleFieldBuilderV3<
org.apache.comet.serde.OperatorOuterClass.CurrentRow, org.apache.comet.serde.OperatorOuterClass.CurrentRow.Builder, org.apache.comet.serde.OperatorOuterClass.CurrentRowOrBuilder>
getCurrentRowFieldBuilder() {
if (currentRowBuilder_ == null) {
if (!(upperFrameBoundStructCase_ == 3)) {
upperFrameBoundStruct_ = org.apache.comet.serde.OperatorOuterClass.CurrentRow.getDefaultInstance();
}
currentRowBuilder_ = new org.apache.comet.shaded.protobuf.SingleFieldBuilderV3<
org.apache.comet.serde.OperatorOuterClass.CurrentRow, org.apache.comet.serde.OperatorOuterClass.CurrentRow.Builder, org.apache.comet.serde.OperatorOuterClass.CurrentRowOrBuilder>(
(org.apache.comet.serde.OperatorOuterClass.CurrentRow) upperFrameBoundStruct_,
getParentForChildren(),
isClean());
upperFrameBoundStruct_ = null;
}
upperFrameBoundStructCase_ = 3;
onChanged();;
return currentRowBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final org.apache.comet.shaded.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final org.apache.comet.shaded.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:spark.spark_operator.UpperWindowFrameBound)
}
// @@protoc_insertion_point(class_scope:spark.spark_operator.UpperWindowFrameBound)
private static final org.apache.comet.serde.OperatorOuterClass.UpperWindowFrameBound DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.comet.serde.OperatorOuterClass.UpperWindowFrameBound();
}
public static org.apache.comet.serde.OperatorOuterClass.UpperWindowFrameBound getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final org.apache.comet.shaded.protobuf.Parser
PARSER = new org.apache.comet.shaded.protobuf.AbstractParser() {
@java.lang.Override
public UpperWindowFrameBound parsePartialFrom(
org.apache.comet.shaded.protobuf.CodedInputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (org.apache.comet.shaded.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (org.apache.comet.shaded.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new org.apache.comet.shaded.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static org.apache.comet.shaded.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public org.apache.comet.shaded.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.UpperWindowFrameBound getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface PrecedingOrBuilder extends
// @@protoc_insertion_point(interface_extends:spark.spark_operator.Preceding)
org.apache.comet.shaded.protobuf.MessageOrBuilder {
/**
* int64 offset = 1;
* @return The offset.
*/
long getOffset();
}
/**
* Protobuf type {@code spark.spark_operator.Preceding}
*/
public static final class Preceding extends
org.apache.comet.shaded.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:spark.spark_operator.Preceding)
PrecedingOrBuilder {
private static final long serialVersionUID = 0L;
// Use Preceding.newBuilder() to construct.
private Preceding(org.apache.comet.shaded.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Preceding() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Preceding();
}
@java.lang.Override
public final org.apache.comet.shaded.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final org.apache.comet.shaded.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_Preceding_descriptor;
}
@java.lang.Override
protected org.apache.comet.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_Preceding_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.comet.serde.OperatorOuterClass.Preceding.class, org.apache.comet.serde.OperatorOuterClass.Preceding.Builder.class);
}
public static final int OFFSET_FIELD_NUMBER = 1;
private long offset_;
/**
* int64 offset = 1;
* @return The offset.
*/
@java.lang.Override
public long getOffset() {
return offset_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(org.apache.comet.shaded.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (offset_ != 0L) {
output.writeInt64(1, offset_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (offset_ != 0L) {
size += org.apache.comet.shaded.protobuf.CodedOutputStream
.computeInt64Size(1, offset_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.comet.serde.OperatorOuterClass.Preceding)) {
return super.equals(obj);
}
org.apache.comet.serde.OperatorOuterClass.Preceding other = (org.apache.comet.serde.OperatorOuterClass.Preceding) obj;
if (getOffset()
!= other.getOffset()) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + OFFSET_FIELD_NUMBER;
hash = (53 * hash) + org.apache.comet.shaded.protobuf.Internal.hashLong(
getOffset());
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.comet.serde.OperatorOuterClass.Preceding parseFrom(
java.nio.ByteBuffer data)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.comet.serde.OperatorOuterClass.Preceding parseFrom(
java.nio.ByteBuffer data,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.Preceding parseFrom(
org.apache.comet.shaded.protobuf.ByteString data)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.comet.serde.OperatorOuterClass.Preceding parseFrom(
org.apache.comet.shaded.protobuf.ByteString data,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.Preceding parseFrom(byte[] data)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.comet.serde.OperatorOuterClass.Preceding parseFrom(
byte[] data,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.Preceding parseFrom(java.io.InputStream input)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.comet.serde.OperatorOuterClass.Preceding parseFrom(
java.io.InputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.Preceding parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.comet.serde.OperatorOuterClass.Preceding parseDelimitedFrom(
java.io.InputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.Preceding parseFrom(
org.apache.comet.shaded.protobuf.CodedInputStream input)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.comet.serde.OperatorOuterClass.Preceding parseFrom(
org.apache.comet.shaded.protobuf.CodedInputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.comet.serde.OperatorOuterClass.Preceding prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
org.apache.comet.shaded.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code spark.spark_operator.Preceding}
*/
public static final class Builder extends
org.apache.comet.shaded.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:spark.spark_operator.Preceding)
org.apache.comet.serde.OperatorOuterClass.PrecedingOrBuilder {
public static final org.apache.comet.shaded.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_Preceding_descriptor;
}
@java.lang.Override
protected org.apache.comet.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_Preceding_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.comet.serde.OperatorOuterClass.Preceding.class, org.apache.comet.serde.OperatorOuterClass.Preceding.Builder.class);
}
// Construct using org.apache.comet.serde.OperatorOuterClass.Preceding.newBuilder()
private Builder() {
}
private Builder(
org.apache.comet.shaded.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
offset_ = 0L;
return this;
}
@java.lang.Override
public org.apache.comet.shaded.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_Preceding_descriptor;
}
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.Preceding getDefaultInstanceForType() {
return org.apache.comet.serde.OperatorOuterClass.Preceding.getDefaultInstance();
}
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.Preceding build() {
org.apache.comet.serde.OperatorOuterClass.Preceding result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.Preceding buildPartial() {
org.apache.comet.serde.OperatorOuterClass.Preceding result = new org.apache.comet.serde.OperatorOuterClass.Preceding(this);
result.offset_ = offset_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
org.apache.comet.shaded.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
org.apache.comet.shaded.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
org.apache.comet.shaded.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
org.apache.comet.shaded.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
org.apache.comet.shaded.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(org.apache.comet.shaded.protobuf.Message other) {
if (other instanceof org.apache.comet.serde.OperatorOuterClass.Preceding) {
return mergeFrom((org.apache.comet.serde.OperatorOuterClass.Preceding)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.comet.serde.OperatorOuterClass.Preceding other) {
if (other == org.apache.comet.serde.OperatorOuterClass.Preceding.getDefaultInstance()) return this;
if (other.getOffset() != 0L) {
setOffset(other.getOffset());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
org.apache.comet.shaded.protobuf.CodedInputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
offset_ = input.readInt64();
break;
} // case 8
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (org.apache.comet.shaded.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private long offset_ ;
/**
* int64 offset = 1;
* @return The offset.
*/
@java.lang.Override
public long getOffset() {
return offset_;
}
/**
* int64 offset = 1;
* @param value The offset to set.
* @return This builder for chaining.
*/
public Builder setOffset(long value) {
offset_ = value;
onChanged();
return this;
}
/**
* int64 offset = 1;
* @return This builder for chaining.
*/
public Builder clearOffset() {
offset_ = 0L;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final org.apache.comet.shaded.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final org.apache.comet.shaded.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:spark.spark_operator.Preceding)
}
// @@protoc_insertion_point(class_scope:spark.spark_operator.Preceding)
private static final org.apache.comet.serde.OperatorOuterClass.Preceding DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.comet.serde.OperatorOuterClass.Preceding();
}
public static org.apache.comet.serde.OperatorOuterClass.Preceding getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final org.apache.comet.shaded.protobuf.Parser
PARSER = new org.apache.comet.shaded.protobuf.AbstractParser() {
@java.lang.Override
public Preceding parsePartialFrom(
org.apache.comet.shaded.protobuf.CodedInputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (org.apache.comet.shaded.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (org.apache.comet.shaded.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new org.apache.comet.shaded.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static org.apache.comet.shaded.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public org.apache.comet.shaded.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.Preceding getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface FollowingOrBuilder extends
// @@protoc_insertion_point(interface_extends:spark.spark_operator.Following)
org.apache.comet.shaded.protobuf.MessageOrBuilder {
/**
* int64 offset = 1;
* @return The offset.
*/
long getOffset();
}
/**
* Protobuf type {@code spark.spark_operator.Following}
*/
public static final class Following extends
org.apache.comet.shaded.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:spark.spark_operator.Following)
FollowingOrBuilder {
private static final long serialVersionUID = 0L;
// Use Following.newBuilder() to construct.
private Following(org.apache.comet.shaded.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Following() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Following();
}
@java.lang.Override
public final org.apache.comet.shaded.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final org.apache.comet.shaded.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_Following_descriptor;
}
@java.lang.Override
protected org.apache.comet.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_Following_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.comet.serde.OperatorOuterClass.Following.class, org.apache.comet.serde.OperatorOuterClass.Following.Builder.class);
}
public static final int OFFSET_FIELD_NUMBER = 1;
private long offset_;
/**
* int64 offset = 1;
* @return The offset.
*/
@java.lang.Override
public long getOffset() {
return offset_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(org.apache.comet.shaded.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (offset_ != 0L) {
output.writeInt64(1, offset_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (offset_ != 0L) {
size += org.apache.comet.shaded.protobuf.CodedOutputStream
.computeInt64Size(1, offset_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.comet.serde.OperatorOuterClass.Following)) {
return super.equals(obj);
}
org.apache.comet.serde.OperatorOuterClass.Following other = (org.apache.comet.serde.OperatorOuterClass.Following) obj;
if (getOffset()
!= other.getOffset()) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + OFFSET_FIELD_NUMBER;
hash = (53 * hash) + org.apache.comet.shaded.protobuf.Internal.hashLong(
getOffset());
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.comet.serde.OperatorOuterClass.Following parseFrom(
java.nio.ByteBuffer data)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.comet.serde.OperatorOuterClass.Following parseFrom(
java.nio.ByteBuffer data,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.Following parseFrom(
org.apache.comet.shaded.protobuf.ByteString data)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.comet.serde.OperatorOuterClass.Following parseFrom(
org.apache.comet.shaded.protobuf.ByteString data,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.Following parseFrom(byte[] data)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.comet.serde.OperatorOuterClass.Following parseFrom(
byte[] data,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.Following parseFrom(java.io.InputStream input)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.comet.serde.OperatorOuterClass.Following parseFrom(
java.io.InputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.Following parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.comet.serde.OperatorOuterClass.Following parseDelimitedFrom(
java.io.InputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.Following parseFrom(
org.apache.comet.shaded.protobuf.CodedInputStream input)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.comet.serde.OperatorOuterClass.Following parseFrom(
org.apache.comet.shaded.protobuf.CodedInputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.comet.serde.OperatorOuterClass.Following prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
org.apache.comet.shaded.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code spark.spark_operator.Following}
*/
public static final class Builder extends
org.apache.comet.shaded.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:spark.spark_operator.Following)
org.apache.comet.serde.OperatorOuterClass.FollowingOrBuilder {
public static final org.apache.comet.shaded.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_Following_descriptor;
}
@java.lang.Override
protected org.apache.comet.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_Following_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.comet.serde.OperatorOuterClass.Following.class, org.apache.comet.serde.OperatorOuterClass.Following.Builder.class);
}
// Construct using org.apache.comet.serde.OperatorOuterClass.Following.newBuilder()
private Builder() {
}
private Builder(
org.apache.comet.shaded.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
offset_ = 0L;
return this;
}
@java.lang.Override
public org.apache.comet.shaded.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_Following_descriptor;
}
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.Following getDefaultInstanceForType() {
return org.apache.comet.serde.OperatorOuterClass.Following.getDefaultInstance();
}
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.Following build() {
org.apache.comet.serde.OperatorOuterClass.Following result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.Following buildPartial() {
org.apache.comet.serde.OperatorOuterClass.Following result = new org.apache.comet.serde.OperatorOuterClass.Following(this);
result.offset_ = offset_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
org.apache.comet.shaded.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
org.apache.comet.shaded.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
org.apache.comet.shaded.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
org.apache.comet.shaded.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
org.apache.comet.shaded.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(org.apache.comet.shaded.protobuf.Message other) {
if (other instanceof org.apache.comet.serde.OperatorOuterClass.Following) {
return mergeFrom((org.apache.comet.serde.OperatorOuterClass.Following)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.comet.serde.OperatorOuterClass.Following other) {
if (other == org.apache.comet.serde.OperatorOuterClass.Following.getDefaultInstance()) return this;
if (other.getOffset() != 0L) {
setOffset(other.getOffset());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
org.apache.comet.shaded.protobuf.CodedInputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
offset_ = input.readInt64();
break;
} // case 8
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (org.apache.comet.shaded.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private long offset_ ;
/**
* int64 offset = 1;
* @return The offset.
*/
@java.lang.Override
public long getOffset() {
return offset_;
}
/**
* int64 offset = 1;
* @param value The offset to set.
* @return This builder for chaining.
*/
public Builder setOffset(long value) {
offset_ = value;
onChanged();
return this;
}
/**
* int64 offset = 1;
* @return This builder for chaining.
*/
public Builder clearOffset() {
offset_ = 0L;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final org.apache.comet.shaded.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final org.apache.comet.shaded.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:spark.spark_operator.Following)
}
// @@protoc_insertion_point(class_scope:spark.spark_operator.Following)
private static final org.apache.comet.serde.OperatorOuterClass.Following DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.comet.serde.OperatorOuterClass.Following();
}
public static org.apache.comet.serde.OperatorOuterClass.Following getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final org.apache.comet.shaded.protobuf.Parser
PARSER = new org.apache.comet.shaded.protobuf.AbstractParser() {
@java.lang.Override
public Following parsePartialFrom(
org.apache.comet.shaded.protobuf.CodedInputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (org.apache.comet.shaded.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (org.apache.comet.shaded.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new org.apache.comet.shaded.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static org.apache.comet.shaded.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public org.apache.comet.shaded.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.Following getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface UnboundedPrecedingOrBuilder extends
// @@protoc_insertion_point(interface_extends:spark.spark_operator.UnboundedPreceding)
org.apache.comet.shaded.protobuf.MessageOrBuilder {
}
/**
* Protobuf type {@code spark.spark_operator.UnboundedPreceding}
*/
public static final class UnboundedPreceding extends
org.apache.comet.shaded.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:spark.spark_operator.UnboundedPreceding)
UnboundedPrecedingOrBuilder {
private static final long serialVersionUID = 0L;
// Use UnboundedPreceding.newBuilder() to construct.
private UnboundedPreceding(org.apache.comet.shaded.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private UnboundedPreceding() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new UnboundedPreceding();
}
@java.lang.Override
public final org.apache.comet.shaded.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final org.apache.comet.shaded.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_UnboundedPreceding_descriptor;
}
@java.lang.Override
protected org.apache.comet.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_UnboundedPreceding_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.comet.serde.OperatorOuterClass.UnboundedPreceding.class, org.apache.comet.serde.OperatorOuterClass.UnboundedPreceding.Builder.class);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(org.apache.comet.shaded.protobuf.CodedOutputStream output)
throws java.io.IOException {
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.comet.serde.OperatorOuterClass.UnboundedPreceding)) {
return super.equals(obj);
}
org.apache.comet.serde.OperatorOuterClass.UnboundedPreceding other = (org.apache.comet.serde.OperatorOuterClass.UnboundedPreceding) obj;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.comet.serde.OperatorOuterClass.UnboundedPreceding parseFrom(
java.nio.ByteBuffer data)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.comet.serde.OperatorOuterClass.UnboundedPreceding parseFrom(
java.nio.ByteBuffer data,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.UnboundedPreceding parseFrom(
org.apache.comet.shaded.protobuf.ByteString data)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.comet.serde.OperatorOuterClass.UnboundedPreceding parseFrom(
org.apache.comet.shaded.protobuf.ByteString data,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.UnboundedPreceding parseFrom(byte[] data)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.comet.serde.OperatorOuterClass.UnboundedPreceding parseFrom(
byte[] data,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.UnboundedPreceding parseFrom(java.io.InputStream input)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.comet.serde.OperatorOuterClass.UnboundedPreceding parseFrom(
java.io.InputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.UnboundedPreceding parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.comet.serde.OperatorOuterClass.UnboundedPreceding parseDelimitedFrom(
java.io.InputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.UnboundedPreceding parseFrom(
org.apache.comet.shaded.protobuf.CodedInputStream input)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.comet.serde.OperatorOuterClass.UnboundedPreceding parseFrom(
org.apache.comet.shaded.protobuf.CodedInputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.comet.serde.OperatorOuterClass.UnboundedPreceding prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
org.apache.comet.shaded.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code spark.spark_operator.UnboundedPreceding}
*/
public static final class Builder extends
org.apache.comet.shaded.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:spark.spark_operator.UnboundedPreceding)
org.apache.comet.serde.OperatorOuterClass.UnboundedPrecedingOrBuilder {
public static final org.apache.comet.shaded.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_UnboundedPreceding_descriptor;
}
@java.lang.Override
protected org.apache.comet.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_UnboundedPreceding_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.comet.serde.OperatorOuterClass.UnboundedPreceding.class, org.apache.comet.serde.OperatorOuterClass.UnboundedPreceding.Builder.class);
}
// Construct using org.apache.comet.serde.OperatorOuterClass.UnboundedPreceding.newBuilder()
private Builder() {
}
private Builder(
org.apache.comet.shaded.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
return this;
}
@java.lang.Override
public org.apache.comet.shaded.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_UnboundedPreceding_descriptor;
}
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.UnboundedPreceding getDefaultInstanceForType() {
return org.apache.comet.serde.OperatorOuterClass.UnboundedPreceding.getDefaultInstance();
}
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.UnboundedPreceding build() {
org.apache.comet.serde.OperatorOuterClass.UnboundedPreceding result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.UnboundedPreceding buildPartial() {
org.apache.comet.serde.OperatorOuterClass.UnboundedPreceding result = new org.apache.comet.serde.OperatorOuterClass.UnboundedPreceding(this);
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
org.apache.comet.shaded.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
org.apache.comet.shaded.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
org.apache.comet.shaded.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
org.apache.comet.shaded.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
org.apache.comet.shaded.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(org.apache.comet.shaded.protobuf.Message other) {
if (other instanceof org.apache.comet.serde.OperatorOuterClass.UnboundedPreceding) {
return mergeFrom((org.apache.comet.serde.OperatorOuterClass.UnboundedPreceding)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.comet.serde.OperatorOuterClass.UnboundedPreceding other) {
if (other == org.apache.comet.serde.OperatorOuterClass.UnboundedPreceding.getDefaultInstance()) return this;
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
org.apache.comet.shaded.protobuf.CodedInputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (org.apache.comet.shaded.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final org.apache.comet.shaded.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final org.apache.comet.shaded.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:spark.spark_operator.UnboundedPreceding)
}
// @@protoc_insertion_point(class_scope:spark.spark_operator.UnboundedPreceding)
private static final org.apache.comet.serde.OperatorOuterClass.UnboundedPreceding DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.comet.serde.OperatorOuterClass.UnboundedPreceding();
}
public static org.apache.comet.serde.OperatorOuterClass.UnboundedPreceding getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final org.apache.comet.shaded.protobuf.Parser
PARSER = new org.apache.comet.shaded.protobuf.AbstractParser() {
@java.lang.Override
public UnboundedPreceding parsePartialFrom(
org.apache.comet.shaded.protobuf.CodedInputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (org.apache.comet.shaded.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (org.apache.comet.shaded.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new org.apache.comet.shaded.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static org.apache.comet.shaded.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public org.apache.comet.shaded.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.UnboundedPreceding getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface UnboundedFollowingOrBuilder extends
// @@protoc_insertion_point(interface_extends:spark.spark_operator.UnboundedFollowing)
org.apache.comet.shaded.protobuf.MessageOrBuilder {
}
/**
* Protobuf type {@code spark.spark_operator.UnboundedFollowing}
*/
public static final class UnboundedFollowing extends
org.apache.comet.shaded.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:spark.spark_operator.UnboundedFollowing)
UnboundedFollowingOrBuilder {
private static final long serialVersionUID = 0L;
// Use UnboundedFollowing.newBuilder() to construct.
private UnboundedFollowing(org.apache.comet.shaded.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private UnboundedFollowing() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new UnboundedFollowing();
}
@java.lang.Override
public final org.apache.comet.shaded.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final org.apache.comet.shaded.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_UnboundedFollowing_descriptor;
}
@java.lang.Override
protected org.apache.comet.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_UnboundedFollowing_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.comet.serde.OperatorOuterClass.UnboundedFollowing.class, org.apache.comet.serde.OperatorOuterClass.UnboundedFollowing.Builder.class);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(org.apache.comet.shaded.protobuf.CodedOutputStream output)
throws java.io.IOException {
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.comet.serde.OperatorOuterClass.UnboundedFollowing)) {
return super.equals(obj);
}
org.apache.comet.serde.OperatorOuterClass.UnboundedFollowing other = (org.apache.comet.serde.OperatorOuterClass.UnboundedFollowing) obj;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.comet.serde.OperatorOuterClass.UnboundedFollowing parseFrom(
java.nio.ByteBuffer data)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.comet.serde.OperatorOuterClass.UnboundedFollowing parseFrom(
java.nio.ByteBuffer data,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.UnboundedFollowing parseFrom(
org.apache.comet.shaded.protobuf.ByteString data)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.comet.serde.OperatorOuterClass.UnboundedFollowing parseFrom(
org.apache.comet.shaded.protobuf.ByteString data,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.UnboundedFollowing parseFrom(byte[] data)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.comet.serde.OperatorOuterClass.UnboundedFollowing parseFrom(
byte[] data,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.UnboundedFollowing parseFrom(java.io.InputStream input)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.comet.serde.OperatorOuterClass.UnboundedFollowing parseFrom(
java.io.InputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.UnboundedFollowing parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.comet.serde.OperatorOuterClass.UnboundedFollowing parseDelimitedFrom(
java.io.InputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.UnboundedFollowing parseFrom(
org.apache.comet.shaded.protobuf.CodedInputStream input)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.comet.serde.OperatorOuterClass.UnboundedFollowing parseFrom(
org.apache.comet.shaded.protobuf.CodedInputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.comet.serde.OperatorOuterClass.UnboundedFollowing prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
org.apache.comet.shaded.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code spark.spark_operator.UnboundedFollowing}
*/
public static final class Builder extends
org.apache.comet.shaded.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:spark.spark_operator.UnboundedFollowing)
org.apache.comet.serde.OperatorOuterClass.UnboundedFollowingOrBuilder {
public static final org.apache.comet.shaded.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_UnboundedFollowing_descriptor;
}
@java.lang.Override
protected org.apache.comet.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_UnboundedFollowing_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.comet.serde.OperatorOuterClass.UnboundedFollowing.class, org.apache.comet.serde.OperatorOuterClass.UnboundedFollowing.Builder.class);
}
// Construct using org.apache.comet.serde.OperatorOuterClass.UnboundedFollowing.newBuilder()
private Builder() {
}
private Builder(
org.apache.comet.shaded.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
return this;
}
@java.lang.Override
public org.apache.comet.shaded.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_UnboundedFollowing_descriptor;
}
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.UnboundedFollowing getDefaultInstanceForType() {
return org.apache.comet.serde.OperatorOuterClass.UnboundedFollowing.getDefaultInstance();
}
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.UnboundedFollowing build() {
org.apache.comet.serde.OperatorOuterClass.UnboundedFollowing result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.UnboundedFollowing buildPartial() {
org.apache.comet.serde.OperatorOuterClass.UnboundedFollowing result = new org.apache.comet.serde.OperatorOuterClass.UnboundedFollowing(this);
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
org.apache.comet.shaded.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
org.apache.comet.shaded.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
org.apache.comet.shaded.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
org.apache.comet.shaded.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
org.apache.comet.shaded.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(org.apache.comet.shaded.protobuf.Message other) {
if (other instanceof org.apache.comet.serde.OperatorOuterClass.UnboundedFollowing) {
return mergeFrom((org.apache.comet.serde.OperatorOuterClass.UnboundedFollowing)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.comet.serde.OperatorOuterClass.UnboundedFollowing other) {
if (other == org.apache.comet.serde.OperatorOuterClass.UnboundedFollowing.getDefaultInstance()) return this;
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
org.apache.comet.shaded.protobuf.CodedInputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (org.apache.comet.shaded.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final org.apache.comet.shaded.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final org.apache.comet.shaded.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:spark.spark_operator.UnboundedFollowing)
}
// @@protoc_insertion_point(class_scope:spark.spark_operator.UnboundedFollowing)
private static final org.apache.comet.serde.OperatorOuterClass.UnboundedFollowing DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.comet.serde.OperatorOuterClass.UnboundedFollowing();
}
public static org.apache.comet.serde.OperatorOuterClass.UnboundedFollowing getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final org.apache.comet.shaded.protobuf.Parser
PARSER = new org.apache.comet.shaded.protobuf.AbstractParser() {
@java.lang.Override
public UnboundedFollowing parsePartialFrom(
org.apache.comet.shaded.protobuf.CodedInputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (org.apache.comet.shaded.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (org.apache.comet.shaded.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new org.apache.comet.shaded.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static org.apache.comet.shaded.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public org.apache.comet.shaded.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.UnboundedFollowing getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface CurrentRowOrBuilder extends
// @@protoc_insertion_point(interface_extends:spark.spark_operator.CurrentRow)
org.apache.comet.shaded.protobuf.MessageOrBuilder {
}
/**
* Protobuf type {@code spark.spark_operator.CurrentRow}
*/
public static final class CurrentRow extends
org.apache.comet.shaded.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:spark.spark_operator.CurrentRow)
CurrentRowOrBuilder {
private static final long serialVersionUID = 0L;
// Use CurrentRow.newBuilder() to construct.
private CurrentRow(org.apache.comet.shaded.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private CurrentRow() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new CurrentRow();
}
@java.lang.Override
public final org.apache.comet.shaded.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final org.apache.comet.shaded.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_CurrentRow_descriptor;
}
@java.lang.Override
protected org.apache.comet.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_CurrentRow_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.comet.serde.OperatorOuterClass.CurrentRow.class, org.apache.comet.serde.OperatorOuterClass.CurrentRow.Builder.class);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(org.apache.comet.shaded.protobuf.CodedOutputStream output)
throws java.io.IOException {
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.comet.serde.OperatorOuterClass.CurrentRow)) {
return super.equals(obj);
}
org.apache.comet.serde.OperatorOuterClass.CurrentRow other = (org.apache.comet.serde.OperatorOuterClass.CurrentRow) obj;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.comet.serde.OperatorOuterClass.CurrentRow parseFrom(
java.nio.ByteBuffer data)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.comet.serde.OperatorOuterClass.CurrentRow parseFrom(
java.nio.ByteBuffer data,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.CurrentRow parseFrom(
org.apache.comet.shaded.protobuf.ByteString data)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.comet.serde.OperatorOuterClass.CurrentRow parseFrom(
org.apache.comet.shaded.protobuf.ByteString data,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.CurrentRow parseFrom(byte[] data)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.comet.serde.OperatorOuterClass.CurrentRow parseFrom(
byte[] data,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.CurrentRow parseFrom(java.io.InputStream input)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.comet.serde.OperatorOuterClass.CurrentRow parseFrom(
java.io.InputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.CurrentRow parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.comet.serde.OperatorOuterClass.CurrentRow parseDelimitedFrom(
java.io.InputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.CurrentRow parseFrom(
org.apache.comet.shaded.protobuf.CodedInputStream input)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.comet.serde.OperatorOuterClass.CurrentRow parseFrom(
org.apache.comet.shaded.protobuf.CodedInputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.comet.serde.OperatorOuterClass.CurrentRow prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
org.apache.comet.shaded.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code spark.spark_operator.CurrentRow}
*/
public static final class Builder extends
org.apache.comet.shaded.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:spark.spark_operator.CurrentRow)
org.apache.comet.serde.OperatorOuterClass.CurrentRowOrBuilder {
public static final org.apache.comet.shaded.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_CurrentRow_descriptor;
}
@java.lang.Override
protected org.apache.comet.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_CurrentRow_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.comet.serde.OperatorOuterClass.CurrentRow.class, org.apache.comet.serde.OperatorOuterClass.CurrentRow.Builder.class);
}
// Construct using org.apache.comet.serde.OperatorOuterClass.CurrentRow.newBuilder()
private Builder() {
}
private Builder(
org.apache.comet.shaded.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
return this;
}
@java.lang.Override
public org.apache.comet.shaded.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_CurrentRow_descriptor;
}
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.CurrentRow getDefaultInstanceForType() {
return org.apache.comet.serde.OperatorOuterClass.CurrentRow.getDefaultInstance();
}
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.CurrentRow build() {
org.apache.comet.serde.OperatorOuterClass.CurrentRow result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.CurrentRow buildPartial() {
org.apache.comet.serde.OperatorOuterClass.CurrentRow result = new org.apache.comet.serde.OperatorOuterClass.CurrentRow(this);
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
org.apache.comet.shaded.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
org.apache.comet.shaded.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
org.apache.comet.shaded.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
org.apache.comet.shaded.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
org.apache.comet.shaded.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(org.apache.comet.shaded.protobuf.Message other) {
if (other instanceof org.apache.comet.serde.OperatorOuterClass.CurrentRow) {
return mergeFrom((org.apache.comet.serde.OperatorOuterClass.CurrentRow)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.comet.serde.OperatorOuterClass.CurrentRow other) {
if (other == org.apache.comet.serde.OperatorOuterClass.CurrentRow.getDefaultInstance()) return this;
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
org.apache.comet.shaded.protobuf.CodedInputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (org.apache.comet.shaded.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final org.apache.comet.shaded.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final org.apache.comet.shaded.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:spark.spark_operator.CurrentRow)
}
// @@protoc_insertion_point(class_scope:spark.spark_operator.CurrentRow)
private static final org.apache.comet.serde.OperatorOuterClass.CurrentRow DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.comet.serde.OperatorOuterClass.CurrentRow();
}
public static org.apache.comet.serde.OperatorOuterClass.CurrentRow getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final org.apache.comet.shaded.protobuf.Parser
PARSER = new org.apache.comet.shaded.protobuf.AbstractParser() {
@java.lang.Override
public CurrentRow parsePartialFrom(
org.apache.comet.shaded.protobuf.CodedInputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (org.apache.comet.shaded.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (org.apache.comet.shaded.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new org.apache.comet.shaded.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static org.apache.comet.shaded.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public org.apache.comet.shaded.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.CurrentRow getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface WindowSpecDefinitionOrBuilder extends
// @@protoc_insertion_point(interface_extends:spark.spark_operator.WindowSpecDefinition)
org.apache.comet.shaded.protobuf.MessageOrBuilder {
/**
* repeated .spark.spark_expression.Expr partitionSpec = 1;
*/
java.util.List
getPartitionSpecList();
/**
* repeated .spark.spark_expression.Expr partitionSpec = 1;
*/
org.apache.comet.serde.ExprOuterClass.Expr getPartitionSpec(int index);
/**
* repeated .spark.spark_expression.Expr partitionSpec = 1;
*/
int getPartitionSpecCount();
/**
* repeated .spark.spark_expression.Expr partitionSpec = 1;
*/
java.util.List extends org.apache.comet.serde.ExprOuterClass.ExprOrBuilder>
getPartitionSpecOrBuilderList();
/**
* repeated .spark.spark_expression.Expr partitionSpec = 1;
*/
org.apache.comet.serde.ExprOuterClass.ExprOrBuilder getPartitionSpecOrBuilder(
int index);
/**
* repeated .spark.spark_expression.Expr orderSpec = 2;
*/
java.util.List
getOrderSpecList();
/**
* repeated .spark.spark_expression.Expr orderSpec = 2;
*/
org.apache.comet.serde.ExprOuterClass.Expr getOrderSpec(int index);
/**
* repeated .spark.spark_expression.Expr orderSpec = 2;
*/
int getOrderSpecCount();
/**
* repeated .spark.spark_expression.Expr orderSpec = 2;
*/
java.util.List extends org.apache.comet.serde.ExprOuterClass.ExprOrBuilder>
getOrderSpecOrBuilderList();
/**
* repeated .spark.spark_expression.Expr orderSpec = 2;
*/
org.apache.comet.serde.ExprOuterClass.ExprOrBuilder getOrderSpecOrBuilder(
int index);
/**
* .spark.spark_operator.WindowFrame frameSpecification = 3;
* @return Whether the frameSpecification field is set.
*/
boolean hasFrameSpecification();
/**
* .spark.spark_operator.WindowFrame frameSpecification = 3;
* @return The frameSpecification.
*/
org.apache.comet.serde.OperatorOuterClass.WindowFrame getFrameSpecification();
/**
* .spark.spark_operator.WindowFrame frameSpecification = 3;
*/
org.apache.comet.serde.OperatorOuterClass.WindowFrameOrBuilder getFrameSpecificationOrBuilder();
}
/**
* Protobuf type {@code spark.spark_operator.WindowSpecDefinition}
*/
public static final class WindowSpecDefinition extends
org.apache.comet.shaded.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:spark.spark_operator.WindowSpecDefinition)
WindowSpecDefinitionOrBuilder {
private static final long serialVersionUID = 0L;
// Use WindowSpecDefinition.newBuilder() to construct.
private WindowSpecDefinition(org.apache.comet.shaded.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private WindowSpecDefinition() {
partitionSpec_ = java.util.Collections.emptyList();
orderSpec_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new WindowSpecDefinition();
}
@java.lang.Override
public final org.apache.comet.shaded.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final org.apache.comet.shaded.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_WindowSpecDefinition_descriptor;
}
@java.lang.Override
protected org.apache.comet.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_WindowSpecDefinition_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.comet.serde.OperatorOuterClass.WindowSpecDefinition.class, org.apache.comet.serde.OperatorOuterClass.WindowSpecDefinition.Builder.class);
}
public static final int PARTITIONSPEC_FIELD_NUMBER = 1;
private java.util.List partitionSpec_;
/**
* repeated .spark.spark_expression.Expr partitionSpec = 1;
*/
@java.lang.Override
public java.util.List getPartitionSpecList() {
return partitionSpec_;
}
/**
* repeated .spark.spark_expression.Expr partitionSpec = 1;
*/
@java.lang.Override
public java.util.List extends org.apache.comet.serde.ExprOuterClass.ExprOrBuilder>
getPartitionSpecOrBuilderList() {
return partitionSpec_;
}
/**
* repeated .spark.spark_expression.Expr partitionSpec = 1;
*/
@java.lang.Override
public int getPartitionSpecCount() {
return partitionSpec_.size();
}
/**
* repeated .spark.spark_expression.Expr partitionSpec = 1;
*/
@java.lang.Override
public org.apache.comet.serde.ExprOuterClass.Expr getPartitionSpec(int index) {
return partitionSpec_.get(index);
}
/**
* repeated .spark.spark_expression.Expr partitionSpec = 1;
*/
@java.lang.Override
public org.apache.comet.serde.ExprOuterClass.ExprOrBuilder getPartitionSpecOrBuilder(
int index) {
return partitionSpec_.get(index);
}
public static final int ORDERSPEC_FIELD_NUMBER = 2;
private java.util.List orderSpec_;
/**
* repeated .spark.spark_expression.Expr orderSpec = 2;
*/
@java.lang.Override
public java.util.List getOrderSpecList() {
return orderSpec_;
}
/**
* repeated .spark.spark_expression.Expr orderSpec = 2;
*/
@java.lang.Override
public java.util.List extends org.apache.comet.serde.ExprOuterClass.ExprOrBuilder>
getOrderSpecOrBuilderList() {
return orderSpec_;
}
/**
* repeated .spark.spark_expression.Expr orderSpec = 2;
*/
@java.lang.Override
public int getOrderSpecCount() {
return orderSpec_.size();
}
/**
* repeated .spark.spark_expression.Expr orderSpec = 2;
*/
@java.lang.Override
public org.apache.comet.serde.ExprOuterClass.Expr getOrderSpec(int index) {
return orderSpec_.get(index);
}
/**
* repeated .spark.spark_expression.Expr orderSpec = 2;
*/
@java.lang.Override
public org.apache.comet.serde.ExprOuterClass.ExprOrBuilder getOrderSpecOrBuilder(
int index) {
return orderSpec_.get(index);
}
public static final int FRAMESPECIFICATION_FIELD_NUMBER = 3;
private org.apache.comet.serde.OperatorOuterClass.WindowFrame frameSpecification_;
/**
* .spark.spark_operator.WindowFrame frameSpecification = 3;
* @return Whether the frameSpecification field is set.
*/
@java.lang.Override
public boolean hasFrameSpecification() {
return frameSpecification_ != null;
}
/**
* .spark.spark_operator.WindowFrame frameSpecification = 3;
* @return The frameSpecification.
*/
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.WindowFrame getFrameSpecification() {
return frameSpecification_ == null ? org.apache.comet.serde.OperatorOuterClass.WindowFrame.getDefaultInstance() : frameSpecification_;
}
/**
* .spark.spark_operator.WindowFrame frameSpecification = 3;
*/
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.WindowFrameOrBuilder getFrameSpecificationOrBuilder() {
return getFrameSpecification();
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(org.apache.comet.shaded.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < partitionSpec_.size(); i++) {
output.writeMessage(1, partitionSpec_.get(i));
}
for (int i = 0; i < orderSpec_.size(); i++) {
output.writeMessage(2, orderSpec_.get(i));
}
if (frameSpecification_ != null) {
output.writeMessage(3, getFrameSpecification());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < partitionSpec_.size(); i++) {
size += org.apache.comet.shaded.protobuf.CodedOutputStream
.computeMessageSize(1, partitionSpec_.get(i));
}
for (int i = 0; i < orderSpec_.size(); i++) {
size += org.apache.comet.shaded.protobuf.CodedOutputStream
.computeMessageSize(2, orderSpec_.get(i));
}
if (frameSpecification_ != null) {
size += org.apache.comet.shaded.protobuf.CodedOutputStream
.computeMessageSize(3, getFrameSpecification());
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.comet.serde.OperatorOuterClass.WindowSpecDefinition)) {
return super.equals(obj);
}
org.apache.comet.serde.OperatorOuterClass.WindowSpecDefinition other = (org.apache.comet.serde.OperatorOuterClass.WindowSpecDefinition) obj;
if (!getPartitionSpecList()
.equals(other.getPartitionSpecList())) return false;
if (!getOrderSpecList()
.equals(other.getOrderSpecList())) return false;
if (hasFrameSpecification() != other.hasFrameSpecification()) return false;
if (hasFrameSpecification()) {
if (!getFrameSpecification()
.equals(other.getFrameSpecification())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getPartitionSpecCount() > 0) {
hash = (37 * hash) + PARTITIONSPEC_FIELD_NUMBER;
hash = (53 * hash) + getPartitionSpecList().hashCode();
}
if (getOrderSpecCount() > 0) {
hash = (37 * hash) + ORDERSPEC_FIELD_NUMBER;
hash = (53 * hash) + getOrderSpecList().hashCode();
}
if (hasFrameSpecification()) {
hash = (37 * hash) + FRAMESPECIFICATION_FIELD_NUMBER;
hash = (53 * hash) + getFrameSpecification().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.comet.serde.OperatorOuterClass.WindowSpecDefinition parseFrom(
java.nio.ByteBuffer data)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.comet.serde.OperatorOuterClass.WindowSpecDefinition parseFrom(
java.nio.ByteBuffer data,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.WindowSpecDefinition parseFrom(
org.apache.comet.shaded.protobuf.ByteString data)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.comet.serde.OperatorOuterClass.WindowSpecDefinition parseFrom(
org.apache.comet.shaded.protobuf.ByteString data,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.WindowSpecDefinition parseFrom(byte[] data)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.comet.serde.OperatorOuterClass.WindowSpecDefinition parseFrom(
byte[] data,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.WindowSpecDefinition parseFrom(java.io.InputStream input)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.comet.serde.OperatorOuterClass.WindowSpecDefinition parseFrom(
java.io.InputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.WindowSpecDefinition parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.comet.serde.OperatorOuterClass.WindowSpecDefinition parseDelimitedFrom(
java.io.InputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.WindowSpecDefinition parseFrom(
org.apache.comet.shaded.protobuf.CodedInputStream input)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.comet.serde.OperatorOuterClass.WindowSpecDefinition parseFrom(
org.apache.comet.shaded.protobuf.CodedInputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.comet.serde.OperatorOuterClass.WindowSpecDefinition prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
org.apache.comet.shaded.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code spark.spark_operator.WindowSpecDefinition}
*/
public static final class Builder extends
org.apache.comet.shaded.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:spark.spark_operator.WindowSpecDefinition)
org.apache.comet.serde.OperatorOuterClass.WindowSpecDefinitionOrBuilder {
public static final org.apache.comet.shaded.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_WindowSpecDefinition_descriptor;
}
@java.lang.Override
protected org.apache.comet.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_WindowSpecDefinition_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.comet.serde.OperatorOuterClass.WindowSpecDefinition.class, org.apache.comet.serde.OperatorOuterClass.WindowSpecDefinition.Builder.class);
}
// Construct using org.apache.comet.serde.OperatorOuterClass.WindowSpecDefinition.newBuilder()
private Builder() {
}
private Builder(
org.apache.comet.shaded.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
if (partitionSpecBuilder_ == null) {
partitionSpec_ = java.util.Collections.emptyList();
} else {
partitionSpec_ = null;
partitionSpecBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
if (orderSpecBuilder_ == null) {
orderSpec_ = java.util.Collections.emptyList();
} else {
orderSpec_ = null;
orderSpecBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
if (frameSpecificationBuilder_ == null) {
frameSpecification_ = null;
} else {
frameSpecification_ = null;
frameSpecificationBuilder_ = null;
}
return this;
}
@java.lang.Override
public org.apache.comet.shaded.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_WindowSpecDefinition_descriptor;
}
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.WindowSpecDefinition getDefaultInstanceForType() {
return org.apache.comet.serde.OperatorOuterClass.WindowSpecDefinition.getDefaultInstance();
}
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.WindowSpecDefinition build() {
org.apache.comet.serde.OperatorOuterClass.WindowSpecDefinition result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.WindowSpecDefinition buildPartial() {
org.apache.comet.serde.OperatorOuterClass.WindowSpecDefinition result = new org.apache.comet.serde.OperatorOuterClass.WindowSpecDefinition(this);
int from_bitField0_ = bitField0_;
if (partitionSpecBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
partitionSpec_ = java.util.Collections.unmodifiableList(partitionSpec_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.partitionSpec_ = partitionSpec_;
} else {
result.partitionSpec_ = partitionSpecBuilder_.build();
}
if (orderSpecBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0)) {
orderSpec_ = java.util.Collections.unmodifiableList(orderSpec_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.orderSpec_ = orderSpec_;
} else {
result.orderSpec_ = orderSpecBuilder_.build();
}
if (frameSpecificationBuilder_ == null) {
result.frameSpecification_ = frameSpecification_;
} else {
result.frameSpecification_ = frameSpecificationBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
org.apache.comet.shaded.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
org.apache.comet.shaded.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
org.apache.comet.shaded.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
org.apache.comet.shaded.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
org.apache.comet.shaded.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(org.apache.comet.shaded.protobuf.Message other) {
if (other instanceof org.apache.comet.serde.OperatorOuterClass.WindowSpecDefinition) {
return mergeFrom((org.apache.comet.serde.OperatorOuterClass.WindowSpecDefinition)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.comet.serde.OperatorOuterClass.WindowSpecDefinition other) {
if (other == org.apache.comet.serde.OperatorOuterClass.WindowSpecDefinition.getDefaultInstance()) return this;
if (partitionSpecBuilder_ == null) {
if (!other.partitionSpec_.isEmpty()) {
if (partitionSpec_.isEmpty()) {
partitionSpec_ = other.partitionSpec_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensurePartitionSpecIsMutable();
partitionSpec_.addAll(other.partitionSpec_);
}
onChanged();
}
} else {
if (!other.partitionSpec_.isEmpty()) {
if (partitionSpecBuilder_.isEmpty()) {
partitionSpecBuilder_.dispose();
partitionSpecBuilder_ = null;
partitionSpec_ = other.partitionSpec_;
bitField0_ = (bitField0_ & ~0x00000001);
partitionSpecBuilder_ =
org.apache.comet.shaded.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getPartitionSpecFieldBuilder() : null;
} else {
partitionSpecBuilder_.addAllMessages(other.partitionSpec_);
}
}
}
if (orderSpecBuilder_ == null) {
if (!other.orderSpec_.isEmpty()) {
if (orderSpec_.isEmpty()) {
orderSpec_ = other.orderSpec_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureOrderSpecIsMutable();
orderSpec_.addAll(other.orderSpec_);
}
onChanged();
}
} else {
if (!other.orderSpec_.isEmpty()) {
if (orderSpecBuilder_.isEmpty()) {
orderSpecBuilder_.dispose();
orderSpecBuilder_ = null;
orderSpec_ = other.orderSpec_;
bitField0_ = (bitField0_ & ~0x00000002);
orderSpecBuilder_ =
org.apache.comet.shaded.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getOrderSpecFieldBuilder() : null;
} else {
orderSpecBuilder_.addAllMessages(other.orderSpec_);
}
}
}
if (other.hasFrameSpecification()) {
mergeFrameSpecification(other.getFrameSpecification());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
org.apache.comet.shaded.protobuf.CodedInputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
org.apache.comet.serde.ExprOuterClass.Expr m =
input.readMessage(
org.apache.comet.serde.ExprOuterClass.Expr.parser(),
extensionRegistry);
if (partitionSpecBuilder_ == null) {
ensurePartitionSpecIsMutable();
partitionSpec_.add(m);
} else {
partitionSpecBuilder_.addMessage(m);
}
break;
} // case 10
case 18: {
org.apache.comet.serde.ExprOuterClass.Expr m =
input.readMessage(
org.apache.comet.serde.ExprOuterClass.Expr.parser(),
extensionRegistry);
if (orderSpecBuilder_ == null) {
ensureOrderSpecIsMutable();
orderSpec_.add(m);
} else {
orderSpecBuilder_.addMessage(m);
}
break;
} // case 18
case 26: {
input.readMessage(
getFrameSpecificationFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 26
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (org.apache.comet.shaded.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.util.List partitionSpec_ =
java.util.Collections.emptyList();
private void ensurePartitionSpecIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
partitionSpec_ = new java.util.ArrayList(partitionSpec_);
bitField0_ |= 0x00000001;
}
}
private org.apache.comet.shaded.protobuf.RepeatedFieldBuilderV3<
org.apache.comet.serde.ExprOuterClass.Expr, org.apache.comet.serde.ExprOuterClass.Expr.Builder, org.apache.comet.serde.ExprOuterClass.ExprOrBuilder> partitionSpecBuilder_;
/**
* repeated .spark.spark_expression.Expr partitionSpec = 1;
*/
public java.util.List getPartitionSpecList() {
if (partitionSpecBuilder_ == null) {
return java.util.Collections.unmodifiableList(partitionSpec_);
} else {
return partitionSpecBuilder_.getMessageList();
}
}
/**
* repeated .spark.spark_expression.Expr partitionSpec = 1;
*/
public int getPartitionSpecCount() {
if (partitionSpecBuilder_ == null) {
return partitionSpec_.size();
} else {
return partitionSpecBuilder_.getCount();
}
}
/**
* repeated .spark.spark_expression.Expr partitionSpec = 1;
*/
public org.apache.comet.serde.ExprOuterClass.Expr getPartitionSpec(int index) {
if (partitionSpecBuilder_ == null) {
return partitionSpec_.get(index);
} else {
return partitionSpecBuilder_.getMessage(index);
}
}
/**
* repeated .spark.spark_expression.Expr partitionSpec = 1;
*/
public Builder setPartitionSpec(
int index, org.apache.comet.serde.ExprOuterClass.Expr value) {
if (partitionSpecBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePartitionSpecIsMutable();
partitionSpec_.set(index, value);
onChanged();
} else {
partitionSpecBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .spark.spark_expression.Expr partitionSpec = 1;
*/
public Builder setPartitionSpec(
int index, org.apache.comet.serde.ExprOuterClass.Expr.Builder builderForValue) {
if (partitionSpecBuilder_ == null) {
ensurePartitionSpecIsMutable();
partitionSpec_.set(index, builderForValue.build());
onChanged();
} else {
partitionSpecBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .spark.spark_expression.Expr partitionSpec = 1;
*/
public Builder addPartitionSpec(org.apache.comet.serde.ExprOuterClass.Expr value) {
if (partitionSpecBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePartitionSpecIsMutable();
partitionSpec_.add(value);
onChanged();
} else {
partitionSpecBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .spark.spark_expression.Expr partitionSpec = 1;
*/
public Builder addPartitionSpec(
int index, org.apache.comet.serde.ExprOuterClass.Expr value) {
if (partitionSpecBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePartitionSpecIsMutable();
partitionSpec_.add(index, value);
onChanged();
} else {
partitionSpecBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .spark.spark_expression.Expr partitionSpec = 1;
*/
public Builder addPartitionSpec(
org.apache.comet.serde.ExprOuterClass.Expr.Builder builderForValue) {
if (partitionSpecBuilder_ == null) {
ensurePartitionSpecIsMutable();
partitionSpec_.add(builderForValue.build());
onChanged();
} else {
partitionSpecBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .spark.spark_expression.Expr partitionSpec = 1;
*/
public Builder addPartitionSpec(
int index, org.apache.comet.serde.ExprOuterClass.Expr.Builder builderForValue) {
if (partitionSpecBuilder_ == null) {
ensurePartitionSpecIsMutable();
partitionSpec_.add(index, builderForValue.build());
onChanged();
} else {
partitionSpecBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .spark.spark_expression.Expr partitionSpec = 1;
*/
public Builder addAllPartitionSpec(
java.lang.Iterable extends org.apache.comet.serde.ExprOuterClass.Expr> values) {
if (partitionSpecBuilder_ == null) {
ensurePartitionSpecIsMutable();
org.apache.comet.shaded.protobuf.AbstractMessageLite.Builder.addAll(
values, partitionSpec_);
onChanged();
} else {
partitionSpecBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .spark.spark_expression.Expr partitionSpec = 1;
*/
public Builder clearPartitionSpec() {
if (partitionSpecBuilder_ == null) {
partitionSpec_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
partitionSpecBuilder_.clear();
}
return this;
}
/**
* repeated .spark.spark_expression.Expr partitionSpec = 1;
*/
public Builder removePartitionSpec(int index) {
if (partitionSpecBuilder_ == null) {
ensurePartitionSpecIsMutable();
partitionSpec_.remove(index);
onChanged();
} else {
partitionSpecBuilder_.remove(index);
}
return this;
}
/**
* repeated .spark.spark_expression.Expr partitionSpec = 1;
*/
public org.apache.comet.serde.ExprOuterClass.Expr.Builder getPartitionSpecBuilder(
int index) {
return getPartitionSpecFieldBuilder().getBuilder(index);
}
/**
* repeated .spark.spark_expression.Expr partitionSpec = 1;
*/
public org.apache.comet.serde.ExprOuterClass.ExprOrBuilder getPartitionSpecOrBuilder(
int index) {
if (partitionSpecBuilder_ == null) {
return partitionSpec_.get(index); } else {
return partitionSpecBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .spark.spark_expression.Expr partitionSpec = 1;
*/
public java.util.List extends org.apache.comet.serde.ExprOuterClass.ExprOrBuilder>
getPartitionSpecOrBuilderList() {
if (partitionSpecBuilder_ != null) {
return partitionSpecBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(partitionSpec_);
}
}
/**
* repeated .spark.spark_expression.Expr partitionSpec = 1;
*/
public org.apache.comet.serde.ExprOuterClass.Expr.Builder addPartitionSpecBuilder() {
return getPartitionSpecFieldBuilder().addBuilder(
org.apache.comet.serde.ExprOuterClass.Expr.getDefaultInstance());
}
/**
* repeated .spark.spark_expression.Expr partitionSpec = 1;
*/
public org.apache.comet.serde.ExprOuterClass.Expr.Builder addPartitionSpecBuilder(
int index) {
return getPartitionSpecFieldBuilder().addBuilder(
index, org.apache.comet.serde.ExprOuterClass.Expr.getDefaultInstance());
}
/**
* repeated .spark.spark_expression.Expr partitionSpec = 1;
*/
public java.util.List
getPartitionSpecBuilderList() {
return getPartitionSpecFieldBuilder().getBuilderList();
}
private org.apache.comet.shaded.protobuf.RepeatedFieldBuilderV3<
org.apache.comet.serde.ExprOuterClass.Expr, org.apache.comet.serde.ExprOuterClass.Expr.Builder, org.apache.comet.serde.ExprOuterClass.ExprOrBuilder>
getPartitionSpecFieldBuilder() {
if (partitionSpecBuilder_ == null) {
partitionSpecBuilder_ = new org.apache.comet.shaded.protobuf.RepeatedFieldBuilderV3<
org.apache.comet.serde.ExprOuterClass.Expr, org.apache.comet.serde.ExprOuterClass.Expr.Builder, org.apache.comet.serde.ExprOuterClass.ExprOrBuilder>(
partitionSpec_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
partitionSpec_ = null;
}
return partitionSpecBuilder_;
}
private java.util.List orderSpec_ =
java.util.Collections.emptyList();
private void ensureOrderSpecIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
orderSpec_ = new java.util.ArrayList(orderSpec_);
bitField0_ |= 0x00000002;
}
}
private org.apache.comet.shaded.protobuf.RepeatedFieldBuilderV3<
org.apache.comet.serde.ExprOuterClass.Expr, org.apache.comet.serde.ExprOuterClass.Expr.Builder, org.apache.comet.serde.ExprOuterClass.ExprOrBuilder> orderSpecBuilder_;
/**
* repeated .spark.spark_expression.Expr orderSpec = 2;
*/
public java.util.List getOrderSpecList() {
if (orderSpecBuilder_ == null) {
return java.util.Collections.unmodifiableList(orderSpec_);
} else {
return orderSpecBuilder_.getMessageList();
}
}
/**
* repeated .spark.spark_expression.Expr orderSpec = 2;
*/
public int getOrderSpecCount() {
if (orderSpecBuilder_ == null) {
return orderSpec_.size();
} else {
return orderSpecBuilder_.getCount();
}
}
/**
* repeated .spark.spark_expression.Expr orderSpec = 2;
*/
public org.apache.comet.serde.ExprOuterClass.Expr getOrderSpec(int index) {
if (orderSpecBuilder_ == null) {
return orderSpec_.get(index);
} else {
return orderSpecBuilder_.getMessage(index);
}
}
/**
* repeated .spark.spark_expression.Expr orderSpec = 2;
*/
public Builder setOrderSpec(
int index, org.apache.comet.serde.ExprOuterClass.Expr value) {
if (orderSpecBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureOrderSpecIsMutable();
orderSpec_.set(index, value);
onChanged();
} else {
orderSpecBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .spark.spark_expression.Expr orderSpec = 2;
*/
public Builder setOrderSpec(
int index, org.apache.comet.serde.ExprOuterClass.Expr.Builder builderForValue) {
if (orderSpecBuilder_ == null) {
ensureOrderSpecIsMutable();
orderSpec_.set(index, builderForValue.build());
onChanged();
} else {
orderSpecBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .spark.spark_expression.Expr orderSpec = 2;
*/
public Builder addOrderSpec(org.apache.comet.serde.ExprOuterClass.Expr value) {
if (orderSpecBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureOrderSpecIsMutable();
orderSpec_.add(value);
onChanged();
} else {
orderSpecBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .spark.spark_expression.Expr orderSpec = 2;
*/
public Builder addOrderSpec(
int index, org.apache.comet.serde.ExprOuterClass.Expr value) {
if (orderSpecBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureOrderSpecIsMutable();
orderSpec_.add(index, value);
onChanged();
} else {
orderSpecBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .spark.spark_expression.Expr orderSpec = 2;
*/
public Builder addOrderSpec(
org.apache.comet.serde.ExprOuterClass.Expr.Builder builderForValue) {
if (orderSpecBuilder_ == null) {
ensureOrderSpecIsMutable();
orderSpec_.add(builderForValue.build());
onChanged();
} else {
orderSpecBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .spark.spark_expression.Expr orderSpec = 2;
*/
public Builder addOrderSpec(
int index, org.apache.comet.serde.ExprOuterClass.Expr.Builder builderForValue) {
if (orderSpecBuilder_ == null) {
ensureOrderSpecIsMutable();
orderSpec_.add(index, builderForValue.build());
onChanged();
} else {
orderSpecBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .spark.spark_expression.Expr orderSpec = 2;
*/
public Builder addAllOrderSpec(
java.lang.Iterable extends org.apache.comet.serde.ExprOuterClass.Expr> values) {
if (orderSpecBuilder_ == null) {
ensureOrderSpecIsMutable();
org.apache.comet.shaded.protobuf.AbstractMessageLite.Builder.addAll(
values, orderSpec_);
onChanged();
} else {
orderSpecBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .spark.spark_expression.Expr orderSpec = 2;
*/
public Builder clearOrderSpec() {
if (orderSpecBuilder_ == null) {
orderSpec_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
orderSpecBuilder_.clear();
}
return this;
}
/**
* repeated .spark.spark_expression.Expr orderSpec = 2;
*/
public Builder removeOrderSpec(int index) {
if (orderSpecBuilder_ == null) {
ensureOrderSpecIsMutable();
orderSpec_.remove(index);
onChanged();
} else {
orderSpecBuilder_.remove(index);
}
return this;
}
/**
* repeated .spark.spark_expression.Expr orderSpec = 2;
*/
public org.apache.comet.serde.ExprOuterClass.Expr.Builder getOrderSpecBuilder(
int index) {
return getOrderSpecFieldBuilder().getBuilder(index);
}
/**
* repeated .spark.spark_expression.Expr orderSpec = 2;
*/
public org.apache.comet.serde.ExprOuterClass.ExprOrBuilder getOrderSpecOrBuilder(
int index) {
if (orderSpecBuilder_ == null) {
return orderSpec_.get(index); } else {
return orderSpecBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .spark.spark_expression.Expr orderSpec = 2;
*/
public java.util.List extends org.apache.comet.serde.ExprOuterClass.ExprOrBuilder>
getOrderSpecOrBuilderList() {
if (orderSpecBuilder_ != null) {
return orderSpecBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(orderSpec_);
}
}
/**
* repeated .spark.spark_expression.Expr orderSpec = 2;
*/
public org.apache.comet.serde.ExprOuterClass.Expr.Builder addOrderSpecBuilder() {
return getOrderSpecFieldBuilder().addBuilder(
org.apache.comet.serde.ExprOuterClass.Expr.getDefaultInstance());
}
/**
* repeated .spark.spark_expression.Expr orderSpec = 2;
*/
public org.apache.comet.serde.ExprOuterClass.Expr.Builder addOrderSpecBuilder(
int index) {
return getOrderSpecFieldBuilder().addBuilder(
index, org.apache.comet.serde.ExprOuterClass.Expr.getDefaultInstance());
}
/**
* repeated .spark.spark_expression.Expr orderSpec = 2;
*/
public java.util.List
getOrderSpecBuilderList() {
return getOrderSpecFieldBuilder().getBuilderList();
}
private org.apache.comet.shaded.protobuf.RepeatedFieldBuilderV3<
org.apache.comet.serde.ExprOuterClass.Expr, org.apache.comet.serde.ExprOuterClass.Expr.Builder, org.apache.comet.serde.ExprOuterClass.ExprOrBuilder>
getOrderSpecFieldBuilder() {
if (orderSpecBuilder_ == null) {
orderSpecBuilder_ = new org.apache.comet.shaded.protobuf.RepeatedFieldBuilderV3<
org.apache.comet.serde.ExprOuterClass.Expr, org.apache.comet.serde.ExprOuterClass.Expr.Builder, org.apache.comet.serde.ExprOuterClass.ExprOrBuilder>(
orderSpec_,
((bitField0_ & 0x00000002) != 0),
getParentForChildren(),
isClean());
orderSpec_ = null;
}
return orderSpecBuilder_;
}
private org.apache.comet.serde.OperatorOuterClass.WindowFrame frameSpecification_;
private org.apache.comet.shaded.protobuf.SingleFieldBuilderV3<
org.apache.comet.serde.OperatorOuterClass.WindowFrame, org.apache.comet.serde.OperatorOuterClass.WindowFrame.Builder, org.apache.comet.serde.OperatorOuterClass.WindowFrameOrBuilder> frameSpecificationBuilder_;
/**
* .spark.spark_operator.WindowFrame frameSpecification = 3;
* @return Whether the frameSpecification field is set.
*/
public boolean hasFrameSpecification() {
return frameSpecificationBuilder_ != null || frameSpecification_ != null;
}
/**
* .spark.spark_operator.WindowFrame frameSpecification = 3;
* @return The frameSpecification.
*/
public org.apache.comet.serde.OperatorOuterClass.WindowFrame getFrameSpecification() {
if (frameSpecificationBuilder_ == null) {
return frameSpecification_ == null ? org.apache.comet.serde.OperatorOuterClass.WindowFrame.getDefaultInstance() : frameSpecification_;
} else {
return frameSpecificationBuilder_.getMessage();
}
}
/**
* .spark.spark_operator.WindowFrame frameSpecification = 3;
*/
public Builder setFrameSpecification(org.apache.comet.serde.OperatorOuterClass.WindowFrame value) {
if (frameSpecificationBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
frameSpecification_ = value;
onChanged();
} else {
frameSpecificationBuilder_.setMessage(value);
}
return this;
}
/**
* .spark.spark_operator.WindowFrame frameSpecification = 3;
*/
public Builder setFrameSpecification(
org.apache.comet.serde.OperatorOuterClass.WindowFrame.Builder builderForValue) {
if (frameSpecificationBuilder_ == null) {
frameSpecification_ = builderForValue.build();
onChanged();
} else {
frameSpecificationBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .spark.spark_operator.WindowFrame frameSpecification = 3;
*/
public Builder mergeFrameSpecification(org.apache.comet.serde.OperatorOuterClass.WindowFrame value) {
if (frameSpecificationBuilder_ == null) {
if (frameSpecification_ != null) {
frameSpecification_ =
org.apache.comet.serde.OperatorOuterClass.WindowFrame.newBuilder(frameSpecification_).mergeFrom(value).buildPartial();
} else {
frameSpecification_ = value;
}
onChanged();
} else {
frameSpecificationBuilder_.mergeFrom(value);
}
return this;
}
/**
* .spark.spark_operator.WindowFrame frameSpecification = 3;
*/
public Builder clearFrameSpecification() {
if (frameSpecificationBuilder_ == null) {
frameSpecification_ = null;
onChanged();
} else {
frameSpecification_ = null;
frameSpecificationBuilder_ = null;
}
return this;
}
/**
* .spark.spark_operator.WindowFrame frameSpecification = 3;
*/
public org.apache.comet.serde.OperatorOuterClass.WindowFrame.Builder getFrameSpecificationBuilder() {
onChanged();
return getFrameSpecificationFieldBuilder().getBuilder();
}
/**
* .spark.spark_operator.WindowFrame frameSpecification = 3;
*/
public org.apache.comet.serde.OperatorOuterClass.WindowFrameOrBuilder getFrameSpecificationOrBuilder() {
if (frameSpecificationBuilder_ != null) {
return frameSpecificationBuilder_.getMessageOrBuilder();
} else {
return frameSpecification_ == null ?
org.apache.comet.serde.OperatorOuterClass.WindowFrame.getDefaultInstance() : frameSpecification_;
}
}
/**
* .spark.spark_operator.WindowFrame frameSpecification = 3;
*/
private org.apache.comet.shaded.protobuf.SingleFieldBuilderV3<
org.apache.comet.serde.OperatorOuterClass.WindowFrame, org.apache.comet.serde.OperatorOuterClass.WindowFrame.Builder, org.apache.comet.serde.OperatorOuterClass.WindowFrameOrBuilder>
getFrameSpecificationFieldBuilder() {
if (frameSpecificationBuilder_ == null) {
frameSpecificationBuilder_ = new org.apache.comet.shaded.protobuf.SingleFieldBuilderV3<
org.apache.comet.serde.OperatorOuterClass.WindowFrame, org.apache.comet.serde.OperatorOuterClass.WindowFrame.Builder, org.apache.comet.serde.OperatorOuterClass.WindowFrameOrBuilder>(
getFrameSpecification(),
getParentForChildren(),
isClean());
frameSpecification_ = null;
}
return frameSpecificationBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final org.apache.comet.shaded.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final org.apache.comet.shaded.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:spark.spark_operator.WindowSpecDefinition)
}
// @@protoc_insertion_point(class_scope:spark.spark_operator.WindowSpecDefinition)
private static final org.apache.comet.serde.OperatorOuterClass.WindowSpecDefinition DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.comet.serde.OperatorOuterClass.WindowSpecDefinition();
}
public static org.apache.comet.serde.OperatorOuterClass.WindowSpecDefinition getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final org.apache.comet.shaded.protobuf.Parser
PARSER = new org.apache.comet.shaded.protobuf.AbstractParser() {
@java.lang.Override
public WindowSpecDefinition parsePartialFrom(
org.apache.comet.shaded.protobuf.CodedInputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (org.apache.comet.shaded.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (org.apache.comet.shaded.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new org.apache.comet.shaded.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static org.apache.comet.shaded.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public org.apache.comet.shaded.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.WindowSpecDefinition getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface WindowOrBuilder extends
// @@protoc_insertion_point(interface_extends:spark.spark_operator.Window)
org.apache.comet.shaded.protobuf.MessageOrBuilder {
/**
* repeated .spark.spark_operator.WindowExpr window_expr = 1;
*/
java.util.List
getWindowExprList();
/**
* repeated .spark.spark_operator.WindowExpr window_expr = 1;
*/
org.apache.comet.serde.OperatorOuterClass.WindowExpr getWindowExpr(int index);
/**
* repeated .spark.spark_operator.WindowExpr window_expr = 1;
*/
int getWindowExprCount();
/**
* repeated .spark.spark_operator.WindowExpr window_expr = 1;
*/
java.util.List extends org.apache.comet.serde.OperatorOuterClass.WindowExprOrBuilder>
getWindowExprOrBuilderList();
/**
* repeated .spark.spark_operator.WindowExpr window_expr = 1;
*/
org.apache.comet.serde.OperatorOuterClass.WindowExprOrBuilder getWindowExprOrBuilder(
int index);
/**
* repeated .spark.spark_expression.Expr order_by_list = 2;
*/
java.util.List
getOrderByListList();
/**
* repeated .spark.spark_expression.Expr order_by_list = 2;
*/
org.apache.comet.serde.ExprOuterClass.Expr getOrderByList(int index);
/**
* repeated .spark.spark_expression.Expr order_by_list = 2;
*/
int getOrderByListCount();
/**
* repeated .spark.spark_expression.Expr order_by_list = 2;
*/
java.util.List extends org.apache.comet.serde.ExprOuterClass.ExprOrBuilder>
getOrderByListOrBuilderList();
/**
* repeated .spark.spark_expression.Expr order_by_list = 2;
*/
org.apache.comet.serde.ExprOuterClass.ExprOrBuilder getOrderByListOrBuilder(
int index);
/**
* repeated .spark.spark_expression.Expr partition_by_list = 3;
*/
java.util.List
getPartitionByListList();
/**
* repeated .spark.spark_expression.Expr partition_by_list = 3;
*/
org.apache.comet.serde.ExprOuterClass.Expr getPartitionByList(int index);
/**
* repeated .spark.spark_expression.Expr partition_by_list = 3;
*/
int getPartitionByListCount();
/**
* repeated .spark.spark_expression.Expr partition_by_list = 3;
*/
java.util.List extends org.apache.comet.serde.ExprOuterClass.ExprOrBuilder>
getPartitionByListOrBuilderList();
/**
* repeated .spark.spark_expression.Expr partition_by_list = 3;
*/
org.apache.comet.serde.ExprOuterClass.ExprOrBuilder getPartitionByListOrBuilder(
int index);
/**
* .spark.spark_operator.Operator child = 4;
* @return Whether the child field is set.
*/
boolean hasChild();
/**
* .spark.spark_operator.Operator child = 4;
* @return The child.
*/
org.apache.comet.serde.OperatorOuterClass.Operator getChild();
/**
* .spark.spark_operator.Operator child = 4;
*/
org.apache.comet.serde.OperatorOuterClass.OperatorOrBuilder getChildOrBuilder();
}
/**
* Protobuf type {@code spark.spark_operator.Window}
*/
public static final class Window extends
org.apache.comet.shaded.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:spark.spark_operator.Window)
WindowOrBuilder {
private static final long serialVersionUID = 0L;
// Use Window.newBuilder() to construct.
private Window(org.apache.comet.shaded.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Window() {
windowExpr_ = java.util.Collections.emptyList();
orderByList_ = java.util.Collections.emptyList();
partitionByList_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Window();
}
@java.lang.Override
public final org.apache.comet.shaded.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final org.apache.comet.shaded.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_Window_descriptor;
}
@java.lang.Override
protected org.apache.comet.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_Window_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.comet.serde.OperatorOuterClass.Window.class, org.apache.comet.serde.OperatorOuterClass.Window.Builder.class);
}
public static final int WINDOW_EXPR_FIELD_NUMBER = 1;
private java.util.List windowExpr_;
/**
* repeated .spark.spark_operator.WindowExpr window_expr = 1;
*/
@java.lang.Override
public java.util.List getWindowExprList() {
return windowExpr_;
}
/**
* repeated .spark.spark_operator.WindowExpr window_expr = 1;
*/
@java.lang.Override
public java.util.List extends org.apache.comet.serde.OperatorOuterClass.WindowExprOrBuilder>
getWindowExprOrBuilderList() {
return windowExpr_;
}
/**
* repeated .spark.spark_operator.WindowExpr window_expr = 1;
*/
@java.lang.Override
public int getWindowExprCount() {
return windowExpr_.size();
}
/**
* repeated .spark.spark_operator.WindowExpr window_expr = 1;
*/
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.WindowExpr getWindowExpr(int index) {
return windowExpr_.get(index);
}
/**
* repeated .spark.spark_operator.WindowExpr window_expr = 1;
*/
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.WindowExprOrBuilder getWindowExprOrBuilder(
int index) {
return windowExpr_.get(index);
}
public static final int ORDER_BY_LIST_FIELD_NUMBER = 2;
private java.util.List orderByList_;
/**
* repeated .spark.spark_expression.Expr order_by_list = 2;
*/
@java.lang.Override
public java.util.List getOrderByListList() {
return orderByList_;
}
/**
* repeated .spark.spark_expression.Expr order_by_list = 2;
*/
@java.lang.Override
public java.util.List extends org.apache.comet.serde.ExprOuterClass.ExprOrBuilder>
getOrderByListOrBuilderList() {
return orderByList_;
}
/**
* repeated .spark.spark_expression.Expr order_by_list = 2;
*/
@java.lang.Override
public int getOrderByListCount() {
return orderByList_.size();
}
/**
* repeated .spark.spark_expression.Expr order_by_list = 2;
*/
@java.lang.Override
public org.apache.comet.serde.ExprOuterClass.Expr getOrderByList(int index) {
return orderByList_.get(index);
}
/**
* repeated .spark.spark_expression.Expr order_by_list = 2;
*/
@java.lang.Override
public org.apache.comet.serde.ExprOuterClass.ExprOrBuilder getOrderByListOrBuilder(
int index) {
return orderByList_.get(index);
}
public static final int PARTITION_BY_LIST_FIELD_NUMBER = 3;
private java.util.List partitionByList_;
/**
* repeated .spark.spark_expression.Expr partition_by_list = 3;
*/
@java.lang.Override
public java.util.List getPartitionByListList() {
return partitionByList_;
}
/**
* repeated .spark.spark_expression.Expr partition_by_list = 3;
*/
@java.lang.Override
public java.util.List extends org.apache.comet.serde.ExprOuterClass.ExprOrBuilder>
getPartitionByListOrBuilderList() {
return partitionByList_;
}
/**
* repeated .spark.spark_expression.Expr partition_by_list = 3;
*/
@java.lang.Override
public int getPartitionByListCount() {
return partitionByList_.size();
}
/**
* repeated .spark.spark_expression.Expr partition_by_list = 3;
*/
@java.lang.Override
public org.apache.comet.serde.ExprOuterClass.Expr getPartitionByList(int index) {
return partitionByList_.get(index);
}
/**
* repeated .spark.spark_expression.Expr partition_by_list = 3;
*/
@java.lang.Override
public org.apache.comet.serde.ExprOuterClass.ExprOrBuilder getPartitionByListOrBuilder(
int index) {
return partitionByList_.get(index);
}
public static final int CHILD_FIELD_NUMBER = 4;
private org.apache.comet.serde.OperatorOuterClass.Operator child_;
/**
* .spark.spark_operator.Operator child = 4;
* @return Whether the child field is set.
*/
@java.lang.Override
public boolean hasChild() {
return child_ != null;
}
/**
* .spark.spark_operator.Operator child = 4;
* @return The child.
*/
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.Operator getChild() {
return child_ == null ? org.apache.comet.serde.OperatorOuterClass.Operator.getDefaultInstance() : child_;
}
/**
* .spark.spark_operator.Operator child = 4;
*/
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.OperatorOrBuilder getChildOrBuilder() {
return getChild();
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(org.apache.comet.shaded.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < windowExpr_.size(); i++) {
output.writeMessage(1, windowExpr_.get(i));
}
for (int i = 0; i < orderByList_.size(); i++) {
output.writeMessage(2, orderByList_.get(i));
}
for (int i = 0; i < partitionByList_.size(); i++) {
output.writeMessage(3, partitionByList_.get(i));
}
if (child_ != null) {
output.writeMessage(4, getChild());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < windowExpr_.size(); i++) {
size += org.apache.comet.shaded.protobuf.CodedOutputStream
.computeMessageSize(1, windowExpr_.get(i));
}
for (int i = 0; i < orderByList_.size(); i++) {
size += org.apache.comet.shaded.protobuf.CodedOutputStream
.computeMessageSize(2, orderByList_.get(i));
}
for (int i = 0; i < partitionByList_.size(); i++) {
size += org.apache.comet.shaded.protobuf.CodedOutputStream
.computeMessageSize(3, partitionByList_.get(i));
}
if (child_ != null) {
size += org.apache.comet.shaded.protobuf.CodedOutputStream
.computeMessageSize(4, getChild());
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.apache.comet.serde.OperatorOuterClass.Window)) {
return super.equals(obj);
}
org.apache.comet.serde.OperatorOuterClass.Window other = (org.apache.comet.serde.OperatorOuterClass.Window) obj;
if (!getWindowExprList()
.equals(other.getWindowExprList())) return false;
if (!getOrderByListList()
.equals(other.getOrderByListList())) return false;
if (!getPartitionByListList()
.equals(other.getPartitionByListList())) return false;
if (hasChild() != other.hasChild()) return false;
if (hasChild()) {
if (!getChild()
.equals(other.getChild())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getWindowExprCount() > 0) {
hash = (37 * hash) + WINDOW_EXPR_FIELD_NUMBER;
hash = (53 * hash) + getWindowExprList().hashCode();
}
if (getOrderByListCount() > 0) {
hash = (37 * hash) + ORDER_BY_LIST_FIELD_NUMBER;
hash = (53 * hash) + getOrderByListList().hashCode();
}
if (getPartitionByListCount() > 0) {
hash = (37 * hash) + PARTITION_BY_LIST_FIELD_NUMBER;
hash = (53 * hash) + getPartitionByListList().hashCode();
}
if (hasChild()) {
hash = (37 * hash) + CHILD_FIELD_NUMBER;
hash = (53 * hash) + getChild().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.apache.comet.serde.OperatorOuterClass.Window parseFrom(
java.nio.ByteBuffer data)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.comet.serde.OperatorOuterClass.Window parseFrom(
java.nio.ByteBuffer data,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.Window parseFrom(
org.apache.comet.shaded.protobuf.ByteString data)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.comet.serde.OperatorOuterClass.Window parseFrom(
org.apache.comet.shaded.protobuf.ByteString data,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.Window parseFrom(byte[] data)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.comet.serde.OperatorOuterClass.Window parseFrom(
byte[] data,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.Window parseFrom(java.io.InputStream input)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.comet.serde.OperatorOuterClass.Window parseFrom(
java.io.InputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.Window parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static org.apache.comet.serde.OperatorOuterClass.Window parseDelimitedFrom(
java.io.InputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static org.apache.comet.serde.OperatorOuterClass.Window parseFrom(
org.apache.comet.shaded.protobuf.CodedInputStream input)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static org.apache.comet.serde.OperatorOuterClass.Window parseFrom(
org.apache.comet.shaded.protobuf.CodedInputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return org.apache.comet.shaded.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(org.apache.comet.serde.OperatorOuterClass.Window prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
org.apache.comet.shaded.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code spark.spark_operator.Window}
*/
public static final class Builder extends
org.apache.comet.shaded.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:spark.spark_operator.Window)
org.apache.comet.serde.OperatorOuterClass.WindowOrBuilder {
public static final org.apache.comet.shaded.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_Window_descriptor;
}
@java.lang.Override
protected org.apache.comet.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_Window_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.comet.serde.OperatorOuterClass.Window.class, org.apache.comet.serde.OperatorOuterClass.Window.Builder.class);
}
// Construct using org.apache.comet.serde.OperatorOuterClass.Window.newBuilder()
private Builder() {
}
private Builder(
org.apache.comet.shaded.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
if (windowExprBuilder_ == null) {
windowExpr_ = java.util.Collections.emptyList();
} else {
windowExpr_ = null;
windowExprBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000001);
if (orderByListBuilder_ == null) {
orderByList_ = java.util.Collections.emptyList();
} else {
orderByList_ = null;
orderByListBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
if (partitionByListBuilder_ == null) {
partitionByList_ = java.util.Collections.emptyList();
} else {
partitionByList_ = null;
partitionByListBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000004);
if (childBuilder_ == null) {
child_ = null;
} else {
child_ = null;
childBuilder_ = null;
}
return this;
}
@java.lang.Override
public org.apache.comet.shaded.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.comet.serde.OperatorOuterClass.internal_static_spark_spark_operator_Window_descriptor;
}
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.Window getDefaultInstanceForType() {
return org.apache.comet.serde.OperatorOuterClass.Window.getDefaultInstance();
}
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.Window build() {
org.apache.comet.serde.OperatorOuterClass.Window result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.Window buildPartial() {
org.apache.comet.serde.OperatorOuterClass.Window result = new org.apache.comet.serde.OperatorOuterClass.Window(this);
int from_bitField0_ = bitField0_;
if (windowExprBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
windowExpr_ = java.util.Collections.unmodifiableList(windowExpr_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.windowExpr_ = windowExpr_;
} else {
result.windowExpr_ = windowExprBuilder_.build();
}
if (orderByListBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0)) {
orderByList_ = java.util.Collections.unmodifiableList(orderByList_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.orderByList_ = orderByList_;
} else {
result.orderByList_ = orderByListBuilder_.build();
}
if (partitionByListBuilder_ == null) {
if (((bitField0_ & 0x00000004) != 0)) {
partitionByList_ = java.util.Collections.unmodifiableList(partitionByList_);
bitField0_ = (bitField0_ & ~0x00000004);
}
result.partitionByList_ = partitionByList_;
} else {
result.partitionByList_ = partitionByListBuilder_.build();
}
if (childBuilder_ == null) {
result.child_ = child_;
} else {
result.child_ = childBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
org.apache.comet.shaded.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
org.apache.comet.shaded.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
org.apache.comet.shaded.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
org.apache.comet.shaded.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
org.apache.comet.shaded.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(org.apache.comet.shaded.protobuf.Message other) {
if (other instanceof org.apache.comet.serde.OperatorOuterClass.Window) {
return mergeFrom((org.apache.comet.serde.OperatorOuterClass.Window)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.comet.serde.OperatorOuterClass.Window other) {
if (other == org.apache.comet.serde.OperatorOuterClass.Window.getDefaultInstance()) return this;
if (windowExprBuilder_ == null) {
if (!other.windowExpr_.isEmpty()) {
if (windowExpr_.isEmpty()) {
windowExpr_ = other.windowExpr_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureWindowExprIsMutable();
windowExpr_.addAll(other.windowExpr_);
}
onChanged();
}
} else {
if (!other.windowExpr_.isEmpty()) {
if (windowExprBuilder_.isEmpty()) {
windowExprBuilder_.dispose();
windowExprBuilder_ = null;
windowExpr_ = other.windowExpr_;
bitField0_ = (bitField0_ & ~0x00000001);
windowExprBuilder_ =
org.apache.comet.shaded.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getWindowExprFieldBuilder() : null;
} else {
windowExprBuilder_.addAllMessages(other.windowExpr_);
}
}
}
if (orderByListBuilder_ == null) {
if (!other.orderByList_.isEmpty()) {
if (orderByList_.isEmpty()) {
orderByList_ = other.orderByList_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureOrderByListIsMutable();
orderByList_.addAll(other.orderByList_);
}
onChanged();
}
} else {
if (!other.orderByList_.isEmpty()) {
if (orderByListBuilder_.isEmpty()) {
orderByListBuilder_.dispose();
orderByListBuilder_ = null;
orderByList_ = other.orderByList_;
bitField0_ = (bitField0_ & ~0x00000002);
orderByListBuilder_ =
org.apache.comet.shaded.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getOrderByListFieldBuilder() : null;
} else {
orderByListBuilder_.addAllMessages(other.orderByList_);
}
}
}
if (partitionByListBuilder_ == null) {
if (!other.partitionByList_.isEmpty()) {
if (partitionByList_.isEmpty()) {
partitionByList_ = other.partitionByList_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensurePartitionByListIsMutable();
partitionByList_.addAll(other.partitionByList_);
}
onChanged();
}
} else {
if (!other.partitionByList_.isEmpty()) {
if (partitionByListBuilder_.isEmpty()) {
partitionByListBuilder_.dispose();
partitionByListBuilder_ = null;
partitionByList_ = other.partitionByList_;
bitField0_ = (bitField0_ & ~0x00000004);
partitionByListBuilder_ =
org.apache.comet.shaded.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getPartitionByListFieldBuilder() : null;
} else {
partitionByListBuilder_.addAllMessages(other.partitionByList_);
}
}
}
if (other.hasChild()) {
mergeChild(other.getChild());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
org.apache.comet.shaded.protobuf.CodedInputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
org.apache.comet.serde.OperatorOuterClass.WindowExpr m =
input.readMessage(
org.apache.comet.serde.OperatorOuterClass.WindowExpr.parser(),
extensionRegistry);
if (windowExprBuilder_ == null) {
ensureWindowExprIsMutable();
windowExpr_.add(m);
} else {
windowExprBuilder_.addMessage(m);
}
break;
} // case 10
case 18: {
org.apache.comet.serde.ExprOuterClass.Expr m =
input.readMessage(
org.apache.comet.serde.ExprOuterClass.Expr.parser(),
extensionRegistry);
if (orderByListBuilder_ == null) {
ensureOrderByListIsMutable();
orderByList_.add(m);
} else {
orderByListBuilder_.addMessage(m);
}
break;
} // case 18
case 26: {
org.apache.comet.serde.ExprOuterClass.Expr m =
input.readMessage(
org.apache.comet.serde.ExprOuterClass.Expr.parser(),
extensionRegistry);
if (partitionByListBuilder_ == null) {
ensurePartitionByListIsMutable();
partitionByList_.add(m);
} else {
partitionByListBuilder_.addMessage(m);
}
break;
} // case 26
case 34: {
input.readMessage(
getChildFieldBuilder().getBuilder(),
extensionRegistry);
break;
} // case 34
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (org.apache.comet.shaded.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.util.List windowExpr_ =
java.util.Collections.emptyList();
private void ensureWindowExprIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
windowExpr_ = new java.util.ArrayList(windowExpr_);
bitField0_ |= 0x00000001;
}
}
private org.apache.comet.shaded.protobuf.RepeatedFieldBuilderV3<
org.apache.comet.serde.OperatorOuterClass.WindowExpr, org.apache.comet.serde.OperatorOuterClass.WindowExpr.Builder, org.apache.comet.serde.OperatorOuterClass.WindowExprOrBuilder> windowExprBuilder_;
/**
* repeated .spark.spark_operator.WindowExpr window_expr = 1;
*/
public java.util.List getWindowExprList() {
if (windowExprBuilder_ == null) {
return java.util.Collections.unmodifiableList(windowExpr_);
} else {
return windowExprBuilder_.getMessageList();
}
}
/**
* repeated .spark.spark_operator.WindowExpr window_expr = 1;
*/
public int getWindowExprCount() {
if (windowExprBuilder_ == null) {
return windowExpr_.size();
} else {
return windowExprBuilder_.getCount();
}
}
/**
* repeated .spark.spark_operator.WindowExpr window_expr = 1;
*/
public org.apache.comet.serde.OperatorOuterClass.WindowExpr getWindowExpr(int index) {
if (windowExprBuilder_ == null) {
return windowExpr_.get(index);
} else {
return windowExprBuilder_.getMessage(index);
}
}
/**
* repeated .spark.spark_operator.WindowExpr window_expr = 1;
*/
public Builder setWindowExpr(
int index, org.apache.comet.serde.OperatorOuterClass.WindowExpr value) {
if (windowExprBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureWindowExprIsMutable();
windowExpr_.set(index, value);
onChanged();
} else {
windowExprBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .spark.spark_operator.WindowExpr window_expr = 1;
*/
public Builder setWindowExpr(
int index, org.apache.comet.serde.OperatorOuterClass.WindowExpr.Builder builderForValue) {
if (windowExprBuilder_ == null) {
ensureWindowExprIsMutable();
windowExpr_.set(index, builderForValue.build());
onChanged();
} else {
windowExprBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .spark.spark_operator.WindowExpr window_expr = 1;
*/
public Builder addWindowExpr(org.apache.comet.serde.OperatorOuterClass.WindowExpr value) {
if (windowExprBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureWindowExprIsMutable();
windowExpr_.add(value);
onChanged();
} else {
windowExprBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .spark.spark_operator.WindowExpr window_expr = 1;
*/
public Builder addWindowExpr(
int index, org.apache.comet.serde.OperatorOuterClass.WindowExpr value) {
if (windowExprBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureWindowExprIsMutable();
windowExpr_.add(index, value);
onChanged();
} else {
windowExprBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .spark.spark_operator.WindowExpr window_expr = 1;
*/
public Builder addWindowExpr(
org.apache.comet.serde.OperatorOuterClass.WindowExpr.Builder builderForValue) {
if (windowExprBuilder_ == null) {
ensureWindowExprIsMutable();
windowExpr_.add(builderForValue.build());
onChanged();
} else {
windowExprBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .spark.spark_operator.WindowExpr window_expr = 1;
*/
public Builder addWindowExpr(
int index, org.apache.comet.serde.OperatorOuterClass.WindowExpr.Builder builderForValue) {
if (windowExprBuilder_ == null) {
ensureWindowExprIsMutable();
windowExpr_.add(index, builderForValue.build());
onChanged();
} else {
windowExprBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .spark.spark_operator.WindowExpr window_expr = 1;
*/
public Builder addAllWindowExpr(
java.lang.Iterable extends org.apache.comet.serde.OperatorOuterClass.WindowExpr> values) {
if (windowExprBuilder_ == null) {
ensureWindowExprIsMutable();
org.apache.comet.shaded.protobuf.AbstractMessageLite.Builder.addAll(
values, windowExpr_);
onChanged();
} else {
windowExprBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .spark.spark_operator.WindowExpr window_expr = 1;
*/
public Builder clearWindowExpr() {
if (windowExprBuilder_ == null) {
windowExpr_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
windowExprBuilder_.clear();
}
return this;
}
/**
* repeated .spark.spark_operator.WindowExpr window_expr = 1;
*/
public Builder removeWindowExpr(int index) {
if (windowExprBuilder_ == null) {
ensureWindowExprIsMutable();
windowExpr_.remove(index);
onChanged();
} else {
windowExprBuilder_.remove(index);
}
return this;
}
/**
* repeated .spark.spark_operator.WindowExpr window_expr = 1;
*/
public org.apache.comet.serde.OperatorOuterClass.WindowExpr.Builder getWindowExprBuilder(
int index) {
return getWindowExprFieldBuilder().getBuilder(index);
}
/**
* repeated .spark.spark_operator.WindowExpr window_expr = 1;
*/
public org.apache.comet.serde.OperatorOuterClass.WindowExprOrBuilder getWindowExprOrBuilder(
int index) {
if (windowExprBuilder_ == null) {
return windowExpr_.get(index); } else {
return windowExprBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .spark.spark_operator.WindowExpr window_expr = 1;
*/
public java.util.List extends org.apache.comet.serde.OperatorOuterClass.WindowExprOrBuilder>
getWindowExprOrBuilderList() {
if (windowExprBuilder_ != null) {
return windowExprBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(windowExpr_);
}
}
/**
* repeated .spark.spark_operator.WindowExpr window_expr = 1;
*/
public org.apache.comet.serde.OperatorOuterClass.WindowExpr.Builder addWindowExprBuilder() {
return getWindowExprFieldBuilder().addBuilder(
org.apache.comet.serde.OperatorOuterClass.WindowExpr.getDefaultInstance());
}
/**
* repeated .spark.spark_operator.WindowExpr window_expr = 1;
*/
public org.apache.comet.serde.OperatorOuterClass.WindowExpr.Builder addWindowExprBuilder(
int index) {
return getWindowExprFieldBuilder().addBuilder(
index, org.apache.comet.serde.OperatorOuterClass.WindowExpr.getDefaultInstance());
}
/**
* repeated .spark.spark_operator.WindowExpr window_expr = 1;
*/
public java.util.List
getWindowExprBuilderList() {
return getWindowExprFieldBuilder().getBuilderList();
}
private org.apache.comet.shaded.protobuf.RepeatedFieldBuilderV3<
org.apache.comet.serde.OperatorOuterClass.WindowExpr, org.apache.comet.serde.OperatorOuterClass.WindowExpr.Builder, org.apache.comet.serde.OperatorOuterClass.WindowExprOrBuilder>
getWindowExprFieldBuilder() {
if (windowExprBuilder_ == null) {
windowExprBuilder_ = new org.apache.comet.shaded.protobuf.RepeatedFieldBuilderV3<
org.apache.comet.serde.OperatorOuterClass.WindowExpr, org.apache.comet.serde.OperatorOuterClass.WindowExpr.Builder, org.apache.comet.serde.OperatorOuterClass.WindowExprOrBuilder>(
windowExpr_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
windowExpr_ = null;
}
return windowExprBuilder_;
}
private java.util.List orderByList_ =
java.util.Collections.emptyList();
private void ensureOrderByListIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
orderByList_ = new java.util.ArrayList(orderByList_);
bitField0_ |= 0x00000002;
}
}
private org.apache.comet.shaded.protobuf.RepeatedFieldBuilderV3<
org.apache.comet.serde.ExprOuterClass.Expr, org.apache.comet.serde.ExprOuterClass.Expr.Builder, org.apache.comet.serde.ExprOuterClass.ExprOrBuilder> orderByListBuilder_;
/**
* repeated .spark.spark_expression.Expr order_by_list = 2;
*/
public java.util.List getOrderByListList() {
if (orderByListBuilder_ == null) {
return java.util.Collections.unmodifiableList(orderByList_);
} else {
return orderByListBuilder_.getMessageList();
}
}
/**
* repeated .spark.spark_expression.Expr order_by_list = 2;
*/
public int getOrderByListCount() {
if (orderByListBuilder_ == null) {
return orderByList_.size();
} else {
return orderByListBuilder_.getCount();
}
}
/**
* repeated .spark.spark_expression.Expr order_by_list = 2;
*/
public org.apache.comet.serde.ExprOuterClass.Expr getOrderByList(int index) {
if (orderByListBuilder_ == null) {
return orderByList_.get(index);
} else {
return orderByListBuilder_.getMessage(index);
}
}
/**
* repeated .spark.spark_expression.Expr order_by_list = 2;
*/
public Builder setOrderByList(
int index, org.apache.comet.serde.ExprOuterClass.Expr value) {
if (orderByListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureOrderByListIsMutable();
orderByList_.set(index, value);
onChanged();
} else {
orderByListBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .spark.spark_expression.Expr order_by_list = 2;
*/
public Builder setOrderByList(
int index, org.apache.comet.serde.ExprOuterClass.Expr.Builder builderForValue) {
if (orderByListBuilder_ == null) {
ensureOrderByListIsMutable();
orderByList_.set(index, builderForValue.build());
onChanged();
} else {
orderByListBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .spark.spark_expression.Expr order_by_list = 2;
*/
public Builder addOrderByList(org.apache.comet.serde.ExprOuterClass.Expr value) {
if (orderByListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureOrderByListIsMutable();
orderByList_.add(value);
onChanged();
} else {
orderByListBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .spark.spark_expression.Expr order_by_list = 2;
*/
public Builder addOrderByList(
int index, org.apache.comet.serde.ExprOuterClass.Expr value) {
if (orderByListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureOrderByListIsMutable();
orderByList_.add(index, value);
onChanged();
} else {
orderByListBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .spark.spark_expression.Expr order_by_list = 2;
*/
public Builder addOrderByList(
org.apache.comet.serde.ExprOuterClass.Expr.Builder builderForValue) {
if (orderByListBuilder_ == null) {
ensureOrderByListIsMutable();
orderByList_.add(builderForValue.build());
onChanged();
} else {
orderByListBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .spark.spark_expression.Expr order_by_list = 2;
*/
public Builder addOrderByList(
int index, org.apache.comet.serde.ExprOuterClass.Expr.Builder builderForValue) {
if (orderByListBuilder_ == null) {
ensureOrderByListIsMutable();
orderByList_.add(index, builderForValue.build());
onChanged();
} else {
orderByListBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .spark.spark_expression.Expr order_by_list = 2;
*/
public Builder addAllOrderByList(
java.lang.Iterable extends org.apache.comet.serde.ExprOuterClass.Expr> values) {
if (orderByListBuilder_ == null) {
ensureOrderByListIsMutable();
org.apache.comet.shaded.protobuf.AbstractMessageLite.Builder.addAll(
values, orderByList_);
onChanged();
} else {
orderByListBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .spark.spark_expression.Expr order_by_list = 2;
*/
public Builder clearOrderByList() {
if (orderByListBuilder_ == null) {
orderByList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
orderByListBuilder_.clear();
}
return this;
}
/**
* repeated .spark.spark_expression.Expr order_by_list = 2;
*/
public Builder removeOrderByList(int index) {
if (orderByListBuilder_ == null) {
ensureOrderByListIsMutable();
orderByList_.remove(index);
onChanged();
} else {
orderByListBuilder_.remove(index);
}
return this;
}
/**
* repeated .spark.spark_expression.Expr order_by_list = 2;
*/
public org.apache.comet.serde.ExprOuterClass.Expr.Builder getOrderByListBuilder(
int index) {
return getOrderByListFieldBuilder().getBuilder(index);
}
/**
* repeated .spark.spark_expression.Expr order_by_list = 2;
*/
public org.apache.comet.serde.ExprOuterClass.ExprOrBuilder getOrderByListOrBuilder(
int index) {
if (orderByListBuilder_ == null) {
return orderByList_.get(index); } else {
return orderByListBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .spark.spark_expression.Expr order_by_list = 2;
*/
public java.util.List extends org.apache.comet.serde.ExprOuterClass.ExprOrBuilder>
getOrderByListOrBuilderList() {
if (orderByListBuilder_ != null) {
return orderByListBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(orderByList_);
}
}
/**
* repeated .spark.spark_expression.Expr order_by_list = 2;
*/
public org.apache.comet.serde.ExprOuterClass.Expr.Builder addOrderByListBuilder() {
return getOrderByListFieldBuilder().addBuilder(
org.apache.comet.serde.ExprOuterClass.Expr.getDefaultInstance());
}
/**
* repeated .spark.spark_expression.Expr order_by_list = 2;
*/
public org.apache.comet.serde.ExprOuterClass.Expr.Builder addOrderByListBuilder(
int index) {
return getOrderByListFieldBuilder().addBuilder(
index, org.apache.comet.serde.ExprOuterClass.Expr.getDefaultInstance());
}
/**
* repeated .spark.spark_expression.Expr order_by_list = 2;
*/
public java.util.List
getOrderByListBuilderList() {
return getOrderByListFieldBuilder().getBuilderList();
}
private org.apache.comet.shaded.protobuf.RepeatedFieldBuilderV3<
org.apache.comet.serde.ExprOuterClass.Expr, org.apache.comet.serde.ExprOuterClass.Expr.Builder, org.apache.comet.serde.ExprOuterClass.ExprOrBuilder>
getOrderByListFieldBuilder() {
if (orderByListBuilder_ == null) {
orderByListBuilder_ = new org.apache.comet.shaded.protobuf.RepeatedFieldBuilderV3<
org.apache.comet.serde.ExprOuterClass.Expr, org.apache.comet.serde.ExprOuterClass.Expr.Builder, org.apache.comet.serde.ExprOuterClass.ExprOrBuilder>(
orderByList_,
((bitField0_ & 0x00000002) != 0),
getParentForChildren(),
isClean());
orderByList_ = null;
}
return orderByListBuilder_;
}
private java.util.List partitionByList_ =
java.util.Collections.emptyList();
private void ensurePartitionByListIsMutable() {
if (!((bitField0_ & 0x00000004) != 0)) {
partitionByList_ = new java.util.ArrayList(partitionByList_);
bitField0_ |= 0x00000004;
}
}
private org.apache.comet.shaded.protobuf.RepeatedFieldBuilderV3<
org.apache.comet.serde.ExprOuterClass.Expr, org.apache.comet.serde.ExprOuterClass.Expr.Builder, org.apache.comet.serde.ExprOuterClass.ExprOrBuilder> partitionByListBuilder_;
/**
* repeated .spark.spark_expression.Expr partition_by_list = 3;
*/
public java.util.List getPartitionByListList() {
if (partitionByListBuilder_ == null) {
return java.util.Collections.unmodifiableList(partitionByList_);
} else {
return partitionByListBuilder_.getMessageList();
}
}
/**
* repeated .spark.spark_expression.Expr partition_by_list = 3;
*/
public int getPartitionByListCount() {
if (partitionByListBuilder_ == null) {
return partitionByList_.size();
} else {
return partitionByListBuilder_.getCount();
}
}
/**
* repeated .spark.spark_expression.Expr partition_by_list = 3;
*/
public org.apache.comet.serde.ExprOuterClass.Expr getPartitionByList(int index) {
if (partitionByListBuilder_ == null) {
return partitionByList_.get(index);
} else {
return partitionByListBuilder_.getMessage(index);
}
}
/**
* repeated .spark.spark_expression.Expr partition_by_list = 3;
*/
public Builder setPartitionByList(
int index, org.apache.comet.serde.ExprOuterClass.Expr value) {
if (partitionByListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePartitionByListIsMutable();
partitionByList_.set(index, value);
onChanged();
} else {
partitionByListBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .spark.spark_expression.Expr partition_by_list = 3;
*/
public Builder setPartitionByList(
int index, org.apache.comet.serde.ExprOuterClass.Expr.Builder builderForValue) {
if (partitionByListBuilder_ == null) {
ensurePartitionByListIsMutable();
partitionByList_.set(index, builderForValue.build());
onChanged();
} else {
partitionByListBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .spark.spark_expression.Expr partition_by_list = 3;
*/
public Builder addPartitionByList(org.apache.comet.serde.ExprOuterClass.Expr value) {
if (partitionByListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePartitionByListIsMutable();
partitionByList_.add(value);
onChanged();
} else {
partitionByListBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .spark.spark_expression.Expr partition_by_list = 3;
*/
public Builder addPartitionByList(
int index, org.apache.comet.serde.ExprOuterClass.Expr value) {
if (partitionByListBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensurePartitionByListIsMutable();
partitionByList_.add(index, value);
onChanged();
} else {
partitionByListBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .spark.spark_expression.Expr partition_by_list = 3;
*/
public Builder addPartitionByList(
org.apache.comet.serde.ExprOuterClass.Expr.Builder builderForValue) {
if (partitionByListBuilder_ == null) {
ensurePartitionByListIsMutable();
partitionByList_.add(builderForValue.build());
onChanged();
} else {
partitionByListBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .spark.spark_expression.Expr partition_by_list = 3;
*/
public Builder addPartitionByList(
int index, org.apache.comet.serde.ExprOuterClass.Expr.Builder builderForValue) {
if (partitionByListBuilder_ == null) {
ensurePartitionByListIsMutable();
partitionByList_.add(index, builderForValue.build());
onChanged();
} else {
partitionByListBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .spark.spark_expression.Expr partition_by_list = 3;
*/
public Builder addAllPartitionByList(
java.lang.Iterable extends org.apache.comet.serde.ExprOuterClass.Expr> values) {
if (partitionByListBuilder_ == null) {
ensurePartitionByListIsMutable();
org.apache.comet.shaded.protobuf.AbstractMessageLite.Builder.addAll(
values, partitionByList_);
onChanged();
} else {
partitionByListBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .spark.spark_expression.Expr partition_by_list = 3;
*/
public Builder clearPartitionByList() {
if (partitionByListBuilder_ == null) {
partitionByList_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
} else {
partitionByListBuilder_.clear();
}
return this;
}
/**
* repeated .spark.spark_expression.Expr partition_by_list = 3;
*/
public Builder removePartitionByList(int index) {
if (partitionByListBuilder_ == null) {
ensurePartitionByListIsMutable();
partitionByList_.remove(index);
onChanged();
} else {
partitionByListBuilder_.remove(index);
}
return this;
}
/**
* repeated .spark.spark_expression.Expr partition_by_list = 3;
*/
public org.apache.comet.serde.ExprOuterClass.Expr.Builder getPartitionByListBuilder(
int index) {
return getPartitionByListFieldBuilder().getBuilder(index);
}
/**
* repeated .spark.spark_expression.Expr partition_by_list = 3;
*/
public org.apache.comet.serde.ExprOuterClass.ExprOrBuilder getPartitionByListOrBuilder(
int index) {
if (partitionByListBuilder_ == null) {
return partitionByList_.get(index); } else {
return partitionByListBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .spark.spark_expression.Expr partition_by_list = 3;
*/
public java.util.List extends org.apache.comet.serde.ExprOuterClass.ExprOrBuilder>
getPartitionByListOrBuilderList() {
if (partitionByListBuilder_ != null) {
return partitionByListBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(partitionByList_);
}
}
/**
* repeated .spark.spark_expression.Expr partition_by_list = 3;
*/
public org.apache.comet.serde.ExprOuterClass.Expr.Builder addPartitionByListBuilder() {
return getPartitionByListFieldBuilder().addBuilder(
org.apache.comet.serde.ExprOuterClass.Expr.getDefaultInstance());
}
/**
* repeated .spark.spark_expression.Expr partition_by_list = 3;
*/
public org.apache.comet.serde.ExprOuterClass.Expr.Builder addPartitionByListBuilder(
int index) {
return getPartitionByListFieldBuilder().addBuilder(
index, org.apache.comet.serde.ExprOuterClass.Expr.getDefaultInstance());
}
/**
* repeated .spark.spark_expression.Expr partition_by_list = 3;
*/
public java.util.List
getPartitionByListBuilderList() {
return getPartitionByListFieldBuilder().getBuilderList();
}
private org.apache.comet.shaded.protobuf.RepeatedFieldBuilderV3<
org.apache.comet.serde.ExprOuterClass.Expr, org.apache.comet.serde.ExprOuterClass.Expr.Builder, org.apache.comet.serde.ExprOuterClass.ExprOrBuilder>
getPartitionByListFieldBuilder() {
if (partitionByListBuilder_ == null) {
partitionByListBuilder_ = new org.apache.comet.shaded.protobuf.RepeatedFieldBuilderV3<
org.apache.comet.serde.ExprOuterClass.Expr, org.apache.comet.serde.ExprOuterClass.Expr.Builder, org.apache.comet.serde.ExprOuterClass.ExprOrBuilder>(
partitionByList_,
((bitField0_ & 0x00000004) != 0),
getParentForChildren(),
isClean());
partitionByList_ = null;
}
return partitionByListBuilder_;
}
private org.apache.comet.serde.OperatorOuterClass.Operator child_;
private org.apache.comet.shaded.protobuf.SingleFieldBuilderV3<
org.apache.comet.serde.OperatorOuterClass.Operator, org.apache.comet.serde.OperatorOuterClass.Operator.Builder, org.apache.comet.serde.OperatorOuterClass.OperatorOrBuilder> childBuilder_;
/**
* .spark.spark_operator.Operator child = 4;
* @return Whether the child field is set.
*/
public boolean hasChild() {
return childBuilder_ != null || child_ != null;
}
/**
* .spark.spark_operator.Operator child = 4;
* @return The child.
*/
public org.apache.comet.serde.OperatorOuterClass.Operator getChild() {
if (childBuilder_ == null) {
return child_ == null ? org.apache.comet.serde.OperatorOuterClass.Operator.getDefaultInstance() : child_;
} else {
return childBuilder_.getMessage();
}
}
/**
* .spark.spark_operator.Operator child = 4;
*/
public Builder setChild(org.apache.comet.serde.OperatorOuterClass.Operator value) {
if (childBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
child_ = value;
onChanged();
} else {
childBuilder_.setMessage(value);
}
return this;
}
/**
* .spark.spark_operator.Operator child = 4;
*/
public Builder setChild(
org.apache.comet.serde.OperatorOuterClass.Operator.Builder builderForValue) {
if (childBuilder_ == null) {
child_ = builderForValue.build();
onChanged();
} else {
childBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .spark.spark_operator.Operator child = 4;
*/
public Builder mergeChild(org.apache.comet.serde.OperatorOuterClass.Operator value) {
if (childBuilder_ == null) {
if (child_ != null) {
child_ =
org.apache.comet.serde.OperatorOuterClass.Operator.newBuilder(child_).mergeFrom(value).buildPartial();
} else {
child_ = value;
}
onChanged();
} else {
childBuilder_.mergeFrom(value);
}
return this;
}
/**
* .spark.spark_operator.Operator child = 4;
*/
public Builder clearChild() {
if (childBuilder_ == null) {
child_ = null;
onChanged();
} else {
child_ = null;
childBuilder_ = null;
}
return this;
}
/**
* .spark.spark_operator.Operator child = 4;
*/
public org.apache.comet.serde.OperatorOuterClass.Operator.Builder getChildBuilder() {
onChanged();
return getChildFieldBuilder().getBuilder();
}
/**
* .spark.spark_operator.Operator child = 4;
*/
public org.apache.comet.serde.OperatorOuterClass.OperatorOrBuilder getChildOrBuilder() {
if (childBuilder_ != null) {
return childBuilder_.getMessageOrBuilder();
} else {
return child_ == null ?
org.apache.comet.serde.OperatorOuterClass.Operator.getDefaultInstance() : child_;
}
}
/**
* .spark.spark_operator.Operator child = 4;
*/
private org.apache.comet.shaded.protobuf.SingleFieldBuilderV3<
org.apache.comet.serde.OperatorOuterClass.Operator, org.apache.comet.serde.OperatorOuterClass.Operator.Builder, org.apache.comet.serde.OperatorOuterClass.OperatorOrBuilder>
getChildFieldBuilder() {
if (childBuilder_ == null) {
childBuilder_ = new org.apache.comet.shaded.protobuf.SingleFieldBuilderV3<
org.apache.comet.serde.OperatorOuterClass.Operator, org.apache.comet.serde.OperatorOuterClass.Operator.Builder, org.apache.comet.serde.OperatorOuterClass.OperatorOrBuilder>(
getChild(),
getParentForChildren(),
isClean());
child_ = null;
}
return childBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final org.apache.comet.shaded.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final org.apache.comet.shaded.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:spark.spark_operator.Window)
}
// @@protoc_insertion_point(class_scope:spark.spark_operator.Window)
private static final org.apache.comet.serde.OperatorOuterClass.Window DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.apache.comet.serde.OperatorOuterClass.Window();
}
public static org.apache.comet.serde.OperatorOuterClass.Window getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final org.apache.comet.shaded.protobuf.Parser
PARSER = new org.apache.comet.shaded.protobuf.AbstractParser() {
@java.lang.Override
public Window parsePartialFrom(
org.apache.comet.shaded.protobuf.CodedInputStream input,
org.apache.comet.shaded.protobuf.ExtensionRegistryLite extensionRegistry)
throws org.apache.comet.shaded.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (org.apache.comet.shaded.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (org.apache.comet.shaded.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new org.apache.comet.shaded.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static org.apache.comet.shaded.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public org.apache.comet.shaded.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public org.apache.comet.serde.OperatorOuterClass.Window getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final org.apache.comet.shaded.protobuf.Descriptors.Descriptor
internal_static_spark_spark_operator_Operator_descriptor;
private static final
org.apache.comet.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_spark_spark_operator_Operator_fieldAccessorTable;
private static final org.apache.comet.shaded.protobuf.Descriptors.Descriptor
internal_static_spark_spark_operator_Scan_descriptor;
private static final
org.apache.comet.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_spark_spark_operator_Scan_fieldAccessorTable;
private static final org.apache.comet.shaded.protobuf.Descriptors.Descriptor
internal_static_spark_spark_operator_Projection_descriptor;
private static final
org.apache.comet.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_spark_spark_operator_Projection_fieldAccessorTable;
private static final org.apache.comet.shaded.protobuf.Descriptors.Descriptor
internal_static_spark_spark_operator_Filter_descriptor;
private static final
org.apache.comet.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_spark_spark_operator_Filter_fieldAccessorTable;
private static final org.apache.comet.shaded.protobuf.Descriptors.Descriptor
internal_static_spark_spark_operator_Sort_descriptor;
private static final
org.apache.comet.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_spark_spark_operator_Sort_fieldAccessorTable;
private static final org.apache.comet.shaded.protobuf.Descriptors.Descriptor
internal_static_spark_spark_operator_HashAggregate_descriptor;
private static final
org.apache.comet.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_spark_spark_operator_HashAggregate_fieldAccessorTable;
private static final org.apache.comet.shaded.protobuf.Descriptors.Descriptor
internal_static_spark_spark_operator_Limit_descriptor;
private static final
org.apache.comet.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_spark_spark_operator_Limit_fieldAccessorTable;
private static final org.apache.comet.shaded.protobuf.Descriptors.Descriptor
internal_static_spark_spark_operator_ShuffleWriter_descriptor;
private static final
org.apache.comet.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_spark_spark_operator_ShuffleWriter_fieldAccessorTable;
private static final org.apache.comet.shaded.protobuf.Descriptors.Descriptor
internal_static_spark_spark_operator_Expand_descriptor;
private static final
org.apache.comet.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_spark_spark_operator_Expand_fieldAccessorTable;
private static final org.apache.comet.shaded.protobuf.Descriptors.Descriptor
internal_static_spark_spark_operator_HashJoin_descriptor;
private static final
org.apache.comet.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_spark_spark_operator_HashJoin_fieldAccessorTable;
private static final org.apache.comet.shaded.protobuf.Descriptors.Descriptor
internal_static_spark_spark_operator_SortMergeJoin_descriptor;
private static final
org.apache.comet.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_spark_spark_operator_SortMergeJoin_fieldAccessorTable;
private static final org.apache.comet.shaded.protobuf.Descriptors.Descriptor
internal_static_spark_spark_operator_WindowExpr_descriptor;
private static final
org.apache.comet.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_spark_spark_operator_WindowExpr_fieldAccessorTable;
private static final org.apache.comet.shaded.protobuf.Descriptors.Descriptor
internal_static_spark_spark_operator_WindowFrame_descriptor;
private static final
org.apache.comet.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_spark_spark_operator_WindowFrame_fieldAccessorTable;
private static final org.apache.comet.shaded.protobuf.Descriptors.Descriptor
internal_static_spark_spark_operator_LowerWindowFrameBound_descriptor;
private static final
org.apache.comet.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_spark_spark_operator_LowerWindowFrameBound_fieldAccessorTable;
private static final org.apache.comet.shaded.protobuf.Descriptors.Descriptor
internal_static_spark_spark_operator_UpperWindowFrameBound_descriptor;
private static final
org.apache.comet.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_spark_spark_operator_UpperWindowFrameBound_fieldAccessorTable;
private static final org.apache.comet.shaded.protobuf.Descriptors.Descriptor
internal_static_spark_spark_operator_Preceding_descriptor;
private static final
org.apache.comet.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_spark_spark_operator_Preceding_fieldAccessorTable;
private static final org.apache.comet.shaded.protobuf.Descriptors.Descriptor
internal_static_spark_spark_operator_Following_descriptor;
private static final
org.apache.comet.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_spark_spark_operator_Following_fieldAccessorTable;
private static final org.apache.comet.shaded.protobuf.Descriptors.Descriptor
internal_static_spark_spark_operator_UnboundedPreceding_descriptor;
private static final
org.apache.comet.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_spark_spark_operator_UnboundedPreceding_fieldAccessorTable;
private static final org.apache.comet.shaded.protobuf.Descriptors.Descriptor
internal_static_spark_spark_operator_UnboundedFollowing_descriptor;
private static final
org.apache.comet.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_spark_spark_operator_UnboundedFollowing_fieldAccessorTable;
private static final org.apache.comet.shaded.protobuf.Descriptors.Descriptor
internal_static_spark_spark_operator_CurrentRow_descriptor;
private static final
org.apache.comet.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_spark_spark_operator_CurrentRow_fieldAccessorTable;
private static final org.apache.comet.shaded.protobuf.Descriptors.Descriptor
internal_static_spark_spark_operator_WindowSpecDefinition_descriptor;
private static final
org.apache.comet.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_spark_spark_operator_WindowSpecDefinition_fieldAccessorTable;
private static final org.apache.comet.shaded.protobuf.Descriptors.Descriptor
internal_static_spark_spark_operator_Window_descriptor;
private static final
org.apache.comet.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_spark_spark_operator_Window_fieldAccessorTable;
public static org.apache.comet.shaded.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static org.apache.comet.shaded.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\016operator.proto\022\024spark.spark_operator\032\n" +
"expr.proto\032\022partitioning.proto\"\204\005\n\010Opera" +
"tor\0220\n\010children\030\001 \003(\0132\036.spark.spark_oper" +
"ator.Operator\022*\n\004scan\030d \001(\0132\032.spark.spar" +
"k_operator.ScanH\000\0226\n\nprojection\030e \001(\0132 ." +
"spark.spark_operator.ProjectionH\000\022.\n\006fil" +
"ter\030f \001(\0132\034.spark.spark_operator.FilterH" +
"\000\022*\n\004sort\030g \001(\0132\032.spark.spark_operator.S" +
"ortH\000\0227\n\010hash_agg\030h \001(\0132#.spark.spark_op" +
"erator.HashAggregateH\000\022,\n\005limit\030i \001(\0132\033." +
"spark.spark_operator.LimitH\000\022=\n\016shuffle_" +
"writer\030j \001(\0132#.spark.spark_operator.Shuf" +
"fleWriterH\000\022.\n\006expand\030k \001(\0132\034.spark.spar" +
"k_operator.ExpandH\000\022>\n\017sort_merge_join\030l" +
" \001(\0132#.spark.spark_operator.SortMergeJoi" +
"nH\000\0223\n\thash_join\030m \001(\0132\036.spark.spark_ope" +
"rator.HashJoinH\000\022.\n\006window\030n \001(\0132\034.spark" +
".spark_operator.WindowH\000B\013\n\top_struct\"H\n" +
"\004Scan\0220\n\006fields\030\001 \003(\0132 .spark.spark_expr" +
"ession.DataType\022\016\n\006source\030\002 \001(\t\"@\n\nProje" +
"ction\0222\n\014project_list\030\001 \003(\0132\034.spark.spar" +
"k_expression.Expr\"9\n\006Filter\022/\n\tpredicate" +
"\030\001 \001(\0132\034.spark.spark_expression.Expr\"W\n\004" +
"Sort\0221\n\013sort_orders\030\001 \003(\0132\034.spark.spark_" +
"expression.Expr\022\022\n\005fetch\030\003 \001(\005H\000\210\001\001B\010\n\006_" +
"fetch\"\340\001\n\rHashAggregate\0224\n\016grouping_expr" +
"s\030\001 \003(\0132\034.spark.spark_expression.Expr\0222\n" +
"\tagg_exprs\030\002 \003(\0132\037.spark.spark_expressio" +
"n.AggExpr\0222\n\014result_exprs\030\003 \003(\0132\034.spark." +
"spark_expression.Expr\0221\n\004mode\030\005 \001(\0162#.sp" +
"ark.spark_operator.AggregateMode\"&\n\005Limi" +
"t\022\r\n\005limit\030\001 \001(\005\022\016\n\006offset\030\002 \001(\005\"\202\001\n\rShu" +
"ffleWriter\022<\n\014partitioning\030\001 \001(\0132&.spark" +
".spark_partitioning.Partitioning\022\030\n\020outp" +
"ut_data_file\030\003 \001(\t\022\031\n\021output_index_file\030" +
"\004 \001(\t\"Z\n\006Expand\0222\n\014project_list\030\001 \003(\0132\034." +
"spark.spark_expression.Expr\022\034\n\024num_expr_" +
"per_project\030\003 \001(\005\"\243\002\n\010HashJoin\0224\n\016left_j" +
"oin_keys\030\001 \003(\0132\034.spark.spark_expression." +
"Expr\0225\n\017right_join_keys\030\002 \003(\0132\034.spark.sp" +
"ark_expression.Expr\0221\n\tjoin_type\030\003 \001(\0162\036" +
".spark.spark_operator.JoinType\0224\n\tcondit" +
"ion\030\004 \001(\0132\034.spark.spark_expression.ExprH" +
"\000\210\001\001\0223\n\nbuild_side\030\005 \001(\0162\037.spark.spark_o" +
"perator.BuildSideB\014\n\n_condition\"\247\002\n\rSort" +
"MergeJoin\0224\n\016left_join_keys\030\001 \003(\0132\034.spar" +
"k.spark_expression.Expr\0225\n\017right_join_ke" +
"ys\030\002 \003(\0132\034.spark.spark_expression.Expr\0221" +
"\n\tjoin_type\030\003 \001(\0162\036.spark.spark_operator" +
".JoinType\0222\n\014sort_options\030\004 \003(\0132\034.spark." +
"spark_expression.Expr\0224\n\tcondition\030\005 \001(\013" +
"2\034.spark.spark_expression.ExprH\000\210\001\001B\014\n\n_" +
"condition\"\271\001\n\nWindowExpr\022>\n\030built_in_win" +
"dow_function\030\001 \001(\0132\034.spark.spark_express" +
"ion.Expr\0221\n\010agg_func\030\002 \001(\0132\037.spark.spark" +
"_expression.AggExpr\0228\n\004spec\030\003 \001(\0132*.spar" +
"k.spark_operator.WindowSpecDefinition\"\314\001" +
"\n\013WindowFrame\0229\n\nframe_type\030\001 \001(\0162%.spar" +
"k.spark_operator.WindowFrameType\022@\n\013lowe" +
"r_bound\030\002 \001(\0132+.spark.spark_operator.Low" +
"erWindowFrameBound\022@\n\013upper_bound\030\003 \001(\0132" +
"+.spark.spark_operator.UpperWindowFrameB" +
"ound\"\351\001\n\025LowerWindowFrameBound\022F\n\022unboun" +
"dedPreceding\030\001 \001(\0132(.spark.spark_operato" +
"r.UnboundedPrecedingH\000\0224\n\tpreceding\030\002 \001(" +
"\0132\037.spark.spark_operator.PrecedingH\000\0226\n\n" +
"currentRow\030\003 \001(\0132 .spark.spark_operator." +
"CurrentRowH\000B\032\n\030lower_frame_bound_struct" +
"\"\351\001\n\025UpperWindowFrameBound\022F\n\022unboundedF" +
"ollowing\030\001 \001(\0132(.spark.spark_operator.Un" +
"boundedFollowingH\000\0224\n\tfollowing\030\002 \001(\0132\037." +
"spark.spark_operator.FollowingH\000\0226\n\ncurr" +
"entRow\030\003 \001(\0132 .spark.spark_operator.Curr" +
"entRowH\000B\032\n\030upper_frame_bound_struct\"\033\n\t" +
"Preceding\022\016\n\006offset\030\001 \001(\003\"\033\n\tFollowing\022\016" +
"\n\006offset\030\001 \001(\003\"\024\n\022UnboundedPreceding\"\024\n\022" +
"UnboundedFollowing\"\014\n\nCurrentRow\"\273\001\n\024Win" +
"dowSpecDefinition\0223\n\rpartitionSpec\030\001 \003(\013" +
"2\034.spark.spark_expression.Expr\022/\n\torderS" +
"pec\030\002 \003(\0132\034.spark.spark_expression.Expr\022" +
"=\n\022frameSpecification\030\003 \001(\0132!.spark.spar" +
"k_operator.WindowFrame\"\334\001\n\006Window\0225\n\013win" +
"dow_expr\030\001 \003(\0132 .spark.spark_operator.Wi" +
"ndowExpr\0223\n\rorder_by_list\030\002 \003(\0132\034.spark." +
"spark_expression.Expr\0227\n\021partition_by_li" +
"st\030\003 \003(\0132\034.spark.spark_expression.Expr\022-" +
"\n\005child\030\004 \001(\0132\036.spark.spark_operator.Ope" +
"rator*\'\n\rAggregateMode\022\013\n\007Partial\020\000\022\t\n\005F" +
"inal\020\001*}\n\010JoinType\022\t\n\005Inner\020\000\022\r\n\tLeftOut" +
"er\020\001\022\016\n\nRightOuter\020\002\022\r\n\tFullOuter\020\003\022\014\n\010L" +
"eftSemi\020\004\022\r\n\tRightSemi\020\005\022\014\n\010LeftAnti\020\006\022\r" +
"\n\tRightAnti\020\007**\n\tBuildSide\022\r\n\tBuildLeft\020" +
"\000\022\016\n\nBuildRight\020\001*&\n\017WindowFrameType\022\010\n\004" +
"Rows\020\000\022\t\n\005Range\020\001B\030\n\026org.apache.comet.se" +
"rdeb\006proto3"
};
descriptor = org.apache.comet.shaded.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new org.apache.comet.shaded.protobuf.Descriptors.FileDescriptor[] {
org.apache.comet.serde.ExprOuterClass.getDescriptor(),
org.apache.comet.serde.PartitioningOuterClass.getDescriptor(),
});
internal_static_spark_spark_operator_Operator_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_spark_spark_operator_Operator_fieldAccessorTable = new
org.apache.comet.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_spark_spark_operator_Operator_descriptor,
new java.lang.String[] { "Children", "Scan", "Projection", "Filter", "Sort", "HashAgg", "Limit", "ShuffleWriter", "Expand", "SortMergeJoin", "HashJoin", "Window", "OpStruct", });
internal_static_spark_spark_operator_Scan_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_spark_spark_operator_Scan_fieldAccessorTable = new
org.apache.comet.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_spark_spark_operator_Scan_descriptor,
new java.lang.String[] { "Fields", "Source", });
internal_static_spark_spark_operator_Projection_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_spark_spark_operator_Projection_fieldAccessorTable = new
org.apache.comet.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_spark_spark_operator_Projection_descriptor,
new java.lang.String[] { "ProjectList", });
internal_static_spark_spark_operator_Filter_descriptor =
getDescriptor().getMessageTypes().get(3);
internal_static_spark_spark_operator_Filter_fieldAccessorTable = new
org.apache.comet.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_spark_spark_operator_Filter_descriptor,
new java.lang.String[] { "Predicate", });
internal_static_spark_spark_operator_Sort_descriptor =
getDescriptor().getMessageTypes().get(4);
internal_static_spark_spark_operator_Sort_fieldAccessorTable = new
org.apache.comet.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_spark_spark_operator_Sort_descriptor,
new java.lang.String[] { "SortOrders", "Fetch", "Fetch", });
internal_static_spark_spark_operator_HashAggregate_descriptor =
getDescriptor().getMessageTypes().get(5);
internal_static_spark_spark_operator_HashAggregate_fieldAccessorTable = new
org.apache.comet.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_spark_spark_operator_HashAggregate_descriptor,
new java.lang.String[] { "GroupingExprs", "AggExprs", "ResultExprs", "Mode", });
internal_static_spark_spark_operator_Limit_descriptor =
getDescriptor().getMessageTypes().get(6);
internal_static_spark_spark_operator_Limit_fieldAccessorTable = new
org.apache.comet.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_spark_spark_operator_Limit_descriptor,
new java.lang.String[] { "Limit", "Offset", });
internal_static_spark_spark_operator_ShuffleWriter_descriptor =
getDescriptor().getMessageTypes().get(7);
internal_static_spark_spark_operator_ShuffleWriter_fieldAccessorTable = new
org.apache.comet.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_spark_spark_operator_ShuffleWriter_descriptor,
new java.lang.String[] { "Partitioning", "OutputDataFile", "OutputIndexFile", });
internal_static_spark_spark_operator_Expand_descriptor =
getDescriptor().getMessageTypes().get(8);
internal_static_spark_spark_operator_Expand_fieldAccessorTable = new
org.apache.comet.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_spark_spark_operator_Expand_descriptor,
new java.lang.String[] { "ProjectList", "NumExprPerProject", });
internal_static_spark_spark_operator_HashJoin_descriptor =
getDescriptor().getMessageTypes().get(9);
internal_static_spark_spark_operator_HashJoin_fieldAccessorTable = new
org.apache.comet.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_spark_spark_operator_HashJoin_descriptor,
new java.lang.String[] { "LeftJoinKeys", "RightJoinKeys", "JoinType", "Condition", "BuildSide", "Condition", });
internal_static_spark_spark_operator_SortMergeJoin_descriptor =
getDescriptor().getMessageTypes().get(10);
internal_static_spark_spark_operator_SortMergeJoin_fieldAccessorTable = new
org.apache.comet.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_spark_spark_operator_SortMergeJoin_descriptor,
new java.lang.String[] { "LeftJoinKeys", "RightJoinKeys", "JoinType", "SortOptions", "Condition", "Condition", });
internal_static_spark_spark_operator_WindowExpr_descriptor =
getDescriptor().getMessageTypes().get(11);
internal_static_spark_spark_operator_WindowExpr_fieldAccessorTable = new
org.apache.comet.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_spark_spark_operator_WindowExpr_descriptor,
new java.lang.String[] { "BuiltInWindowFunction", "AggFunc", "Spec", });
internal_static_spark_spark_operator_WindowFrame_descriptor =
getDescriptor().getMessageTypes().get(12);
internal_static_spark_spark_operator_WindowFrame_fieldAccessorTable = new
org.apache.comet.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_spark_spark_operator_WindowFrame_descriptor,
new java.lang.String[] { "FrameType", "LowerBound", "UpperBound", });
internal_static_spark_spark_operator_LowerWindowFrameBound_descriptor =
getDescriptor().getMessageTypes().get(13);
internal_static_spark_spark_operator_LowerWindowFrameBound_fieldAccessorTable = new
org.apache.comet.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_spark_spark_operator_LowerWindowFrameBound_descriptor,
new java.lang.String[] { "UnboundedPreceding", "Preceding", "CurrentRow", "LowerFrameBoundStruct", });
internal_static_spark_spark_operator_UpperWindowFrameBound_descriptor =
getDescriptor().getMessageTypes().get(14);
internal_static_spark_spark_operator_UpperWindowFrameBound_fieldAccessorTable = new
org.apache.comet.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_spark_spark_operator_UpperWindowFrameBound_descriptor,
new java.lang.String[] { "UnboundedFollowing", "Following", "CurrentRow", "UpperFrameBoundStruct", });
internal_static_spark_spark_operator_Preceding_descriptor =
getDescriptor().getMessageTypes().get(15);
internal_static_spark_spark_operator_Preceding_fieldAccessorTable = new
org.apache.comet.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_spark_spark_operator_Preceding_descriptor,
new java.lang.String[] { "Offset", });
internal_static_spark_spark_operator_Following_descriptor =
getDescriptor().getMessageTypes().get(16);
internal_static_spark_spark_operator_Following_fieldAccessorTable = new
org.apache.comet.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_spark_spark_operator_Following_descriptor,
new java.lang.String[] { "Offset", });
internal_static_spark_spark_operator_UnboundedPreceding_descriptor =
getDescriptor().getMessageTypes().get(17);
internal_static_spark_spark_operator_UnboundedPreceding_fieldAccessorTable = new
org.apache.comet.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_spark_spark_operator_UnboundedPreceding_descriptor,
new java.lang.String[] { });
internal_static_spark_spark_operator_UnboundedFollowing_descriptor =
getDescriptor().getMessageTypes().get(18);
internal_static_spark_spark_operator_UnboundedFollowing_fieldAccessorTable = new
org.apache.comet.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_spark_spark_operator_UnboundedFollowing_descriptor,
new java.lang.String[] { });
internal_static_spark_spark_operator_CurrentRow_descriptor =
getDescriptor().getMessageTypes().get(19);
internal_static_spark_spark_operator_CurrentRow_fieldAccessorTable = new
org.apache.comet.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_spark_spark_operator_CurrentRow_descriptor,
new java.lang.String[] { });
internal_static_spark_spark_operator_WindowSpecDefinition_descriptor =
getDescriptor().getMessageTypes().get(20);
internal_static_spark_spark_operator_WindowSpecDefinition_fieldAccessorTable = new
org.apache.comet.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_spark_spark_operator_WindowSpecDefinition_descriptor,
new java.lang.String[] { "PartitionSpec", "OrderSpec", "FrameSpecification", });
internal_static_spark_spark_operator_Window_descriptor =
getDescriptor().getMessageTypes().get(21);
internal_static_spark_spark_operator_Window_fieldAccessorTable = new
org.apache.comet.shaded.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_spark_spark_operator_Window_descriptor,
new java.lang.String[] { "WindowExpr", "OrderByList", "PartitionByList", "Child", });
org.apache.comet.serde.ExprOuterClass.getDescriptor();
org.apache.comet.serde.PartitioningOuterClass.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy