class Result[VD] extends Serializable
A class represent one result for SPARQL query.
- VD
Attribute of the key and value
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Result
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new Result()(implicit arg0: ClassTag[VD])
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
addAllMapping(map: Map[VD, VD]): Result[VD]
Add several maps to the result.
Add several maps to the result.
- map
Map to add
-
def
addMapping(variable: VD, value: VD): Result[VD]
Add one mapping to the result line.
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(obj: Any): Boolean
- Definition Classes
- Result → AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getField: Set[VD]
- def getMapping: Map[VD, VD]
- def getValue(variable: VD): VD
- def getValueSet(vars: Set[VD]): Set[VD]
-
def
hashCode(): Int
- Definition Classes
- Result → AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
merge(other: Result[VD]): Result[VD]
Merge two reuslts as one.
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
project(projectField: Set[VD]): Result[VD]
Select the required variable fields of the result, remove mapping which key is not in the project field.
-
def
projectNewResult(projectField: Set[VD]): Result[VD]
Return a new result for the required variable fields.
Return a new result for the required variable fields. Compare to method project, this method will not change this result, but return a new one.
-
def
removeAllMapping(field: Set[VD]): Result[VD]
Remove a set of variables from the result line.
-
def
removeMapping(variable: VD): Result[VD]
Remove one mapping from the result line.
- def returnLength(fields: Seq[VD]): Seq[Int]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- Result → AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()