Class CompiledStatement
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.apple.foundationdb.relational.continuation.CompiledStatement
- All Implemented Interfaces:
CompiledStatementOrBuilder,Message,MessageLite,MessageLiteOrBuilder,MessageOrBuilder,Serializable
@Generated
public final class CompiledStatement
extends GeneratedMessage
implements CompiledStatementOrBuilder
Protobuf type
com.apple.foundationdb.relational.continuation.CompiledStatement- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typecom.apple.foundationdb.relational.continuation.CompiledStatementNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
GeneratedMessage.ExtendableBuilder<MessageT extends GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, GeneratedMessage.ExtendableMessage<MessageT extends GeneratedMessage.ExtendableMessage<MessageT>>, GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends GeneratedMessage.ExtendableMessage<MessageT>>, GeneratedMessage.FieldAccessorTable, GeneratedMessage.GeneratedExtension<ContainingT extends Message, T>, GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
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.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleangetArguments(int index) query arguments - depending on context, the actual arguments may not be known, thus only type and inline information is known and can be used.intquery arguments - depending on context, the actual arguments may not be known, thus only type and inline information is known and can be used.query arguments - depending on context, the actual arguments may not be known, thus only type and inline information is known and can be used.getArgumentsOrBuilder(int index) query arguments - depending on context, the actual arguments may not be known, thus only type and inline information is known and can be used.List<? extends TypedQueryArgumentOrBuilder> query arguments - depending on context, the actual arguments may not be known, thus only type and inline information is known and can be used.static CompiledStatementstatic final Descriptors.DescriptorgetEvaluationConstants(int index) evaluation constants which can be used while executing the queryintevaluation constants which can be used while executing the queryevaluation constants which can be used while executing the querygetEvaluationConstantsOrBuilder(int index) evaluation constants which can be used while executing the queryList<? extends TypedEvaluationConstantOrBuilder> evaluation constants which can be used while executing the querygetExtractedLiterals(int index) extracted literalsintextracted literalsextracted literalsgetExtractedLiteralsOrBuilder(int index) extracted literalsList<? extends TypedQueryArgumentOrBuilder> extracted literalscom.apple.foundationdb.record.planprotos.PRecordQueryPlangetPlan()the serialized plancom.apple.foundationdb.record.planprotos.PQueryPlanConstraintquery plan constraintscom.apple.foundationdb.record.planprotos.PQueryPlanConstraintOrBuilderquery plan constraintscom.apple.foundationdb.record.planprotos.PRecordQueryPlanOrBuilderthe serialized plansame as plan hash mode for the time beingsame as plan hash mode for the time beingcom.apple.foundationdb.record.planprotos.PTypequery metadatacom.apple.foundationdb.record.planprotos.PTypeOrBuilderquery metadataintinthashCode()booleanhasPlan()the serialized planbooleanquery plan constraintsbooleansame as plan hash mode for the time beingbooleanquery metadataprotected GeneratedMessage.FieldAccessorTablefinal booleanstatic CompiledStatement.Builderstatic CompiledStatement.BuildernewBuilder(CompiledStatement prototype) protected CompiledStatement.Builderstatic CompiledStatementparseDelimitedFrom(InputStream input) static CompiledStatementparseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) static CompiledStatementparseFrom(byte[] data) static CompiledStatementparseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) static CompiledStatementparseFrom(ByteString data) static CompiledStatementparseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) static CompiledStatementparseFrom(CodedInputStream input) static CompiledStatementparseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) static CompiledStatementparseFrom(InputStream input) static CompiledStatementparseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) static CompiledStatementparseFrom(ByteBuffer data) static CompiledStatementparseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) static Parser<CompiledStatement> parser()voidwriteTo(CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
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, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
PLAN_SERIALIZATION_MODE_FIELD_NUMBER
public static final int PLAN_SERIALIZATION_MODE_FIELD_NUMBER- See Also:
-
PLAN_FIELD_NUMBER
public static final int PLAN_FIELD_NUMBER- See Also:
-
EXTRACTED_LITERALS_FIELD_NUMBER
public static final int EXTRACTED_LITERALS_FIELD_NUMBER- See Also:
-
ARGUMENTS_FIELD_NUMBER
public static final int ARGUMENTS_FIELD_NUMBER- See Also:
-
PLAN_CONSTRAINT_FIELD_NUMBER
public static final int PLAN_CONSTRAINT_FIELD_NUMBER- See Also:
-
QUERYMETADATA_FIELD_NUMBER
public static final int QUERYMETADATA_FIELD_NUMBER- See Also:
-
EVALUATION_CONSTANTS_FIELD_NUMBER
public static final int EVALUATION_CONSTANTS_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
-
getDescriptorForType
- Specified by:
getDescriptorForTypein interfaceMessageOrBuilder- Overrides:
getDescriptorForTypein classGeneratedMessage
-
internalGetFieldAccessorTable
- Specified by:
internalGetFieldAccessorTablein classGeneratedMessage
-
hasPlanSerializationMode
public boolean hasPlanSerializationMode()same as plan hash mode for the time being
optional string plan_serialization_mode = 1;- Specified by:
hasPlanSerializationModein interfaceCompiledStatementOrBuilder- Returns:
- Whether the planSerializationMode field is set.
-
getPlanSerializationMode
same as plan hash mode for the time being
optional string plan_serialization_mode = 1;- Specified by:
getPlanSerializationModein interfaceCompiledStatementOrBuilder- Returns:
- The planSerializationMode.
-
getPlanSerializationModeBytes
same as plan hash mode for the time being
optional string plan_serialization_mode = 1;- Specified by:
getPlanSerializationModeBytesin interfaceCompiledStatementOrBuilder- Returns:
- The bytes for planSerializationMode.
-
hasPlan
public boolean hasPlan()the serialized plan
optional .com.apple.foundationdb.record.planprotos.PRecordQueryPlan plan = 2;- Specified by:
hasPlanin interfaceCompiledStatementOrBuilder- Returns:
- Whether the plan field is set.
-
getPlan
public com.apple.foundationdb.record.planprotos.PRecordQueryPlan getPlan()the serialized plan
optional .com.apple.foundationdb.record.planprotos.PRecordQueryPlan plan = 2;- Specified by:
getPlanin interfaceCompiledStatementOrBuilder- Returns:
- The plan.
-
getPlanOrBuilder
public com.apple.foundationdb.record.planprotos.PRecordQueryPlanOrBuilder getPlanOrBuilder()the serialized plan
optional .com.apple.foundationdb.record.planprotos.PRecordQueryPlan plan = 2;- Specified by:
getPlanOrBuilderin interfaceCompiledStatementOrBuilder
-
getExtractedLiteralsList
extracted literals
repeated .com.apple.foundationdb.relational.continuation.TypedQueryArgument extracted_literals = 3;- Specified by:
getExtractedLiteralsListin interfaceCompiledStatementOrBuilder
-
getExtractedLiteralsOrBuilderList
extracted literals
repeated .com.apple.foundationdb.relational.continuation.TypedQueryArgument extracted_literals = 3;- Specified by:
getExtractedLiteralsOrBuilderListin interfaceCompiledStatementOrBuilder
-
getExtractedLiteralsCount
public int getExtractedLiteralsCount()extracted literals
repeated .com.apple.foundationdb.relational.continuation.TypedQueryArgument extracted_literals = 3;- Specified by:
getExtractedLiteralsCountin interfaceCompiledStatementOrBuilder
-
getExtractedLiterals
extracted literals
repeated .com.apple.foundationdb.relational.continuation.TypedQueryArgument extracted_literals = 3;- Specified by:
getExtractedLiteralsin interfaceCompiledStatementOrBuilder
-
getExtractedLiteralsOrBuilder
extracted literals
repeated .com.apple.foundationdb.relational.continuation.TypedQueryArgument extracted_literals = 3;- Specified by:
getExtractedLiteralsOrBuilderin interfaceCompiledStatementOrBuilder
-
getArgumentsList
query arguments - depending on context, the actual arguments may not be known, thus only type and inline information is known and can be used.
repeated .com.apple.foundationdb.relational.continuation.TypedQueryArgument arguments = 4;- Specified by:
getArgumentsListin interfaceCompiledStatementOrBuilder
-
getArgumentsOrBuilderList
query arguments - depending on context, the actual arguments may not be known, thus only type and inline information is known and can be used.
repeated .com.apple.foundationdb.relational.continuation.TypedQueryArgument arguments = 4;- Specified by:
getArgumentsOrBuilderListin interfaceCompiledStatementOrBuilder
-
getArgumentsCount
public int getArgumentsCount()query arguments - depending on context, the actual arguments may not be known, thus only type and inline information is known and can be used.
repeated .com.apple.foundationdb.relational.continuation.TypedQueryArgument arguments = 4;- Specified by:
getArgumentsCountin interfaceCompiledStatementOrBuilder
-
getArguments
query arguments - depending on context, the actual arguments may not be known, thus only type and inline information is known and can be used.
repeated .com.apple.foundationdb.relational.continuation.TypedQueryArgument arguments = 4;- Specified by:
getArgumentsin interfaceCompiledStatementOrBuilder
-
getArgumentsOrBuilder
query arguments - depending on context, the actual arguments may not be known, thus only type and inline information is known and can be used.
repeated .com.apple.foundationdb.relational.continuation.TypedQueryArgument arguments = 4;- Specified by:
getArgumentsOrBuilderin interfaceCompiledStatementOrBuilder
-
hasPlanConstraint
public boolean hasPlanConstraint()query plan constraints
optional .com.apple.foundationdb.record.planprotos.PQueryPlanConstraint plan_constraint = 5;- Specified by:
hasPlanConstraintin interfaceCompiledStatementOrBuilder- Returns:
- Whether the planConstraint field is set.
-
getPlanConstraint
public com.apple.foundationdb.record.planprotos.PQueryPlanConstraint getPlanConstraint()query plan constraints
optional .com.apple.foundationdb.record.planprotos.PQueryPlanConstraint plan_constraint = 5;- Specified by:
getPlanConstraintin interfaceCompiledStatementOrBuilder- Returns:
- The planConstraint.
-
getPlanConstraintOrBuilder
public com.apple.foundationdb.record.planprotos.PQueryPlanConstraintOrBuilder getPlanConstraintOrBuilder()query plan constraints
optional .com.apple.foundationdb.record.planprotos.PQueryPlanConstraint plan_constraint = 5;- Specified by:
getPlanConstraintOrBuilderin interfaceCompiledStatementOrBuilder
-
hasQueryMetadata
public boolean hasQueryMetadata()query metadata
optional .com.apple.foundationdb.record.planprotos.PType queryMetadata = 6;- Specified by:
hasQueryMetadatain interfaceCompiledStatementOrBuilder- Returns:
- Whether the queryMetadata field is set.
-
getQueryMetadata
public com.apple.foundationdb.record.planprotos.PType getQueryMetadata()query metadata
optional .com.apple.foundationdb.record.planprotos.PType queryMetadata = 6;- Specified by:
getQueryMetadatain interfaceCompiledStatementOrBuilder- Returns:
- The queryMetadata.
-
getQueryMetadataOrBuilder
public com.apple.foundationdb.record.planprotos.PTypeOrBuilder getQueryMetadataOrBuilder()query metadata
optional .com.apple.foundationdb.record.planprotos.PType queryMetadata = 6;- Specified by:
getQueryMetadataOrBuilderin interfaceCompiledStatementOrBuilder
-
getEvaluationConstantsList
evaluation constants which can be used while executing the query
repeated .com.apple.foundationdb.relational.continuation.TypedEvaluationConstant evaluation_constants = 7;- Specified by:
getEvaluationConstantsListin interfaceCompiledStatementOrBuilder
-
getEvaluationConstantsOrBuilderList
evaluation constants which can be used while executing the query
repeated .com.apple.foundationdb.relational.continuation.TypedEvaluationConstant evaluation_constants = 7;- Specified by:
getEvaluationConstantsOrBuilderListin interfaceCompiledStatementOrBuilder
-
getEvaluationConstantsCount
public int getEvaluationConstantsCount()evaluation constants which can be used while executing the query
repeated .com.apple.foundationdb.relational.continuation.TypedEvaluationConstant evaluation_constants = 7;- Specified by:
getEvaluationConstantsCountin interfaceCompiledStatementOrBuilder
-
getEvaluationConstants
evaluation constants which can be used while executing the query
repeated .com.apple.foundationdb.relational.continuation.TypedEvaluationConstant evaluation_constants = 7;- Specified by:
getEvaluationConstantsin interfaceCompiledStatementOrBuilder
-
getEvaluationConstantsOrBuilder
evaluation constants which can be used while executing the query
repeated .com.apple.foundationdb.relational.continuation.TypedEvaluationConstant evaluation_constants = 7;- Specified by:
getEvaluationConstantsOrBuilderin interfaceCompiledStatementOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfaceMessageLiteOrBuilder- Overrides:
isInitializedin classGeneratedMessage
-
writeTo
- Specified by:
writeToin interfaceMessageLite- Overrides:
writeToin classGeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfaceMessageLite- Overrides:
getSerializedSizein classGeneratedMessage
-
equals
- Specified by:
equalsin interfaceMessage- Overrides:
equalsin classAbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceMessage- Overrides:
hashCodein classAbstractMessage
-
parseFrom
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static CompiledStatement parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static CompiledStatement parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static CompiledStatement parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static CompiledStatement parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static CompiledStatement parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static CompiledStatement parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfaceMessage- Specified by:
newBuilderForTypein interfaceMessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfaceMessage- Specified by:
toBuilderin interfaceMessageLite
-
newBuilderForType
- Overrides:
newBuilderForTypein classAbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfaceMessage- Specified by:
getParserForTypein interfaceMessageLite- Overrides:
getParserForTypein classGeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfaceMessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceMessageOrBuilder
-