Object

net.sansa_stack.inference.spark.rules

RDDOperations

Related Doc: package rules

Permalink

object RDDOperations

Common operations on RDD of triples.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RDDOperations
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

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

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

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

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

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  10. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  11. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  14. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  15. def objKeyPredSubj(triples: RDD[RDFTriple]): RDD[(String, (String, String))]

    Permalink

    For a given triple (s,p,o) it returns (o,(p,s))

    For a given triple (s,p,o) it returns (o,(p,s))

    triples

    the triples (s,p,o)

    returns

    tuples (o,(p,s))

  16. def objKeySubjPred(triples: RDD[RDFTriple]): RDD[(String, (String, String))]

    Permalink

    For a given triple (s,p,o) it returns (o,(s,p))

    For a given triple (s,p,o) it returns (o,(s,p))

    triples

    the triples (s,p,o)

    returns

    tuples (o,(s,p))

  17. def objPredKeySubj(triples: RDD[RDFTriple]): RDD[((String, String), String)]

    Permalink

    For a given triple (s,p,o) it returns ((o,p),s)

    For a given triple (s,p,o) it returns ((o,p),s)

    triples

    the triples (s,p,o)

    returns

    tuples ((o,p),s)

  18. def objSubj(triples: RDD[RDFTriple]): RDD[(String, String)]

    Permalink

    For a given triple (s,p,o) it returns (o,s)

    For a given triple (s,p,o) it returns (o,s)

    triples

    the triples (s,p,o)

    returns

    tuples (o,s)

  19. def predKeyObjSubj(triples: RDD[RDFTriple]): RDD[(String, (String, String))]

    Permalink

    For a given triple (s,p,o) it returns (p,(o,s))

    For a given triple (s,p,o) it returns (p,(o,s))

    triples

    the triples (s,p,o)

    returns

    tuples (p,(o,s))

  20. def predKeySubjObj(triples: RDD[RDFTriple]): RDD[(String, (String, String))]

    Permalink

    For a given triple (s,p,o) it returns (p,(s,o))

    For a given triple (s,p,o) it returns (p,(s,o))

    triples

    the triples (s,p,o)

    returns

    tuples (p,(s,o))

  21. def subjKeyObjPred(triples: RDD[RDFTriple]): RDD[(String, (String, String))]

    Permalink

    For a given triple (s,p,o) it returns (s,(o,p))

    For a given triple (s,p,o) it returns (s,(o,p))

    triples

    the triples (s,p,o)

    returns

    tuples (s,(o,p))

  22. def subjKeyPredObj(triples: RDD[RDFTriple]): RDD[(String, (String, String))]

    Permalink

    For a given triple (s,p,o) it returns (s,(p,o))

    For a given triple (s,p,o) it returns (s,(p,o))

    triples

    the triples (s,p,o)

    returns

    tuples (s,(p,o))

  23. def subjObj(triples: RDD[RDFTriple]): RDD[(String, String)]

    Permalink

    For a given triple (s,p,o) it returns (s,o)

    For a given triple (s,p,o) it returns (s,o)

    triples

    the triples (s,p,o)

    returns

    tuples (s,o)

  24. def subjObjKeyPred(triples: RDD[RDFTriple]): RDD[((String, String), String)]

    Permalink

    For a given triple (s,p,o) it returns ((s,o),p)

    For a given triple (s,p,o) it returns ((s,o),p)

    triples

    the triples (s,p,o)

    returns

    tuples ((s,o),p)

  25. def subjPredKeyObj(triples: RDD[RDFTriple]): RDD[((String, String), String)]

    Permalink

    For a given triple (s,p,o) it returns ((s,p),o)

    For a given triple (s,p,o) it returns ((s,p),o)

    triples

    the triples (s,p,o)

    returns

    tuples ((s,p),o)

  26. def swap[A, B](tuples: RDD[(A, B)]): RDD[(B, A)]

    Permalink

    For a given tuple (x,y) it returns (y,x)

    For a given tuple (x,y) it returns (y,x)

    tuples

    the tuples (x,y)

    returns

    tuples (y,x)

  27. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  28. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  29. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped