Class CompiledStatement.Builder

All Implemented Interfaces:
CompiledStatementOrBuilder, Message.Builder, MessageLite.Builder, MessageLiteOrBuilder, MessageOrBuilder, Cloneable
Enclosing class:
CompiledStatement

public static final class CompiledStatement.Builder extends GeneratedMessage.Builder<CompiledStatement.Builder> implements CompiledStatementOrBuilder
Protobuf type com.apple.foundationdb.relational.continuation.CompiledStatement
  • Method Details

    • getDescriptor

      public static final Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class GeneratedMessage.Builder<CompiledStatement.Builder>
    • clear

      public CompiledStatement.Builder clear()
      Specified by:
      clear in interface Message.Builder
      Specified by:
      clear in interface MessageLite.Builder
      Overrides:
      clear in class GeneratedMessage.Builder<CompiledStatement.Builder>
    • getDescriptorForType

      public Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface Message.Builder
      Specified by:
      getDescriptorForType in interface MessageOrBuilder
      Overrides:
      getDescriptorForType in class GeneratedMessage.Builder<CompiledStatement.Builder>
    • getDefaultInstanceForType

      public CompiledStatement getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface MessageOrBuilder
    • build

      public CompiledStatement build()
      Specified by:
      build in interface Message.Builder
      Specified by:
      build in interface MessageLite.Builder
    • buildPartial

      public CompiledStatement buildPartial()
      Specified by:
      buildPartial in interface Message.Builder
      Specified by:
      buildPartial in interface MessageLite.Builder
    • mergeFrom

      public CompiledStatement.Builder mergeFrom(Message other)
      Specified by:
      mergeFrom in interface Message.Builder
      Overrides:
      mergeFrom in class AbstractMessage.Builder<CompiledStatement.Builder>
    • mergeFrom

      public CompiledStatement.Builder mergeFrom(CompiledStatement other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface MessageLiteOrBuilder
      Overrides:
      isInitialized in class GeneratedMessage.Builder<CompiledStatement.Builder>
    • mergeFrom

      public CompiledStatement.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface Message.Builder
      Specified by:
      mergeFrom in interface MessageLite.Builder
      Overrides:
      mergeFrom in class AbstractMessage.Builder<CompiledStatement.Builder>
      Throws:
      IOException
    • hasPlanSerializationMode

      public boolean hasPlanSerializationMode()
       same as plan hash mode for the time being
       
      optional string plan_serialization_mode = 1;
      Specified by:
      hasPlanSerializationMode in interface CompiledStatementOrBuilder
      Returns:
      Whether the planSerializationMode field is set.
    • getPlanSerializationMode

      public String getPlanSerializationMode()
       same as plan hash mode for the time being
       
      optional string plan_serialization_mode = 1;
      Specified by:
      getPlanSerializationMode in interface CompiledStatementOrBuilder
      Returns:
      The planSerializationMode.
    • getPlanSerializationModeBytes

      public ByteString getPlanSerializationModeBytes()
       same as plan hash mode for the time being
       
      optional string plan_serialization_mode = 1;
      Specified by:
      getPlanSerializationModeBytes in interface CompiledStatementOrBuilder
      Returns:
      The bytes for planSerializationMode.
    • setPlanSerializationMode

      public CompiledStatement.Builder setPlanSerializationMode(String value)
       same as plan hash mode for the time being
       
      optional string plan_serialization_mode = 1;
      Parameters:
      value - The planSerializationMode to set.
      Returns:
      This builder for chaining.
    • clearPlanSerializationMode

      public CompiledStatement.Builder clearPlanSerializationMode()
       same as plan hash mode for the time being
       
      optional string plan_serialization_mode = 1;
      Returns:
      This builder for chaining.
    • setPlanSerializationModeBytes

      public CompiledStatement.Builder setPlanSerializationModeBytes(ByteString value)
       same as plan hash mode for the time being
       
      optional string plan_serialization_mode = 1;
      Parameters:
      value - The bytes for planSerializationMode to set.
      Returns:
      This builder for chaining.
    • hasPlan

      public boolean hasPlan()
       the serialized plan
       
      optional .com.apple.foundationdb.record.planprotos.PRecordQueryPlan plan = 2;
      Specified by:
      hasPlan in interface CompiledStatementOrBuilder
      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:
      getPlan in interface CompiledStatementOrBuilder
      Returns:
      The plan.
    • setPlan

      public CompiledStatement.Builder setPlan(com.apple.foundationdb.record.planprotos.PRecordQueryPlan value)
       the serialized plan
       
      optional .com.apple.foundationdb.record.planprotos.PRecordQueryPlan plan = 2;
    • setPlan

      public CompiledStatement.Builder setPlan(com.apple.foundationdb.record.planprotos.PRecordQueryPlan.Builder builderForValue)
       the serialized plan
       
      optional .com.apple.foundationdb.record.planprotos.PRecordQueryPlan plan = 2;
    • mergePlan

      public CompiledStatement.Builder mergePlan(com.apple.foundationdb.record.planprotos.PRecordQueryPlan value)
       the serialized plan
       
      optional .com.apple.foundationdb.record.planprotos.PRecordQueryPlan plan = 2;
    • clearPlan

      public CompiledStatement.Builder clearPlan()
       the serialized plan
       
      optional .com.apple.foundationdb.record.planprotos.PRecordQueryPlan plan = 2;
    • getPlanBuilder

      public com.apple.foundationdb.record.planprotos.PRecordQueryPlan.Builder getPlanBuilder()
       the serialized plan
       
      optional .com.apple.foundationdb.record.planprotos.PRecordQueryPlan plan = 2;
    • getPlanOrBuilder

      public com.apple.foundationdb.record.planprotos.PRecordQueryPlanOrBuilder getPlanOrBuilder()
       the serialized plan
       
      optional .com.apple.foundationdb.record.planprotos.PRecordQueryPlan plan = 2;
      Specified by:
      getPlanOrBuilder in interface CompiledStatementOrBuilder
    • getExtractedLiteralsList

      public List<TypedQueryArgument> getExtractedLiteralsList()
       extracted literals
       
      repeated .com.apple.foundationdb.relational.continuation.TypedQueryArgument extracted_literals = 3;
      Specified by:
      getExtractedLiteralsList in interface CompiledStatementOrBuilder
    • getExtractedLiteralsCount

      public int getExtractedLiteralsCount()
       extracted literals
       
      repeated .com.apple.foundationdb.relational.continuation.TypedQueryArgument extracted_literals = 3;
      Specified by:
      getExtractedLiteralsCount in interface CompiledStatementOrBuilder
    • getExtractedLiterals

      public TypedQueryArgument getExtractedLiterals(int index)
       extracted literals
       
      repeated .com.apple.foundationdb.relational.continuation.TypedQueryArgument extracted_literals = 3;
      Specified by:
      getExtractedLiterals in interface CompiledStatementOrBuilder
    • setExtractedLiterals

      public CompiledStatement.Builder setExtractedLiterals(int index, TypedQueryArgument value)
       extracted literals
       
      repeated .com.apple.foundationdb.relational.continuation.TypedQueryArgument extracted_literals = 3;
    • setExtractedLiterals

      public CompiledStatement.Builder setExtractedLiterals(int index, TypedQueryArgument.Builder builderForValue)
       extracted literals
       
      repeated .com.apple.foundationdb.relational.continuation.TypedQueryArgument extracted_literals = 3;
    • addExtractedLiterals

      public CompiledStatement.Builder addExtractedLiterals(TypedQueryArgument value)
       extracted literals
       
      repeated .com.apple.foundationdb.relational.continuation.TypedQueryArgument extracted_literals = 3;
    • addExtractedLiterals

      public CompiledStatement.Builder addExtractedLiterals(int index, TypedQueryArgument value)
       extracted literals
       
      repeated .com.apple.foundationdb.relational.continuation.TypedQueryArgument extracted_literals = 3;
    • addExtractedLiterals

      public CompiledStatement.Builder addExtractedLiterals(TypedQueryArgument.Builder builderForValue)
       extracted literals
       
      repeated .com.apple.foundationdb.relational.continuation.TypedQueryArgument extracted_literals = 3;
    • addExtractedLiterals

      public CompiledStatement.Builder addExtractedLiterals(int index, TypedQueryArgument.Builder builderForValue)
       extracted literals
       
      repeated .com.apple.foundationdb.relational.continuation.TypedQueryArgument extracted_literals = 3;
    • addAllExtractedLiterals

      public CompiledStatement.Builder addAllExtractedLiterals(Iterable<? extends TypedQueryArgument> values)
       extracted literals
       
      repeated .com.apple.foundationdb.relational.continuation.TypedQueryArgument extracted_literals = 3;
    • clearExtractedLiterals

      public CompiledStatement.Builder clearExtractedLiterals()
       extracted literals
       
      repeated .com.apple.foundationdb.relational.continuation.TypedQueryArgument extracted_literals = 3;
    • removeExtractedLiterals

      public CompiledStatement.Builder removeExtractedLiterals(int index)
       extracted literals
       
      repeated .com.apple.foundationdb.relational.continuation.TypedQueryArgument extracted_literals = 3;
    • getExtractedLiteralsBuilder

      public TypedQueryArgument.Builder getExtractedLiteralsBuilder(int index)
       extracted literals
       
      repeated .com.apple.foundationdb.relational.continuation.TypedQueryArgument extracted_literals = 3;
    • getExtractedLiteralsOrBuilder

      public TypedQueryArgumentOrBuilder getExtractedLiteralsOrBuilder(int index)
       extracted literals
       
      repeated .com.apple.foundationdb.relational.continuation.TypedQueryArgument extracted_literals = 3;
      Specified by:
      getExtractedLiteralsOrBuilder in interface CompiledStatementOrBuilder
    • getExtractedLiteralsOrBuilderList

      public List<? extends TypedQueryArgumentOrBuilder> getExtractedLiteralsOrBuilderList()
       extracted literals
       
      repeated .com.apple.foundationdb.relational.continuation.TypedQueryArgument extracted_literals = 3;
      Specified by:
      getExtractedLiteralsOrBuilderList in interface CompiledStatementOrBuilder
    • addExtractedLiteralsBuilder

      public TypedQueryArgument.Builder addExtractedLiteralsBuilder()
       extracted literals
       
      repeated .com.apple.foundationdb.relational.continuation.TypedQueryArgument extracted_literals = 3;
    • addExtractedLiteralsBuilder

      public TypedQueryArgument.Builder addExtractedLiteralsBuilder(int index)
       extracted literals
       
      repeated .com.apple.foundationdb.relational.continuation.TypedQueryArgument extracted_literals = 3;
    • getExtractedLiteralsBuilderList

      public List<TypedQueryArgument.Builder> getExtractedLiteralsBuilderList()
       extracted literals
       
      repeated .com.apple.foundationdb.relational.continuation.TypedQueryArgument extracted_literals = 3;
    • getArgumentsList

      public List<TypedQueryArgument> 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:
      getArgumentsList in interface CompiledStatementOrBuilder
    • 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:
      getArgumentsCount in interface CompiledStatementOrBuilder
    • getArguments

      public TypedQueryArgument getArguments(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.
       
      repeated .com.apple.foundationdb.relational.continuation.TypedQueryArgument arguments = 4;
      Specified by:
      getArguments in interface CompiledStatementOrBuilder
    • setArguments

      public CompiledStatement.Builder setArguments(int index, TypedQueryArgument value)
       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;
    • setArguments

      public CompiledStatement.Builder setArguments(int index, TypedQueryArgument.Builder builderForValue)
       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;
    • addArguments

      public CompiledStatement.Builder addArguments(TypedQueryArgument value)
       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;
    • addArguments

      public CompiledStatement.Builder addArguments(int index, TypedQueryArgument value)
       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;
    • addArguments

      public CompiledStatement.Builder addArguments(TypedQueryArgument.Builder builderForValue)
       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;
    • addArguments

      public CompiledStatement.Builder addArguments(int index, TypedQueryArgument.Builder builderForValue)
       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;
    • addAllArguments

      public CompiledStatement.Builder addAllArguments(Iterable<? extends TypedQueryArgument> values)
       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;
    • clearArguments

      public CompiledStatement.Builder clearArguments()
       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;
    • removeArguments

      public CompiledStatement.Builder removeArguments(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.
       
      repeated .com.apple.foundationdb.relational.continuation.TypedQueryArgument arguments = 4;
    • getArgumentsBuilder

      public TypedQueryArgument.Builder getArgumentsBuilder(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.
       
      repeated .com.apple.foundationdb.relational.continuation.TypedQueryArgument arguments = 4;
    • getArgumentsOrBuilder

      public TypedQueryArgumentOrBuilder 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.
       
      repeated .com.apple.foundationdb.relational.continuation.TypedQueryArgument arguments = 4;
      Specified by:
      getArgumentsOrBuilder in interface CompiledStatementOrBuilder
    • getArgumentsOrBuilderList

      public List<? extends TypedQueryArgumentOrBuilder> 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:
      getArgumentsOrBuilderList in interface CompiledStatementOrBuilder
    • addArgumentsBuilder

      public TypedQueryArgument.Builder addArgumentsBuilder()
       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;
    • addArgumentsBuilder

      public TypedQueryArgument.Builder addArgumentsBuilder(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.
       
      repeated .com.apple.foundationdb.relational.continuation.TypedQueryArgument arguments = 4;
    • getArgumentsBuilderList

      public List<TypedQueryArgument.Builder> getArgumentsBuilderList()
       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;
    • hasPlanConstraint

      public boolean hasPlanConstraint()
       query plan constraints
       
      optional .com.apple.foundationdb.record.planprotos.PQueryPlanConstraint plan_constraint = 5;
      Specified by:
      hasPlanConstraint in interface CompiledStatementOrBuilder
      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:
      getPlanConstraint in interface CompiledStatementOrBuilder
      Returns:
      The planConstraint.
    • setPlanConstraint

      public CompiledStatement.Builder setPlanConstraint(com.apple.foundationdb.record.planprotos.PQueryPlanConstraint value)
       query plan constraints
       
      optional .com.apple.foundationdb.record.planprotos.PQueryPlanConstraint plan_constraint = 5;
    • setPlanConstraint

      public CompiledStatement.Builder setPlanConstraint(com.apple.foundationdb.record.planprotos.PQueryPlanConstraint.Builder builderForValue)
       query plan constraints
       
      optional .com.apple.foundationdb.record.planprotos.PQueryPlanConstraint plan_constraint = 5;
    • mergePlanConstraint

      public CompiledStatement.Builder mergePlanConstraint(com.apple.foundationdb.record.planprotos.PQueryPlanConstraint value)
       query plan constraints
       
      optional .com.apple.foundationdb.record.planprotos.PQueryPlanConstraint plan_constraint = 5;
    • clearPlanConstraint

      public CompiledStatement.Builder clearPlanConstraint()
       query plan constraints
       
      optional .com.apple.foundationdb.record.planprotos.PQueryPlanConstraint plan_constraint = 5;
    • getPlanConstraintBuilder

      public com.apple.foundationdb.record.planprotos.PQueryPlanConstraint.Builder getPlanConstraintBuilder()
       query plan constraints
       
      optional .com.apple.foundationdb.record.planprotos.PQueryPlanConstraint plan_constraint = 5;
    • getPlanConstraintOrBuilder

      public com.apple.foundationdb.record.planprotos.PQueryPlanConstraintOrBuilder getPlanConstraintOrBuilder()
       query plan constraints
       
      optional .com.apple.foundationdb.record.planprotos.PQueryPlanConstraint plan_constraint = 5;
      Specified by:
      getPlanConstraintOrBuilder in interface CompiledStatementOrBuilder