Class/Object

com.signalcollect.triplerush

QueryParticle

Related Docs: object QueryParticle | package triplerush

Permalink

final class QueryParticle extends AnyVal

The array packs: 0 int: queryId, 1-2 long: tickets (long encoded as 2 ints) 3 int: numberOfBindings 4-? ints: bindings ? ?*3 ints: triple patterns in reverse matching order (last one gets matched first).

Linear Supertypes
AnyVal, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. QueryParticle
  2. AnyVal
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new QueryParticle(r: Array[Int])

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def bind(toBindS: Int, toBindP: Int, toBindO: Int): Array[Int]

    Permalink

    Assumption: TP has all constants.

  6. def bindObject(toMatchO: Int, toBindO: Int, copyBeforeWrite: Boolean): Array[Int]

    Permalink
  7. def bindPredicate(toMatchP: Int, toMatchO: Int, toBindP: Int, toBindO: Int, copyBeforeWrite: Boolean): Array[Int]

    Permalink
  8. def bindSubject(toMatchS: Int, toMatchP: Int, toMatchO: Int, toBindS: Int, toBindP: Int, toBindO: Int, copyBeforeWrite: Boolean): Array[Int]

    Permalink
  9. def bindVariablesInPatterns(variable: Int, boundValue: Int): Unit

    Permalink
  10. def binding(bindingIndex: Int): Int

    Permalink
  11. def bindings: Array[Int]

    Permalink
  12. def copy: Array[Int]

    Permalink
  13. def copyWithTickets(t: Long, complete: Boolean): Array[Int]

    Permalink
  14. def copyWithoutLastPattern: Array[Int]

    Permalink
  15. def getClass(): Class[_ <: AnyVal]

    Permalink
    Definition Classes
    AnyVal → Any
  16. def isBindingQuery: Boolean

    Permalink
  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. def isResult: Boolean

    Permalink
  19. def isSimpleToBind: Boolean

    Permalink

    Checks that the last pattern is not fully bound and that no variable appears multiple times in the last pattern.

    Checks that the last pattern is not fully bound and that no variable appears multiple times in the last pattern. The same variable appearing multiple times might cause a binding to fail.

  20. def lastPattern: TriplePattern

    Permalink
  21. def lastPatternO: Int

    Permalink
    Annotations
    @inline()
  22. def lastPatternP: Int

    Permalink
    Annotations
    @inline()
  23. def lastPatternS: Int

    Permalink
    Annotations
    @inline()
  24. def numberOfBindings: Int

    Permalink
  25. def numberOfPatterns: Int

    Permalink
  26. def pattern(index: Int): TriplePattern

    Permalink
  27. def patterns: IndexedSeq[TriplePattern]

    Permalink
  28. def queryId: Int

    Permalink
  29. val r: Array[Int]

    Permalink
  30. def routingAddress: Long

    Permalink

    Routing address for this query.

  31. def tickets: Long

    Permalink
  32. def toString(): String

    Permalink
    Definition Classes
    Any
  33. def validate(msg: String): Unit

    Permalink
  34. def writeBinding(bindingIndex: Int, boundValue: Int): Unit

    Permalink
  35. def writeBindings(bindings: Seq[Int]): Unit

    Permalink
  36. def writeNumberOfBindings(numberOfBindings: Int): Unit

    Permalink
  37. def writePattern(subjectIndex: Int, p: TriplePattern): Unit

    Permalink

    Requires the index where the subject will be written.

    Requires the index where the subject will be written. Pattern is written in spo order.

  38. def writePatterns(unmatched: Seq[TriplePattern]): Unit

    Permalink
  39. def writeQueryId(id: Int): Unit

    Permalink
  40. def writeTickets(t: Long): Unit

    Permalink

Inherited from AnyVal

Inherited from Any

Ungrouped