Class PlanProtocol.HashJoinOperator.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<PlanProtocol.HashJoinOperator.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<PlanProtocol.HashJoinOperator.Builder>
      • getDefaultInstanceForType

        public PlanProtocol.HashJoinOperator getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public PlanProtocol.HashJoinOperator build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public PlanProtocol.HashJoinOperator buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<PlanProtocol.HashJoinOperator.Builder>
      • mergeFrom

        public PlanProtocol.HashJoinOperator.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                               com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                        throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<PlanProtocol.HashJoinOperator.Builder>
        Throws:
        IOException
      • getJoinColsCount

        public int getJoinColsCount()
        Each entry represents the equijoin columns for one child, they are in order of the children
         
        repeated .xg.db.sqlPlans.JoinCols join_cols = 1;
        Specified by:
        getJoinColsCount in interface PlanProtocol.HashJoinOperatorOrBuilder
      • clearJoinCols

        public PlanProtocol.HashJoinOperator.Builder clearJoinCols()
        Each entry represents the equijoin columns for one child, they are in order of the children
         
        repeated .xg.db.sqlPlans.JoinCols join_cols = 1;
      • removeJoinCols

        public PlanProtocol.HashJoinOperator.Builder removeJoinCols​(int index)
        Each entry represents the equijoin columns for one child, they are in order of the children
         
        repeated .xg.db.sqlPlans.JoinCols join_cols = 1;
      • getJoinColsBuilder

        public PlanProtocol.JoinCols.Builder getJoinColsBuilder​(int index)
        Each entry represents the equijoin columns for one child, they are in order of the children
         
        repeated .xg.db.sqlPlans.JoinCols join_cols = 1;
      • addJoinColsBuilder

        public PlanProtocol.JoinCols.Builder addJoinColsBuilder()
        Each entry represents the equijoin columns for one child, they are in order of the children
         
        repeated .xg.db.sqlPlans.JoinCols join_cols = 1;
      • addJoinColsBuilder

        public PlanProtocol.JoinCols.Builder addJoinColsBuilder​(int index)
        Each entry represents the equijoin columns for one child, they are in order of the children
         
        repeated .xg.db.sqlPlans.JoinCols join_cols = 1;
      • getJoinColsBuilderList

        public List<PlanProtocol.JoinCols.Builder> getJoinColsBuilderList()
        Each entry represents the equijoin columns for one child, they are in order of the children
         
        repeated .xg.db.sqlPlans.JoinCols join_cols = 1;
      • getFiltersCount

        public int getFiltersCount()
        Any additional filters that have to be applied to the join
        If there are more than 2 children, it will be empty
         
        repeated .xg.db.sqlPlans.Disjunction filters = 2;
        Specified by:
        getFiltersCount in interface PlanProtocol.HashJoinOperatorOrBuilder
      • clearFilters

        public PlanProtocol.HashJoinOperator.Builder clearFilters()
        Any additional filters that have to be applied to the join
        If there are more than 2 children, it will be empty
         
        repeated .xg.db.sqlPlans.Disjunction filters = 2;
      • removeFilters

        public PlanProtocol.HashJoinOperator.Builder removeFilters​(int index)
        Any additional filters that have to be applied to the join
        If there are more than 2 children, it will be empty
         
        repeated .xg.db.sqlPlans.Disjunction filters = 2;
      • getFiltersBuilder

        public PlanProtocol.Disjunction.Builder getFiltersBuilder​(int index)
        Any additional filters that have to be applied to the join
        If there are more than 2 children, it will be empty
         
        repeated .xg.db.sqlPlans.Disjunction filters = 2;
      • addFiltersBuilder

        public PlanProtocol.Disjunction.Builder addFiltersBuilder()
        Any additional filters that have to be applied to the join
        If there are more than 2 children, it will be empty
         
        repeated .xg.db.sqlPlans.Disjunction filters = 2;
      • addFiltersBuilder

        public PlanProtocol.Disjunction.Builder addFiltersBuilder​(int index)
        Any additional filters that have to be applied to the join
        If there are more than 2 children, it will be empty
         
        repeated .xg.db.sqlPlans.Disjunction filters = 2;
      • getFiltersBuilderList

        public List<PlanProtocol.Disjunction.Builder> getFiltersBuilderList()
        Any additional filters that have to be applied to the join
        If there are more than 2 children, it will be empty
         
        repeated .xg.db.sqlPlans.Disjunction filters = 2;
      • getTypeValue

        public int getTypeValue()
        Type of the join - if there are more than 2 children, it will be INNER
         
        .xg.db.sqlPlans.JoinType type = 3;
        Specified by:
        getTypeValue in interface PlanProtocol.HashJoinOperatorOrBuilder
        Returns:
        The enum numeric value on the wire for type.
      • setTypeValue

        public PlanProtocol.HashJoinOperator.Builder setTypeValue​(int value)
        Type of the join - if there are more than 2 children, it will be INNER
         
        .xg.db.sqlPlans.JoinType type = 3;
        Parameters:
        value - The enum numeric value on the wire for type to set.
        Returns:
        This builder for chaining.
      • clearType

        public PlanProtocol.HashJoinOperator.Builder clearType()
        Type of the join - if there are more than 2 children, it will be INNER
         
        .xg.db.sqlPlans.JoinType type = 3;
        Returns:
        This builder for chaining.
      • setCbc

        public PlanProtocol.HashJoinOperator.Builder setCbc​(boolean value)
        flags indicating that this is actually a correlated count bug correction join
         
        bool cbc = 4;
        Parameters:
        value - The cbc to set.
        Returns:
        This builder for chaining.
      • clearCbc

        public PlanProtocol.HashJoinOperator.Builder clearCbc()
        flags indicating that this is actually a correlated count bug correction join
         
        bool cbc = 4;
        Returns:
        This builder for chaining.
      • setGdcJoin

        public PlanProtocol.HashJoinOperator.Builder setGdcJoin​(boolean value)
        Whether or not this is a gdc join
         
        bool gdcJoin = 7;
        Parameters:
        value - The gdcJoin to set.
        Returns:
        This builder for chaining.
      • setMatchNullKeys

        public PlanProtocol.HashJoinOperator.Builder setMatchNullKeys​(boolean value)
        Whether or not this join is matching null keys
         
        bool matchNullKeys = 8;
        Parameters:
        value - The matchNullKeys to set.
        Returns:
        This builder for chaining.
      • clearMatchNullKeys

        public PlanProtocol.HashJoinOperator.Builder clearMatchNullKeys()
        Whether or not this join is matching null keys
         
        bool matchNullKeys = 8;
        Returns:
        This builder for chaining.
      • getImplicitProjsCount

        public int getImplicitProjsCount()
         implicitly project gdc keys [(for left child, for right child), ...] each
         
        repeated bool implicit_projs = 9;
        Specified by:
        getImplicitProjsCount in interface PlanProtocol.HashJoinOperatorOrBuilder
        Returns:
        The count of implicitProjs.
      • getImplicitProjs

        public boolean getImplicitProjs​(int index)
         implicitly project gdc keys [(for left child, for right child), ...] each
         
        repeated bool implicit_projs = 9;
        Specified by:
        getImplicitProjs in interface PlanProtocol.HashJoinOperatorOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The implicitProjs at the given index.
      • setImplicitProjs

        public PlanProtocol.HashJoinOperator.Builder setImplicitProjs​(int index,
                                                                      boolean value)
         implicitly project gdc keys [(for left child, for right child), ...] each
         
        repeated bool implicit_projs = 9;
        Parameters:
        index - The index to set the value at.
        value - The implicitProjs to set.
        Returns:
        This builder for chaining.
      • addImplicitProjs

        public PlanProtocol.HashJoinOperator.Builder addImplicitProjs​(boolean value)
         implicitly project gdc keys [(for left child, for right child), ...] each
         
        repeated bool implicit_projs = 9;
        Parameters:
        value - The implicitProjs to add.
        Returns:
        This builder for chaining.
      • addAllImplicitProjs

        public PlanProtocol.HashJoinOperator.Builder addAllImplicitProjs​(Iterable<? extends Boolean> values)
         implicitly project gdc keys [(for left child, for right child), ...] each
         
        repeated bool implicit_projs = 9;
        Parameters:
        values - The implicitProjs to add.
        Returns:
        This builder for chaining.
      • clearImplicitProjs

        public PlanProtocol.HashJoinOperator.Builder clearImplicitProjs()
         implicitly project gdc keys [(for left child, for right child), ...] each
         
        repeated bool implicit_projs = 9;
        Returns:
        This builder for chaining.
      • getMatchNullKeysIdxesList

        public List<Long> getMatchNullKeysIdxesList()
         Which equi join conditions match null keys? The index here corresponds to join col position in join_cols
         
        repeated uint64 matchNullKeysIdxes = 10;
        Specified by:
        getMatchNullKeysIdxesList in interface PlanProtocol.HashJoinOperatorOrBuilder
        Returns:
        A list containing the matchNullKeysIdxes.
      • getMatchNullKeysIdxesCount

        public int getMatchNullKeysIdxesCount()
         Which equi join conditions match null keys? The index here corresponds to join col position in join_cols
         
        repeated uint64 matchNullKeysIdxes = 10;
        Specified by:
        getMatchNullKeysIdxesCount in interface PlanProtocol.HashJoinOperatorOrBuilder
        Returns:
        The count of matchNullKeysIdxes.
      • getMatchNullKeysIdxes

        public long getMatchNullKeysIdxes​(int index)
         Which equi join conditions match null keys? The index here corresponds to join col position in join_cols
         
        repeated uint64 matchNullKeysIdxes = 10;
        Specified by:
        getMatchNullKeysIdxes in interface PlanProtocol.HashJoinOperatorOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The matchNullKeysIdxes at the given index.
      • setMatchNullKeysIdxes

        public PlanProtocol.HashJoinOperator.Builder setMatchNullKeysIdxes​(int index,
                                                                           long value)
         Which equi join conditions match null keys? The index here corresponds to join col position in join_cols
         
        repeated uint64 matchNullKeysIdxes = 10;
        Parameters:
        index - The index to set the value at.
        value - The matchNullKeysIdxes to set.
        Returns:
        This builder for chaining.
      • addMatchNullKeysIdxes

        public PlanProtocol.HashJoinOperator.Builder addMatchNullKeysIdxes​(long value)
         Which equi join conditions match null keys? The index here corresponds to join col position in join_cols
         
        repeated uint64 matchNullKeysIdxes = 10;
        Parameters:
        value - The matchNullKeysIdxes to add.
        Returns:
        This builder for chaining.
      • addAllMatchNullKeysIdxes

        public PlanProtocol.HashJoinOperator.Builder addAllMatchNullKeysIdxes​(Iterable<? extends Long> values)
         Which equi join conditions match null keys? The index here corresponds to join col position in join_cols
         
        repeated uint64 matchNullKeysIdxes = 10;
        Parameters:
        values - The matchNullKeysIdxes to add.
        Returns:
        This builder for chaining.
      • clearMatchNullKeysIdxes

        public PlanProtocol.HashJoinOperator.Builder clearMatchNullKeysIdxes()
         Which equi join conditions match null keys? The index here corresponds to join col position in join_cols
         
        repeated uint64 matchNullKeysIdxes = 10;
        Returns:
        This builder for chaining.