Package com.ocient.jdbc.proto
Class PlanProtocol.SortOperator
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.ocient.jdbc.proto.PlanProtocol.SortOperator
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,PlanProtocol.SortOperatorOrBuilder,Serializable
- Enclosing class:
- PlanProtocol
public static final class PlanProtocol.SortOperator extends com.google.protobuf.GeneratedMessageV3 implements PlanProtocol.SortOperatorOrBuilder
Protobuf typexg.db.sqlPlans.SortOperator- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPlanProtocol.SortOperator.BuilderProtobuf typexg.db.sqlPlans.SortOperator-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intDIRECTIONS_FIELD_NUMBERstatic intLIMITVAL_FIELD_NUMBERstatic intPOINT_FIELD_NUMBERstatic intSORTKEYS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static PlanProtocol.SortOperatorgetDefaultInstance()PlanProtocol.SortOperatorgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()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 = ascendinglonggetLimitVal()If we know we only need the top n rows of the sort that is noted here If there is no limit being applied, this is set to -1com.google.protobuf.Parser<PlanProtocol.SortOperator>getParserForType()PlanProtocol.SortPartitiongetPoint(int index)This defines the list of partitioning points for dividing the sort into streams There's no guarantees on the size of this It could be completely empty, which could happen if it look like all the data has the same sort key - implies that we don't know what to do besides one sort stream There is no guarantee that the partitioning points are in orderintgetPointCount()This defines the list of partitioning points for dividing the sort into streams There's no guarantees on the size of this It could be completely empty, which could happen if it look like all the data has the same sort key - implies that we don't know what to do besides one sort stream There is no guarantee that the partitioning points are in orderList<PlanProtocol.SortPartition>getPointList()This defines the list of partitioning points for dividing the sort into streams There's no guarantees on the size of this It could be completely empty, which could happen if it look like all the data has the same sort key - implies that we don't know what to do besides one sort stream There is no guarantee that the partitioning points are in orderPlanProtocol.SortPartitionOrBuildergetPointOrBuilder(int index)This defines the list of partitioning points for dividing the sort into streams There's no guarantees on the size of this It could be completely empty, which could happen if it look like all the data has the same sort key - implies that we don't know what to do besides one sort stream There is no guarantee that the partitioning points are in orderList<? extends PlanProtocol.SortPartitionOrBuilder>getPointOrBuilderList()This defines the list of partitioning points for dividing the sort into streams There's no guarantees on the size of this It could be completely empty, which could happen if it look like all the data has the same sort key - implies that we don't know what to do besides one sort stream There is no guarantee that the partitioning points are in orderintgetSerializedSize()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 matterscom.google.protobuf.UnknownFieldSetgetUnknownFields()inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static PlanProtocol.SortOperator.BuildernewBuilder()static PlanProtocol.SortOperator.BuildernewBuilder(PlanProtocol.SortOperator prototype)PlanProtocol.SortOperator.BuildernewBuilderForType()protected PlanProtocol.SortOperator.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static PlanProtocol.SortOperatorparseDelimitedFrom(InputStream input)static PlanProtocol.SortOperatorparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PlanProtocol.SortOperatorparseFrom(byte[] data)static PlanProtocol.SortOperatorparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PlanProtocol.SortOperatorparseFrom(com.google.protobuf.ByteString data)static PlanProtocol.SortOperatorparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PlanProtocol.SortOperatorparseFrom(com.google.protobuf.CodedInputStream input)static PlanProtocol.SortOperatorparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PlanProtocol.SortOperatorparseFrom(InputStream input)static PlanProtocol.SortOperatorparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static PlanProtocol.SortOperatorparseFrom(ByteBuffer data)static PlanProtocol.SortOperatorparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<PlanProtocol.SortOperator>parser()PlanProtocol.SortOperator.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
SORTKEYS_FIELD_NUMBER
public static final int SORTKEYS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DIRECTIONS_FIELD_NUMBER
public static final int DIRECTIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LIMITVAL_FIELD_NUMBER
public static final int LIMITVAL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
POINT_FIELD_NUMBER
public static final int POINT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
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
-
getSortKeysList
public com.google.protobuf.ProtocolStringList getSortKeysList()
The sort columns - order matters
repeated string sortKeys = 1;- Specified by:
getSortKeysListin interfacePlanProtocol.SortOperatorOrBuilder- Returns:
- A list containing the sortKeys.
-
getSortKeysCount
public int getSortKeysCount()
The sort columns - order matters
repeated string sortKeys = 1;- Specified by:
getSortKeysCountin interfacePlanProtocol.SortOperatorOrBuilder- Returns:
- The count of sortKeys.
-
getSortKeys
public String getSortKeys(int index)
The sort columns - order matters
repeated string sortKeys = 1;- Specified by:
getSortKeysin interfacePlanProtocol.SortOperatorOrBuilder- 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.SortOperatorOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the sortKeys at the given index.
-
getDirectionsList
public List<Boolean> getDirectionsList()
The directions for each sort col - true = ascending
repeated bool directions = 2;- Specified by:
getDirectionsListin interfacePlanProtocol.SortOperatorOrBuilder- 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.SortOperatorOrBuilder- 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.SortOperatorOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The directions at the given index.
-
getLimitVal
public long getLimitVal()
If we know we only need the top n rows of the sort that is noted here If there is no limit being applied, this is set to -1
int64 limitVal = 3;- Specified by:
getLimitValin interfacePlanProtocol.SortOperatorOrBuilder- Returns:
- The limitVal.
-
getPointList
public List<PlanProtocol.SortPartition> getPointList()
This defines the list of partitioning points for dividing the sort into streams There's no guarantees on the size of this It could be completely empty, which could happen if it look like all the data has the same sort key - implies that we don't know what to do besides one sort stream There is no guarantee that the partitioning points are in order
repeated .xg.db.sqlPlans.SortPartition point = 4;- Specified by:
getPointListin interfacePlanProtocol.SortOperatorOrBuilder
-
getPointOrBuilderList
public List<? extends PlanProtocol.SortPartitionOrBuilder> getPointOrBuilderList()
This defines the list of partitioning points for dividing the sort into streams There's no guarantees on the size of this It could be completely empty, which could happen if it look like all the data has the same sort key - implies that we don't know what to do besides one sort stream There is no guarantee that the partitioning points are in order
repeated .xg.db.sqlPlans.SortPartition point = 4;- Specified by:
getPointOrBuilderListin interfacePlanProtocol.SortOperatorOrBuilder
-
getPointCount
public int getPointCount()
This defines the list of partitioning points for dividing the sort into streams There's no guarantees on the size of this It could be completely empty, which could happen if it look like all the data has the same sort key - implies that we don't know what to do besides one sort stream There is no guarantee that the partitioning points are in order
repeated .xg.db.sqlPlans.SortPartition point = 4;- Specified by:
getPointCountin interfacePlanProtocol.SortOperatorOrBuilder
-
getPoint
public PlanProtocol.SortPartition getPoint(int index)
This defines the list of partitioning points for dividing the sort into streams There's no guarantees on the size of this It could be completely empty, which could happen if it look like all the data has the same sort key - implies that we don't know what to do besides one sort stream There is no guarantee that the partitioning points are in order
repeated .xg.db.sqlPlans.SortPartition point = 4;- Specified by:
getPointin interfacePlanProtocol.SortOperatorOrBuilder
-
getPointOrBuilder
public PlanProtocol.SortPartitionOrBuilder getPointOrBuilder(int index)
This defines the list of partitioning points for dividing the sort into streams There's no guarantees on the size of this It could be completely empty, which could happen if it look like all the data has the same sort key - implies that we don't know what to do besides one sort stream There is no guarantee that the partitioning points are in order
repeated .xg.db.sqlPlans.SortPartition point = 4;- Specified by:
getPointOrBuilderin interfacePlanProtocol.SortOperatorOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static PlanProtocol.SortOperator parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PlanProtocol.SortOperator parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PlanProtocol.SortOperator parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PlanProtocol.SortOperator parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PlanProtocol.SortOperator parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PlanProtocol.SortOperator parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PlanProtocol.SortOperator parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static PlanProtocol.SortOperator parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static PlanProtocol.SortOperator parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static PlanProtocol.SortOperator parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static PlanProtocol.SortOperator parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static PlanProtocol.SortOperator parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public PlanProtocol.SortOperator.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static PlanProtocol.SortOperator.Builder newBuilder()
-
newBuilder
public static PlanProtocol.SortOperator.Builder newBuilder(PlanProtocol.SortOperator prototype)
-
toBuilder
public PlanProtocol.SortOperator.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected PlanProtocol.SortOperator.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static PlanProtocol.SortOperator getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<PlanProtocol.SortOperator> parser()
-
getParserForType
public com.google.protobuf.Parser<PlanProtocol.SortOperator> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public PlanProtocol.SortOperator getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-