Class VectorSelector


  • public class VectorSelector
    extends Selector
    • Method Detail

      • newFactory

        public static Selector.Factory newFactory​(AbstractType<?> type,
                                                  org.apache.cassandra.cql3.selection.SelectorFactories factories)
      • addFetchedColumns

        public void addFetchedColumns​(ColumnFilter.Builder builder)
        Description copied from class: Selector
        Add to the provided builder the column (and potential subselections) to fetch for this selection.
        Specified by:
        addFetchedColumns in class Selector
        Parameters:
        builder - the builder to add columns and subselections to.
      • addInput

        public void addInput​(Selector.InputRow input)
        Description copied from class: Selector
        Add the current value from the specified ResultSetBuilder.
        Specified by:
        addInput in class Selector
        Parameters:
        input - the input row
      • getType

        public AbstractType<?> getType()
        Description copied from class: Selector
        Returns the Selector output type.
        Specified by:
        getType in class Selector
        Returns:
        the Selector output type.
      • reset

        public void reset()
        Description copied from class: Selector
        Reset the internal state of this Selector.
        Specified by:
        reset in class Selector
      • serializedSize

        protected int serializedSize​(int version)
        Specified by:
        serializedSize in class Selector
      • serialize

        protected void serialize​(DataOutputPlus out,
                                 int version)
                          throws java.io.IOException
        Specified by:
        serialize in class Selector
        Throws:
        java.io.IOException
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object