Package io.substrait.proto
Class RelCommon.Hint
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.substrait.proto.RelCommon.Hint
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,RelCommon.HintOrBuilder,Serializable
- Enclosing class:
- RelCommon
public static final class RelCommon.Hint
extends com.google.protobuf.GeneratedMessageV3
implements RelCommon.HintOrBuilder
Changes to the operation that can influence efficiency/performance but should not impact correctness.Protobuf type
substrait.RelCommon.Hint- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classChanges to the operation that can influence efficiency/performance but should not impact correctness.static enumProtobuf enumsubstrait.RelCommon.Hint.ComputationTypestatic final classProtobuf typesubstrait.RelCommon.Hint.LoadedComputationstatic interfacestatic final classTODO: nodes, cpu threads/%, memory, iops, etc.static interfacestatic final classProtobuf typesubstrait.RelCommon.Hint.SavedComputationstatic interfacestatic final classThe statistics related to a hint (physical properties of records)static interfaceNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionboolean.substrait.extensions.AdvancedExtension advanced_extension = 10;.substrait.extensions.AdvancedExtension advanced_extension = 10;getAlias()Name (alias) for this relation.com.google.protobuf.ByteStringName (alias) for this relation..substrait.RelCommon.Hint.RuntimeConstraint constraint = 2;.substrait.RelCommon.Hint.RuntimeConstraint constraint = 2;static RelCommon.Hintstatic final com.google.protobuf.Descriptors.DescriptorgetLoadedComputations(int index) repeated .substrait.RelCommon.Hint.LoadedComputation loaded_computations = 12;intrepeated .substrait.RelCommon.Hint.LoadedComputation loaded_computations = 12;repeated .substrait.RelCommon.Hint.LoadedComputation loaded_computations = 12;getLoadedComputationsOrBuilder(int index) repeated .substrait.RelCommon.Hint.LoadedComputation loaded_computations = 12;List<? extends RelCommon.Hint.LoadedComputationOrBuilder>repeated .substrait.RelCommon.Hint.LoadedComputation loaded_computations = 12;getOutputNames(int index) Assigns alternative output field names for any relation.com.google.protobuf.ByteStringgetOutputNamesBytes(int index) Assigns alternative output field names for any relation.intAssigns alternative output field names for any relation.com.google.protobuf.ProtocolStringListAssigns alternative output field names for any relation.com.google.protobuf.Parser<RelCommon.Hint>getSavedComputations(int index) Save or load a system-specific computation for use in optimizing a remote operation.intSave or load a system-specific computation for use in optimizing a remote operation.Save or load a system-specific computation for use in optimizing a remote operation.getSavedComputationsOrBuilder(int index) Save or load a system-specific computation for use in optimizing a remote operation.List<? extends RelCommon.Hint.SavedComputationOrBuilder>Save or load a system-specific computation for use in optimizing a remote operation.intgetStats().substrait.RelCommon.Hint.Stats stats = 1;.substrait.RelCommon.Hint.Stats stats = 1;boolean.substrait.extensions.AdvancedExtension advanced_extension = 10;boolean.substrait.RelCommon.Hint.RuntimeConstraint constraint = 2;inthashCode()booleanhasStats().substrait.RelCommon.Hint.Stats stats = 1;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic RelCommon.Hint.Builderstatic RelCommon.Hint.BuildernewBuilder(RelCommon.Hint prototype) protected RelCommon.Hint.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static RelCommon.HintparseDelimitedFrom(InputStream input) static RelCommon.HintparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RelCommon.HintparseFrom(byte[] data) static RelCommon.HintparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RelCommon.HintparseFrom(com.google.protobuf.ByteString data) static RelCommon.HintparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RelCommon.HintparseFrom(com.google.protobuf.CodedInputStream input) static RelCommon.HintparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RelCommon.HintparseFrom(InputStream input) static RelCommon.HintparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RelCommon.HintparseFrom(ByteBuffer data) static RelCommon.HintparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<RelCommon.Hint>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, 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, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
STATS_FIELD_NUMBER
public static final int STATS_FIELD_NUMBER- See Also:
-
CONSTRAINT_FIELD_NUMBER
public static final int CONSTRAINT_FIELD_NUMBER- See Also:
-
ALIAS_FIELD_NUMBER
public static final int ALIAS_FIELD_NUMBER- See Also:
-
OUTPUT_NAMES_FIELD_NUMBER
public static final int OUTPUT_NAMES_FIELD_NUMBER- See Also:
-
ADVANCED_EXTENSION_FIELD_NUMBER
public static final int ADVANCED_EXTENSION_FIELD_NUMBER- See Also:
-
SAVED_COMPUTATIONS_FIELD_NUMBER
public static final int SAVED_COMPUTATIONS_FIELD_NUMBER- See Also:
-
LOADED_COMPUTATIONS_FIELD_NUMBER
public static final int LOADED_COMPUTATIONS_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein 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
-
hasStats
public boolean hasStats().substrait.RelCommon.Hint.Stats stats = 1;- Specified by:
hasStatsin interfaceRelCommon.HintOrBuilder- Returns:
- Whether the stats field is set.
-
getStats
.substrait.RelCommon.Hint.Stats stats = 1;- Specified by:
getStatsin interfaceRelCommon.HintOrBuilder- Returns:
- The stats.
-
getStatsOrBuilder
.substrait.RelCommon.Hint.Stats stats = 1;- Specified by:
getStatsOrBuilderin interfaceRelCommon.HintOrBuilder
-
hasConstraint
public boolean hasConstraint().substrait.RelCommon.Hint.RuntimeConstraint constraint = 2;- Specified by:
hasConstraintin interfaceRelCommon.HintOrBuilder- Returns:
- Whether the constraint field is set.
-
getConstraint
.substrait.RelCommon.Hint.RuntimeConstraint constraint = 2;- Specified by:
getConstraintin interfaceRelCommon.HintOrBuilder- Returns:
- The constraint.
-
getConstraintOrBuilder
.substrait.RelCommon.Hint.RuntimeConstraint constraint = 2;- Specified by:
getConstraintOrBuilderin interfaceRelCommon.HintOrBuilder
-
getAlias
Name (alias) for this relation. Can be used for e.g. qualifying the relation (see e.g. Spark's SubqueryAlias), or debugging.
string alias = 3;- Specified by:
getAliasin interfaceRelCommon.HintOrBuilder- Returns:
- The alias.
-
getAliasBytes
public com.google.protobuf.ByteString getAliasBytes()Name (alias) for this relation. Can be used for e.g. qualifying the relation (see e.g. Spark's SubqueryAlias), or debugging.
string alias = 3;- Specified by:
getAliasBytesin interfaceRelCommon.HintOrBuilder- Returns:
- The bytes for alias.
-
getOutputNamesList
public com.google.protobuf.ProtocolStringList getOutputNamesList()Assigns alternative output field names for any relation. Equivalent to the names field in RelRoot but applies to the output of the relation this RelCommon is attached to.
repeated string output_names = 4;- Specified by:
getOutputNamesListin interfaceRelCommon.HintOrBuilder- Returns:
- A list containing the outputNames.
-
getOutputNamesCount
public int getOutputNamesCount()Assigns alternative output field names for any relation. Equivalent to the names field in RelRoot but applies to the output of the relation this RelCommon is attached to.
repeated string output_names = 4;- Specified by:
getOutputNamesCountin interfaceRelCommon.HintOrBuilder- Returns:
- The count of outputNames.
-
getOutputNames
Assigns alternative output field names for any relation. Equivalent to the names field in RelRoot but applies to the output of the relation this RelCommon is attached to.
repeated string output_names = 4;- Specified by:
getOutputNamesin interfaceRelCommon.HintOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The outputNames at the given index.
-
getOutputNamesBytes
public com.google.protobuf.ByteString getOutputNamesBytes(int index) Assigns alternative output field names for any relation. Equivalent to the names field in RelRoot but applies to the output of the relation this RelCommon is attached to.
repeated string output_names = 4;- Specified by:
getOutputNamesBytesin interfaceRelCommon.HintOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the outputNames at the given index.
-
hasAdvancedExtension
public boolean hasAdvancedExtension().substrait.extensions.AdvancedExtension advanced_extension = 10;- Specified by:
hasAdvancedExtensionin interfaceRelCommon.HintOrBuilder- Returns:
- Whether the advancedExtension field is set.
-
getAdvancedExtension
.substrait.extensions.AdvancedExtension advanced_extension = 10;- Specified by:
getAdvancedExtensionin interfaceRelCommon.HintOrBuilder- Returns:
- The advancedExtension.
-
getAdvancedExtensionOrBuilder
.substrait.extensions.AdvancedExtension advanced_extension = 10;- Specified by:
getAdvancedExtensionOrBuilderin interfaceRelCommon.HintOrBuilder
-
getSavedComputationsList
Save or load a system-specific computation for use in optimizing a remote operation. The anchor refers to the source/destination of the computation. The computation type and number refer to the current relation.
repeated .substrait.RelCommon.Hint.SavedComputation saved_computations = 11;- Specified by:
getSavedComputationsListin interfaceRelCommon.HintOrBuilder
-
getSavedComputationsOrBuilderList
Save or load a system-specific computation for use in optimizing a remote operation. The anchor refers to the source/destination of the computation. The computation type and number refer to the current relation.
repeated .substrait.RelCommon.Hint.SavedComputation saved_computations = 11;- Specified by:
getSavedComputationsOrBuilderListin interfaceRelCommon.HintOrBuilder
-
getSavedComputationsCount
public int getSavedComputationsCount()Save or load a system-specific computation for use in optimizing a remote operation. The anchor refers to the source/destination of the computation. The computation type and number refer to the current relation.
repeated .substrait.RelCommon.Hint.SavedComputation saved_computations = 11;- Specified by:
getSavedComputationsCountin interfaceRelCommon.HintOrBuilder
-
getSavedComputations
Save or load a system-specific computation for use in optimizing a remote operation. The anchor refers to the source/destination of the computation. The computation type and number refer to the current relation.
repeated .substrait.RelCommon.Hint.SavedComputation saved_computations = 11;- Specified by:
getSavedComputationsin interfaceRelCommon.HintOrBuilder
-
getSavedComputationsOrBuilder
Save or load a system-specific computation for use in optimizing a remote operation. The anchor refers to the source/destination of the computation. The computation type and number refer to the current relation.
repeated .substrait.RelCommon.Hint.SavedComputation saved_computations = 11;- Specified by:
getSavedComputationsOrBuilderin interfaceRelCommon.HintOrBuilder
-
getLoadedComputationsList
repeated .substrait.RelCommon.Hint.LoadedComputation loaded_computations = 12;- Specified by:
getLoadedComputationsListin interfaceRelCommon.HintOrBuilder
-
getLoadedComputationsOrBuilderList
public List<? extends RelCommon.Hint.LoadedComputationOrBuilder> getLoadedComputationsOrBuilderList()repeated .substrait.RelCommon.Hint.LoadedComputation loaded_computations = 12;- Specified by:
getLoadedComputationsOrBuilderListin interfaceRelCommon.HintOrBuilder
-
getLoadedComputationsCount
public int getLoadedComputationsCount()repeated .substrait.RelCommon.Hint.LoadedComputation loaded_computations = 12;- Specified by:
getLoadedComputationsCountin interfaceRelCommon.HintOrBuilder
-
getLoadedComputations
repeated .substrait.RelCommon.Hint.LoadedComputation loaded_computations = 12;- Specified by:
getLoadedComputationsin interfaceRelCommon.HintOrBuilder
-
getLoadedComputationsOrBuilder
repeated .substrait.RelCommon.Hint.LoadedComputation loaded_computations = 12;- Specified by:
getLoadedComputationsOrBuilderin interfaceRelCommon.HintOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- 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
- 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 RelCommon.Hint parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RelCommon.Hint parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RelCommon.Hint parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RelCommon.Hint parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RelCommon.Hint parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RelCommon.Hint parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static RelCommon.Hint parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static RelCommon.Hint parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static RelCommon.Hint parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static RelCommon.Hint parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected RelCommon.Hint.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-