Class DefaultKeysPath

All Implemented Interfaces:
GroupByPath, KeysPath, LetPath, LimitPath, OffsetPath, OrderByPath, Path, SelectResultPath, WherePath, Statement
Direct Known Subclasses:
DefaultHintPath, DefaultJoinPath, DefaultNestPath

public class DefaultKeysPath
extends DefaultLetPath
implements KeysPath
.
Author:
Michael Nitschinger
  • Constructor Details

    • DefaultKeysPath

      public DefaultKeysPath​(AbstractPath parent)
  • Method Details

    • onKeys

      public LetPath onKeys​(Expression expression)
      Description copied from interface: KeysPath
      the on-key clause of a join/nest/unnest clause
      Specified by:
      onKeys in interface KeysPath
    • onKeys

      public LetPath onKeys​(String key)
      Description copied from interface: KeysPath
      the on-key clause of a join/nest/unnest clause with a single token key (eg. ON KEYS s.id).
      Specified by:
      onKeys in interface KeysPath
    • onKeys

      public LetPath onKeys​(JsonArray keys)
      Description copied from interface: KeysPath
      the on-key clause of a join/nest/unnest clause with an array of constant keys (eg. ON KEYS ["a", "b"]).
      Specified by:
      onKeys in interface KeysPath
    • onKeysValues

      public LetPath onKeysValues​(String... constantKeys)
      Description copied from interface: KeysPath
      the on-key clause of a join/nest/unnest clause with 1-n constant keys (eg. ON KEYS "a" or ON KEYS ["a", "b"])
      Specified by:
      onKeysValues in interface KeysPath
    • useKeys

      public LetPath useKeys​(Expression expression)
      Description copied from interface: KeysPath
      use the primary keyspace (doc id) in a join clause)
      Specified by:
      useKeys in interface KeysPath
    • useKeys

      public LetPath useKeys​(String key)
      Description copied from interface: KeysPath
      use the primary keyspace (doc id) in a join clause), with a single key given as a token expression (eg. USE KEYS s.id).
      Specified by:
      useKeys in interface KeysPath
    • useKeysValues

      public LetPath useKeysValues​(String... keys)
      Description copied from interface: KeysPath
      use the primary keyspace (doc id) in a join clause, with one or more keys given as constants (eg. USE KEYS "test" or USE KEYS ["a", "b"])
      Specified by:
      useKeysValues in interface KeysPath
    • useKeys

      public LetPath useKeys​(JsonArray keys)
      Description copied from interface: KeysPath
      use the primary keyspace (doc id) in a join clause)
      Specified by:
      useKeys in interface KeysPath
    • on

      public LetPath on​(Expression expression)
      Description copied from interface: KeysPath
      ANSI join "on" clause.
      Specified by:
      on in interface KeysPath