Package com.ocient.jdbc.proto
Class PlanProtocol.AggregationOperator.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<PlanProtocol.AggregationOperator.Builder>
-
- com.ocient.jdbc.proto.PlanProtocol.AggregationOperator.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,PlanProtocol.AggregationOperatorOrBuilder,Cloneable
- Enclosing class:
- PlanProtocol.AggregationOperator
public static final class PlanProtocol.AggregationOperator.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PlanProtocol.AggregationOperator.Builder> implements PlanProtocol.AggregationOperatorOrBuilder
Protobuf typexg.db.sqlPlans.AggregationOperator
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PlanProtocol.AggregationOperator.BuilderaddAllInputCols(Iterable<String> values)The columns to perform each aggregation on In the same order as ops (and same size) AGG_OP_COUNT_STAR has no input - so a value in that position is garbagePlanProtocol.AggregationOperator.BuilderaddAllKeys(Iterable<String> values)The GROUP BY columns - might be emptyPlanProtocol.AggregationOperator.BuilderaddAllOps(Iterable<? extends PlanProtocol.AggregationOperator.AggregationOp> values)The aggregation operations to performPlanProtocol.AggregationOperator.BuilderaddAllOpsValue(Iterable<Integer> values)The aggregation operations to performPlanProtocol.AggregationOperator.BuilderaddAllOutputCols(Iterable<String> values)The name to give to the columns created by each aggregation operationPlanProtocol.AggregationOperator.BuilderaddAllOutputColsTypes(Iterable<String> values)The types for the outputCols, in the same orderPlanProtocol.AggregationOperator.BuilderaddInputCols(String value)The columns to perform each aggregation on In the same order as ops (and same size) AGG_OP_COUNT_STAR has no input - so a value in that position is garbagePlanProtocol.AggregationOperator.BuilderaddInputColsBytes(com.google.protobuf.ByteString value)The columns to perform each aggregation on In the same order as ops (and same size) AGG_OP_COUNT_STAR has no input - so a value in that position is garbagePlanProtocol.AggregationOperator.BuilderaddKeys(String value)The GROUP BY columns - might be emptyPlanProtocol.AggregationOperator.BuilderaddKeysBytes(com.google.protobuf.ByteString value)The GROUP BY columns - might be emptyPlanProtocol.AggregationOperator.BuilderaddOps(PlanProtocol.AggregationOperator.AggregationOp value)The aggregation operations to performPlanProtocol.AggregationOperator.BuilderaddOpsValue(int value)The aggregation operations to performPlanProtocol.AggregationOperator.BuilderaddOutputCols(String value)The name to give to the columns created by each aggregation operationPlanProtocol.AggregationOperator.BuilderaddOutputColsBytes(com.google.protobuf.ByteString value)The name to give to the columns created by each aggregation operationPlanProtocol.AggregationOperator.BuilderaddOutputColsTypes(String value)The types for the outputCols, in the same orderPlanProtocol.AggregationOperator.BuilderaddOutputColsTypesBytes(com.google.protobuf.ByteString value)The types for the outputCols, in the same orderPlanProtocol.AggregationOperator.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)PlanProtocol.AggregationOperatorbuild()PlanProtocol.AggregationOperatorbuildPartial()PlanProtocol.AggregationOperator.Builderclear()PlanProtocol.AggregationOperator.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)PlanProtocol.AggregationOperator.BuilderclearForceOnePartition()Flag for runtimePlanProtocol.AggregationOperator.BuilderclearInputCols()The columns to perform each aggregation on In the same order as ops (and same size) AGG_OP_COUNT_STAR has no input - so a value in that position is garbagePlanProtocol.AggregationOperator.BuilderclearKeys()The GROUP BY columns - might be emptyPlanProtocol.AggregationOperator.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)PlanProtocol.AggregationOperator.BuilderclearOps()The aggregation operations to performPlanProtocol.AggregationOperator.BuilderclearOutputCols()The name to give to the columns created by each aggregation operationPlanProtocol.AggregationOperator.BuilderclearOutputColsTypes()The types for the outputCols, in the same orderPlanProtocol.AggregationOperator.BuilderclearUseVector()Flag for runtimePlanProtocol.AggregationOperator.Builderclone()PlanProtocol.AggregationOperatorgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()booleangetForceOnePartition()Flag for runtimeStringgetInputCols(int index)The columns to perform each aggregation on In the same order as ops (and same size) AGG_OP_COUNT_STAR has no input - so a value in that position is garbagecom.google.protobuf.ByteStringgetInputColsBytes(int index)The columns to perform each aggregation on In the same order as ops (and same size) AGG_OP_COUNT_STAR has no input - so a value in that position is garbageintgetInputColsCount()The columns to perform each aggregation on In the same order as ops (and same size) AGG_OP_COUNT_STAR has no input - so a value in that position is garbagecom.google.protobuf.ProtocolStringListgetInputColsList()The columns to perform each aggregation on In the same order as ops (and same size) AGG_OP_COUNT_STAR has no input - so a value in that position is garbageStringgetKeys(int index)The GROUP BY columns - might be emptycom.google.protobuf.ByteStringgetKeysBytes(int index)The GROUP BY columns - might be emptyintgetKeysCount()The GROUP BY columns - might be emptycom.google.protobuf.ProtocolStringListgetKeysList()The GROUP BY columns - might be emptyPlanProtocol.AggregationOperator.AggregationOpgetOps(int index)The aggregation operations to performintgetOpsCount()The aggregation operations to performList<PlanProtocol.AggregationOperator.AggregationOp>getOpsList()The aggregation operations to performintgetOpsValue(int index)The aggregation operations to performList<Integer>getOpsValueList()The aggregation operations to performStringgetOutputCols(int index)The name to give to the columns created by each aggregation operationcom.google.protobuf.ByteStringgetOutputColsBytes(int index)The name to give to the columns created by each aggregation operationintgetOutputColsCount()The name to give to the columns created by each aggregation operationcom.google.protobuf.ProtocolStringListgetOutputColsList()The name to give to the columns created by each aggregation operationStringgetOutputColsTypes(int index)The types for the outputCols, in the same ordercom.google.protobuf.ByteStringgetOutputColsTypesBytes(int index)The types for the outputCols, in the same orderintgetOutputColsTypesCount()The types for the outputCols, in the same ordercom.google.protobuf.ProtocolStringListgetOutputColsTypesList()The types for the outputCols, in the same orderbooleangetUseVector()Flag for runtimeprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()PlanProtocol.AggregationOperator.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)PlanProtocol.AggregationOperator.BuildermergeFrom(com.google.protobuf.Message other)PlanProtocol.AggregationOperator.BuildermergeFrom(PlanProtocol.AggregationOperator other)PlanProtocol.AggregationOperator.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)PlanProtocol.AggregationOperator.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)PlanProtocol.AggregationOperator.BuildersetForceOnePartition(boolean value)Flag for runtimePlanProtocol.AggregationOperator.BuildersetInputCols(int index, String value)The columns to perform each aggregation on In the same order as ops (and same size) AGG_OP_COUNT_STAR has no input - so a value in that position is garbagePlanProtocol.AggregationOperator.BuildersetKeys(int index, String value)The GROUP BY columns - might be emptyPlanProtocol.AggregationOperator.BuildersetOps(int index, PlanProtocol.AggregationOperator.AggregationOp value)The aggregation operations to performPlanProtocol.AggregationOperator.BuildersetOpsValue(int index, int value)The aggregation operations to performPlanProtocol.AggregationOperator.BuildersetOutputCols(int index, String value)The name to give to the columns created by each aggregation operationPlanProtocol.AggregationOperator.BuildersetOutputColsTypes(int index, String value)The types for the outputCols, in the same orderPlanProtocol.AggregationOperator.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)PlanProtocol.AggregationOperator.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)PlanProtocol.AggregationOperator.BuildersetUseVector(boolean value)Flag for runtime-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<PlanProtocol.AggregationOperator.Builder>
-
clear
public PlanProtocol.AggregationOperator.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<PlanProtocol.AggregationOperator.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<PlanProtocol.AggregationOperator.Builder>
-
getDefaultInstanceForType
public PlanProtocol.AggregationOperator getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public PlanProtocol.AggregationOperator build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public PlanProtocol.AggregationOperator buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public PlanProtocol.AggregationOperator.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<PlanProtocol.AggregationOperator.Builder>
-
setField
public PlanProtocol.AggregationOperator.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PlanProtocol.AggregationOperator.Builder>
-
clearField
public PlanProtocol.AggregationOperator.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PlanProtocol.AggregationOperator.Builder>
-
clearOneof
public PlanProtocol.AggregationOperator.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<PlanProtocol.AggregationOperator.Builder>
-
setRepeatedField
public PlanProtocol.AggregationOperator.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PlanProtocol.AggregationOperator.Builder>
-
addRepeatedField
public PlanProtocol.AggregationOperator.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PlanProtocol.AggregationOperator.Builder>
-
mergeFrom
public PlanProtocol.AggregationOperator.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PlanProtocol.AggregationOperator.Builder>
-
mergeFrom
public PlanProtocol.AggregationOperator.Builder mergeFrom(PlanProtocol.AggregationOperator other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<PlanProtocol.AggregationOperator.Builder>
-
mergeFrom
public PlanProtocol.AggregationOperator.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PlanProtocol.AggregationOperator.Builder>- Throws:
IOException
-
getKeysList
public com.google.protobuf.ProtocolStringList getKeysList()
The GROUP BY columns - might be empty
repeated string keys = 1;- Specified by:
getKeysListin interfacePlanProtocol.AggregationOperatorOrBuilder- Returns:
- A list containing the keys.
-
getKeysCount
public int getKeysCount()
The GROUP BY columns - might be empty
repeated string keys = 1;- Specified by:
getKeysCountin interfacePlanProtocol.AggregationOperatorOrBuilder- Returns:
- The count of keys.
-
getKeys
public String getKeys(int index)
The GROUP BY columns - might be empty
repeated string keys = 1;- Specified by:
getKeysin interfacePlanProtocol.AggregationOperatorOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The keys at the given index.
-
getKeysBytes
public com.google.protobuf.ByteString getKeysBytes(int index)
The GROUP BY columns - might be empty
repeated string keys = 1;- Specified by:
getKeysBytesin interfacePlanProtocol.AggregationOperatorOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the keys at the given index.
-
setKeys
public PlanProtocol.AggregationOperator.Builder setKeys(int index, String value)
The GROUP BY columns - might be empty
repeated string keys = 1;- Parameters:
index- The index to set the value at.value- The keys to set.- Returns:
- This builder for chaining.
-
addKeys
public PlanProtocol.AggregationOperator.Builder addKeys(String value)
The GROUP BY columns - might be empty
repeated string keys = 1;- Parameters:
value- The keys to add.- Returns:
- This builder for chaining.
-
addAllKeys
public PlanProtocol.AggregationOperator.Builder addAllKeys(Iterable<String> values)
The GROUP BY columns - might be empty
repeated string keys = 1;- Parameters:
values- The keys to add.- Returns:
- This builder for chaining.
-
clearKeys
public PlanProtocol.AggregationOperator.Builder clearKeys()
The GROUP BY columns - might be empty
repeated string keys = 1;- Returns:
- This builder for chaining.
-
addKeysBytes
public PlanProtocol.AggregationOperator.Builder addKeysBytes(com.google.protobuf.ByteString value)
The GROUP BY columns - might be empty
repeated string keys = 1;- Parameters:
value- The bytes of the keys to add.- Returns:
- This builder for chaining.
-
getOpsList
public List<PlanProtocol.AggregationOperator.AggregationOp> getOpsList()
The aggregation operations to perform
repeated .xg.db.sqlPlans.AggregationOperator.AggregationOp ops = 2;- Specified by:
getOpsListin interfacePlanProtocol.AggregationOperatorOrBuilder- Returns:
- A list containing the ops.
-
getOpsCount
public int getOpsCount()
The aggregation operations to perform
repeated .xg.db.sqlPlans.AggregationOperator.AggregationOp ops = 2;- Specified by:
getOpsCountin interfacePlanProtocol.AggregationOperatorOrBuilder- Returns:
- The count of ops.
-
getOps
public PlanProtocol.AggregationOperator.AggregationOp getOps(int index)
The aggregation operations to perform
repeated .xg.db.sqlPlans.AggregationOperator.AggregationOp ops = 2;- Specified by:
getOpsin interfacePlanProtocol.AggregationOperatorOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The ops at the given index.
-
setOps
public PlanProtocol.AggregationOperator.Builder setOps(int index, PlanProtocol.AggregationOperator.AggregationOp value)
The aggregation operations to perform
repeated .xg.db.sqlPlans.AggregationOperator.AggregationOp ops = 2;- Parameters:
index- The index to set the value at.value- The ops to set.- Returns:
- This builder for chaining.
-
addOps
public PlanProtocol.AggregationOperator.Builder addOps(PlanProtocol.AggregationOperator.AggregationOp value)
The aggregation operations to perform
repeated .xg.db.sqlPlans.AggregationOperator.AggregationOp ops = 2;- Parameters:
value- The ops to add.- Returns:
- This builder for chaining.
-
addAllOps
public PlanProtocol.AggregationOperator.Builder addAllOps(Iterable<? extends PlanProtocol.AggregationOperator.AggregationOp> values)
The aggregation operations to perform
repeated .xg.db.sqlPlans.AggregationOperator.AggregationOp ops = 2;- Parameters:
values- The ops to add.- Returns:
- This builder for chaining.
-
clearOps
public PlanProtocol.AggregationOperator.Builder clearOps()
The aggregation operations to perform
repeated .xg.db.sqlPlans.AggregationOperator.AggregationOp ops = 2;- Returns:
- This builder for chaining.
-
getOpsValueList
public List<Integer> getOpsValueList()
The aggregation operations to perform
repeated .xg.db.sqlPlans.AggregationOperator.AggregationOp ops = 2;- Specified by:
getOpsValueListin interfacePlanProtocol.AggregationOperatorOrBuilder- Returns:
- A list containing the enum numeric values on the wire for ops.
-
getOpsValue
public int getOpsValue(int index)
The aggregation operations to perform
repeated .xg.db.sqlPlans.AggregationOperator.AggregationOp ops = 2;- Specified by:
getOpsValuein interfacePlanProtocol.AggregationOperatorOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of ops at the given index.
-
setOpsValue
public PlanProtocol.AggregationOperator.Builder setOpsValue(int index, int value)
The aggregation operations to perform
repeated .xg.db.sqlPlans.AggregationOperator.AggregationOp ops = 2;- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of ops at the given index.
-
addOpsValue
public PlanProtocol.AggregationOperator.Builder addOpsValue(int value)
The aggregation operations to perform
repeated .xg.db.sqlPlans.AggregationOperator.AggregationOp ops = 2;- Parameters:
value- The enum numeric value on the wire for ops to add.- Returns:
- This builder for chaining.
-
addAllOpsValue
public PlanProtocol.AggregationOperator.Builder addAllOpsValue(Iterable<Integer> values)
The aggregation operations to perform
repeated .xg.db.sqlPlans.AggregationOperator.AggregationOp ops = 2;- Parameters:
values- The enum numeric values on the wire for ops to add.- Returns:
- This builder for chaining.
-
getInputColsList
public com.google.protobuf.ProtocolStringList getInputColsList()
The columns to perform each aggregation on In the same order as ops (and same size) AGG_OP_COUNT_STAR has no input - so a value in that position is garbage
repeated string inputCols = 3;- Specified by:
getInputColsListin interfacePlanProtocol.AggregationOperatorOrBuilder- Returns:
- A list containing the inputCols.
-
getInputColsCount
public int getInputColsCount()
The columns to perform each aggregation on In the same order as ops (and same size) AGG_OP_COUNT_STAR has no input - so a value in that position is garbage
repeated string inputCols = 3;- Specified by:
getInputColsCountin interfacePlanProtocol.AggregationOperatorOrBuilder- Returns:
- The count of inputCols.
-
getInputCols
public String getInputCols(int index)
The columns to perform each aggregation on In the same order as ops (and same size) AGG_OP_COUNT_STAR has no input - so a value in that position is garbage
repeated string inputCols = 3;- Specified by:
getInputColsin interfacePlanProtocol.AggregationOperatorOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The inputCols at the given index.
-
getInputColsBytes
public com.google.protobuf.ByteString getInputColsBytes(int index)
The columns to perform each aggregation on In the same order as ops (and same size) AGG_OP_COUNT_STAR has no input - so a value in that position is garbage
repeated string inputCols = 3;- Specified by:
getInputColsBytesin interfacePlanProtocol.AggregationOperatorOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the inputCols at the given index.
-
setInputCols
public PlanProtocol.AggregationOperator.Builder setInputCols(int index, String value)
The columns to perform each aggregation on In the same order as ops (and same size) AGG_OP_COUNT_STAR has no input - so a value in that position is garbage
repeated string inputCols = 3;- Parameters:
index- The index to set the value at.value- The inputCols to set.- Returns:
- This builder for chaining.
-
addInputCols
public PlanProtocol.AggregationOperator.Builder addInputCols(String value)
The columns to perform each aggregation on In the same order as ops (and same size) AGG_OP_COUNT_STAR has no input - so a value in that position is garbage
repeated string inputCols = 3;- Parameters:
value- The inputCols to add.- Returns:
- This builder for chaining.
-
addAllInputCols
public PlanProtocol.AggregationOperator.Builder addAllInputCols(Iterable<String> values)
The columns to perform each aggregation on In the same order as ops (and same size) AGG_OP_COUNT_STAR has no input - so a value in that position is garbage
repeated string inputCols = 3;- Parameters:
values- The inputCols to add.- Returns:
- This builder for chaining.
-
clearInputCols
public PlanProtocol.AggregationOperator.Builder clearInputCols()
The columns to perform each aggregation on In the same order as ops (and same size) AGG_OP_COUNT_STAR has no input - so a value in that position is garbage
repeated string inputCols = 3;- Returns:
- This builder for chaining.
-
addInputColsBytes
public PlanProtocol.AggregationOperator.Builder addInputColsBytes(com.google.protobuf.ByteString value)
The columns to perform each aggregation on In the same order as ops (and same size) AGG_OP_COUNT_STAR has no input - so a value in that position is garbage
repeated string inputCols = 3;- Parameters:
value- The bytes of the inputCols to add.- Returns:
- This builder for chaining.
-
getOutputColsList
public com.google.protobuf.ProtocolStringList getOutputColsList()
The name to give to the columns created by each aggregation operation
repeated string outputCols = 4;- Specified by:
getOutputColsListin interfacePlanProtocol.AggregationOperatorOrBuilder- Returns:
- A list containing the outputCols.
-
getOutputColsCount
public int getOutputColsCount()
The name to give to the columns created by each aggregation operation
repeated string outputCols = 4;- Specified by:
getOutputColsCountin interfacePlanProtocol.AggregationOperatorOrBuilder- Returns:
- The count of outputCols.
-
getOutputCols
public String getOutputCols(int index)
The name to give to the columns created by each aggregation operation
repeated string outputCols = 4;- Specified by:
getOutputColsin interfacePlanProtocol.AggregationOperatorOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The outputCols at the given index.
-
getOutputColsBytes
public com.google.protobuf.ByteString getOutputColsBytes(int index)
The name to give to the columns created by each aggregation operation
repeated string outputCols = 4;- Specified by:
getOutputColsBytesin interfacePlanProtocol.AggregationOperatorOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the outputCols at the given index.
-
setOutputCols
public PlanProtocol.AggregationOperator.Builder setOutputCols(int index, String value)
The name to give to the columns created by each aggregation operation
repeated string outputCols = 4;- Parameters:
index- The index to set the value at.value- The outputCols to set.- Returns:
- This builder for chaining.
-
addOutputCols
public PlanProtocol.AggregationOperator.Builder addOutputCols(String value)
The name to give to the columns created by each aggregation operation
repeated string outputCols = 4;- Parameters:
value- The outputCols to add.- Returns:
- This builder for chaining.
-
addAllOutputCols
public PlanProtocol.AggregationOperator.Builder addAllOutputCols(Iterable<String> values)
The name to give to the columns created by each aggregation operation
repeated string outputCols = 4;- Parameters:
values- The outputCols to add.- Returns:
- This builder for chaining.
-
clearOutputCols
public PlanProtocol.AggregationOperator.Builder clearOutputCols()
The name to give to the columns created by each aggregation operation
repeated string outputCols = 4;- Returns:
- This builder for chaining.
-
addOutputColsBytes
public PlanProtocol.AggregationOperator.Builder addOutputColsBytes(com.google.protobuf.ByteString value)
The name to give to the columns created by each aggregation operation
repeated string outputCols = 4;- Parameters:
value- The bytes of the outputCols to add.- Returns:
- This builder for chaining.
-
getOutputColsTypesList
public com.google.protobuf.ProtocolStringList getOutputColsTypesList()
The types for the outputCols, in the same order
repeated string outputColsTypes = 5;- Specified by:
getOutputColsTypesListin interfacePlanProtocol.AggregationOperatorOrBuilder- Returns:
- A list containing the outputColsTypes.
-
getOutputColsTypesCount
public int getOutputColsTypesCount()
The types for the outputCols, in the same order
repeated string outputColsTypes = 5;- Specified by:
getOutputColsTypesCountin interfacePlanProtocol.AggregationOperatorOrBuilder- Returns:
- The count of outputColsTypes.
-
getOutputColsTypes
public String getOutputColsTypes(int index)
The types for the outputCols, in the same order
repeated string outputColsTypes = 5;- Specified by:
getOutputColsTypesin interfacePlanProtocol.AggregationOperatorOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The outputColsTypes at the given index.
-
getOutputColsTypesBytes
public com.google.protobuf.ByteString getOutputColsTypesBytes(int index)
The types for the outputCols, in the same order
repeated string outputColsTypes = 5;- Specified by:
getOutputColsTypesBytesin interfacePlanProtocol.AggregationOperatorOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the outputColsTypes at the given index.
-
setOutputColsTypes
public PlanProtocol.AggregationOperator.Builder setOutputColsTypes(int index, String value)
The types for the outputCols, in the same order
repeated string outputColsTypes = 5;- Parameters:
index- The index to set the value at.value- The outputColsTypes to set.- Returns:
- This builder for chaining.
-
addOutputColsTypes
public PlanProtocol.AggregationOperator.Builder addOutputColsTypes(String value)
The types for the outputCols, in the same order
repeated string outputColsTypes = 5;- Parameters:
value- The outputColsTypes to add.- Returns:
- This builder for chaining.
-
addAllOutputColsTypes
public PlanProtocol.AggregationOperator.Builder addAllOutputColsTypes(Iterable<String> values)
The types for the outputCols, in the same order
repeated string outputColsTypes = 5;- Parameters:
values- The outputColsTypes to add.- Returns:
- This builder for chaining.
-
clearOutputColsTypes
public PlanProtocol.AggregationOperator.Builder clearOutputColsTypes()
The types for the outputCols, in the same order
repeated string outputColsTypes = 5;- Returns:
- This builder for chaining.
-
addOutputColsTypesBytes
public PlanProtocol.AggregationOperator.Builder addOutputColsTypesBytes(com.google.protobuf.ByteString value)
The types for the outputCols, in the same order
repeated string outputColsTypes = 5;- Parameters:
value- The bytes of the outputColsTypes to add.- Returns:
- This builder for chaining.
-
getForceOnePartition
public boolean getForceOnePartition()
Flag for runtime
bool forceOnePartition = 6;- Specified by:
getForceOnePartitionin interfacePlanProtocol.AggregationOperatorOrBuilder- Returns:
- The forceOnePartition.
-
setForceOnePartition
public PlanProtocol.AggregationOperator.Builder setForceOnePartition(boolean value)
Flag for runtime
bool forceOnePartition = 6;- Parameters:
value- The forceOnePartition to set.- Returns:
- This builder for chaining.
-
clearForceOnePartition
public PlanProtocol.AggregationOperator.Builder clearForceOnePartition()
Flag for runtime
bool forceOnePartition = 6;- Returns:
- This builder for chaining.
-
getUseVector
public boolean getUseVector()
Flag for runtime
bool use_vector = 7;- Specified by:
getUseVectorin interfacePlanProtocol.AggregationOperatorOrBuilder- Returns:
- The useVector.
-
setUseVector
public PlanProtocol.AggregationOperator.Builder setUseVector(boolean value)
Flag for runtime
bool use_vector = 7;- Parameters:
value- The useVector to set.- Returns:
- This builder for chaining.
-
clearUseVector
public PlanProtocol.AggregationOperator.Builder clearUseVector()
Flag for runtime
bool use_vector = 7;- Returns:
- This builder for chaining.
-
setUnknownFields
public final PlanProtocol.AggregationOperator.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<PlanProtocol.AggregationOperator.Builder>
-
mergeUnknownFields
public final PlanProtocol.AggregationOperator.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<PlanProtocol.AggregationOperator.Builder>
-
-