Package com.ocient.jdbc.proto
Class PlanProtocol.OrderedGatherOperator.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<PlanProtocol.OrderedGatherOperator.Builder>
-
- com.ocient.jdbc.proto.PlanProtocol.OrderedGatherOperator.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,PlanProtocol.OrderedGatherOperatorOrBuilder,Cloneable
- Enclosing class:
- PlanProtocol.OrderedGatherOperator
public static final class PlanProtocol.OrderedGatherOperator.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PlanProtocol.OrderedGatherOperator.Builder> implements PlanProtocol.OrderedGatherOperatorOrBuilder
Same as gather operator except that the streams received from each node are already sorted and we need to merge the sorted streams
Protobuf typexg.db.sqlPlans.OrderedGatherOperator
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PlanProtocol.OrderedGatherOperator.BuilderaddAllDirections(Iterable<? extends Boolean> values)The directions for each sort col - true = ascendingPlanProtocol.OrderedGatherOperator.BuilderaddAllSortKeys(Iterable<String> values)The sort columns - order mattersPlanProtocol.OrderedGatherOperator.BuilderaddDirections(boolean value)The directions for each sort col - true = ascendingPlanProtocol.OrderedGatherOperator.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)PlanProtocol.OrderedGatherOperator.BuilderaddSortKeys(String value)The sort columns - order mattersPlanProtocol.OrderedGatherOperator.BuilderaddSortKeysBytes(com.google.protobuf.ByteString value)The sort columns - order mattersPlanProtocol.OrderedGatherOperatorbuild()PlanProtocol.OrderedGatherOperatorbuildPartial()PlanProtocol.OrderedGatherOperator.Builderclear()PlanProtocol.OrderedGatherOperator.BuilderclearDirections()The directions for each sort col - true = ascendingPlanProtocol.OrderedGatherOperator.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)PlanProtocol.OrderedGatherOperator.BuilderclearLevel().xg.db.sqlPlans.GatherLevel level = 3;PlanProtocol.OrderedGatherOperator.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)PlanProtocol.OrderedGatherOperator.BuilderclearSortKeys()The sort columns - order mattersPlanProtocol.OrderedGatherOperator.Builderclone()PlanProtocol.OrderedGatherOperatorgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()booleangetDirections(int index)The directions for each sort col - true = ascendingintgetDirectionsCount()The directions for each sort col - true = ascendingList<Boolean>getDirectionsList()The directions for each sort col - true = ascendingPlanProtocol.GatherLevelgetLevel().xg.db.sqlPlans.GatherLevel level = 3;intgetLevelValue().xg.db.sqlPlans.GatherLevel level = 3;StringgetSortKeys(int index)The sort columns - order matterscom.google.protobuf.ByteStringgetSortKeysBytes(int index)The sort columns - order mattersintgetSortKeysCount()The sort columns - order matterscom.google.protobuf.ProtocolStringListgetSortKeysList()The sort columns - order mattersprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()PlanProtocol.OrderedGatherOperator.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)PlanProtocol.OrderedGatherOperator.BuildermergeFrom(com.google.protobuf.Message other)PlanProtocol.OrderedGatherOperator.BuildermergeFrom(PlanProtocol.OrderedGatherOperator other)PlanProtocol.OrderedGatherOperator.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)PlanProtocol.OrderedGatherOperator.BuildersetDirections(int index, boolean value)The directions for each sort col - true = ascendingPlanProtocol.OrderedGatherOperator.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)PlanProtocol.OrderedGatherOperator.BuildersetLevel(PlanProtocol.GatherLevel value).xg.db.sqlPlans.GatherLevel level = 3;PlanProtocol.OrderedGatherOperator.BuildersetLevelValue(int value).xg.db.sqlPlans.GatherLevel level = 3;PlanProtocol.OrderedGatherOperator.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)PlanProtocol.OrderedGatherOperator.BuildersetSortKeys(int index, String value)The sort columns - order mattersPlanProtocol.OrderedGatherOperator.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
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.OrderedGatherOperator.Builder>
-
clear
public PlanProtocol.OrderedGatherOperator.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.OrderedGatherOperator.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.OrderedGatherOperator.Builder>
-
getDefaultInstanceForType
public PlanProtocol.OrderedGatherOperator getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public PlanProtocol.OrderedGatherOperator build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public PlanProtocol.OrderedGatherOperator buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public PlanProtocol.OrderedGatherOperator.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.OrderedGatherOperator.Builder>
-
setField
public PlanProtocol.OrderedGatherOperator.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.OrderedGatherOperator.Builder>
-
clearField
public PlanProtocol.OrderedGatherOperator.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PlanProtocol.OrderedGatherOperator.Builder>
-
clearOneof
public PlanProtocol.OrderedGatherOperator.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<PlanProtocol.OrderedGatherOperator.Builder>
-
setRepeatedField
public PlanProtocol.OrderedGatherOperator.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.OrderedGatherOperator.Builder>
-
addRepeatedField
public PlanProtocol.OrderedGatherOperator.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.OrderedGatherOperator.Builder>
-
mergeFrom
public PlanProtocol.OrderedGatherOperator.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PlanProtocol.OrderedGatherOperator.Builder>
-
mergeFrom
public PlanProtocol.OrderedGatherOperator.Builder mergeFrom(PlanProtocol.OrderedGatherOperator other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<PlanProtocol.OrderedGatherOperator.Builder>
-
mergeFrom
public PlanProtocol.OrderedGatherOperator.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.OrderedGatherOperator.Builder>- Throws:
IOException
-
getSortKeysList
public com.google.protobuf.ProtocolStringList getSortKeysList()
The sort columns - order matters
repeated string sortKeys = 1;- Specified by:
getSortKeysListin interfacePlanProtocol.OrderedGatherOperatorOrBuilder- Returns:
- A list containing the sortKeys.
-
getSortKeysCount
public int getSortKeysCount()
The sort columns - order matters
repeated string sortKeys = 1;- Specified by:
getSortKeysCountin interfacePlanProtocol.OrderedGatherOperatorOrBuilder- Returns:
- The count of sortKeys.
-
getSortKeys
public String getSortKeys(int index)
The sort columns - order matters
repeated string sortKeys = 1;- Specified by:
getSortKeysin interfacePlanProtocol.OrderedGatherOperatorOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The sortKeys at the given index.
-
getSortKeysBytes
public com.google.protobuf.ByteString getSortKeysBytes(int index)
The sort columns - order matters
repeated string sortKeys = 1;- Specified by:
getSortKeysBytesin interfacePlanProtocol.OrderedGatherOperatorOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the sortKeys at the given index.
-
setSortKeys
public PlanProtocol.OrderedGatherOperator.Builder setSortKeys(int index, String value)
The sort columns - order matters
repeated string sortKeys = 1;- Parameters:
index- The index to set the value at.value- The sortKeys to set.- Returns:
- This builder for chaining.
-
addSortKeys
public PlanProtocol.OrderedGatherOperator.Builder addSortKeys(String value)
The sort columns - order matters
repeated string sortKeys = 1;- Parameters:
value- The sortKeys to add.- Returns:
- This builder for chaining.
-
addAllSortKeys
public PlanProtocol.OrderedGatherOperator.Builder addAllSortKeys(Iterable<String> values)
The sort columns - order matters
repeated string sortKeys = 1;- Parameters:
values- The sortKeys to add.- Returns:
- This builder for chaining.
-
clearSortKeys
public PlanProtocol.OrderedGatherOperator.Builder clearSortKeys()
The sort columns - order matters
repeated string sortKeys = 1;- Returns:
- This builder for chaining.
-
addSortKeysBytes
public PlanProtocol.OrderedGatherOperator.Builder addSortKeysBytes(com.google.protobuf.ByteString value)
The sort columns - order matters
repeated string sortKeys = 1;- Parameters:
value- The bytes of the sortKeys to add.- Returns:
- This builder for chaining.
-
getDirectionsList
public List<Boolean> getDirectionsList()
The directions for each sort col - true = ascending
repeated bool directions = 2;- Specified by:
getDirectionsListin interfacePlanProtocol.OrderedGatherOperatorOrBuilder- Returns:
- A list containing the directions.
-
getDirectionsCount
public int getDirectionsCount()
The directions for each sort col - true = ascending
repeated bool directions = 2;- Specified by:
getDirectionsCountin interfacePlanProtocol.OrderedGatherOperatorOrBuilder- Returns:
- The count of directions.
-
getDirections
public boolean getDirections(int index)
The directions for each sort col - true = ascending
repeated bool directions = 2;- Specified by:
getDirectionsin interfacePlanProtocol.OrderedGatherOperatorOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The directions at the given index.
-
setDirections
public PlanProtocol.OrderedGatherOperator.Builder setDirections(int index, boolean value)
The directions for each sort col - true = ascending
repeated bool directions = 2;- Parameters:
index- The index to set the value at.value- The directions to set.- Returns:
- This builder for chaining.
-
addDirections
public PlanProtocol.OrderedGatherOperator.Builder addDirections(boolean value)
The directions for each sort col - true = ascending
repeated bool directions = 2;- Parameters:
value- The directions to add.- Returns:
- This builder for chaining.
-
addAllDirections
public PlanProtocol.OrderedGatherOperator.Builder addAllDirections(Iterable<? extends Boolean> values)
The directions for each sort col - true = ascending
repeated bool directions = 2;- Parameters:
values- The directions to add.- Returns:
- This builder for chaining.
-
clearDirections
public PlanProtocol.OrderedGatherOperator.Builder clearDirections()
The directions for each sort col - true = ascending
repeated bool directions = 2;- Returns:
- This builder for chaining.
-
getLevelValue
public int getLevelValue()
.xg.db.sqlPlans.GatherLevel level = 3;- Specified by:
getLevelValuein interfacePlanProtocol.OrderedGatherOperatorOrBuilder- Returns:
- The enum numeric value on the wire for level.
-
setLevelValue
public PlanProtocol.OrderedGatherOperator.Builder setLevelValue(int value)
.xg.db.sqlPlans.GatherLevel level = 3;- Parameters:
value- The enum numeric value on the wire for level to set.- Returns:
- This builder for chaining.
-
getLevel
public PlanProtocol.GatherLevel getLevel()
.xg.db.sqlPlans.GatherLevel level = 3;- Specified by:
getLevelin interfacePlanProtocol.OrderedGatherOperatorOrBuilder- Returns:
- The level.
-
setLevel
public PlanProtocol.OrderedGatherOperator.Builder setLevel(PlanProtocol.GatherLevel value)
.xg.db.sqlPlans.GatherLevel level = 3;- Parameters:
value- The level to set.- Returns:
- This builder for chaining.
-
clearLevel
public PlanProtocol.OrderedGatherOperator.Builder clearLevel()
.xg.db.sqlPlans.GatherLevel level = 3;- Returns:
- This builder for chaining.
-
setUnknownFields
public final PlanProtocol.OrderedGatherOperator.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<PlanProtocol.OrderedGatherOperator.Builder>
-
mergeUnknownFields
public final PlanProtocol.OrderedGatherOperator.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<PlanProtocol.OrderedGatherOperator.Builder>
-
-