Class AbstractMarker

java.lang.Object
org.apache.cassandra.cql3.Term.NonTerminal
org.apache.cassandra.cql3.AbstractMarker
All Implemented Interfaces:
Term
Direct Known Subclasses:
Constants.Marker, Lists.Marker, Maps.Marker, Sets.Marker, Tuples.InMarker, Tuples.Marker, UserTypes.Marker

public abstract class AbstractMarker extends Term.NonTerminal
A single bind marker.
  • Field Details

    • bindIndex

      protected final int bindIndex
    • receiver

      protected final ColumnSpecification receiver
  • Constructor Details

  • Method Details

    • collectMarkerSpecification

      public void collectMarkerSpecification(VariableSpecifications boundNames)
      Description copied from interface: Term
      Collects the column specification for the bind variables in this Term. This is obviously a no-op if the term is Terminal.
      Parameters:
      boundNames - the variables specification where to collect the bind variables of this term in.
    • containsBindMarker

      public boolean containsBindMarker()
      Description copied from interface: Term
      Whether or not that term contains at least one bind marker. Note that this is slightly different from being or not a NonTerminal, because calls to non pure functions will be NonTerminal (see #5616) even if they don't have bind markers.
    • addFunctionsTo

      public void addFunctionsTo(List<Function> functions)