Class QueryBuildBlockAbstract

Base behavior for a query block

Hierarchy (View Summary)

Implements

Constructors

Accessors

  • get hasNext(): boolean
  • Check whether or not this block as a following block

    Returns boolean

  • get leaf(): QueryBuildBlock
  • Gets a reference to the block at the end of the chain

    Returns QueryBuildBlock

  • get next(): null | QueryBuildBlock
  • A reference to the next query block or null if this block is the last

    Returns null | QueryBuildBlock

  • set next(value: null | QueryBuildBlock): void
  • Sets the reference to the next query block

    Parameters

    Returns void

  • get root(): QueryBuildBlock
  • Gets a reference to the block at the start of the chain

    Returns QueryBuildBlock

Methods

  • Converts this block to the corresponding query constraint

    Returns null | QueryConstraint

  • Converts the full chain to a firebase set of query constraints

    Returns QueryConstraint[]

    Firebase query constraints equivalent to this query