Class LuceneSailBuffer.ContextAwareStatementImpl
java.lang.Object
org.eclipse.rdf4j.sail.lucene.LuceneSailBuffer.ContextAwareStatementImpl
- All Implemented Interfaces:
Serializable, Statement
- Enclosing class:
LuceneSailBuffer
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompares this statement to another object.Gets the context of this statement.Gets the object of this statement.Gets the predicate of this statement.Gets the subject of this statement.inthashCode()Computes the hash code of this statement.toString()
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
delegate
-
-
Constructor Details
-
ContextAwareStatementImpl
-
-
Method Details
-
getSubject
Description copied from interface:StatementGets the subject of this statement.- Specified by:
getSubjectin interfaceStatement- Returns:
- The statement's subject.
-
getPredicate
Description copied from interface:StatementGets the predicate of this statement.- Specified by:
getPredicatein interfaceStatement- Returns:
- The statement's predicate.
-
getObject
-
getContext
Description copied from interface:StatementGets the context of this statement.- Specified by:
getContextin interfaceStatement- Returns:
- The statement's context, or null in case of the null context or if not applicable.
-
equals
Description copied from interface:StatementCompares this statement to another object. -
hashCode
public int hashCode()Description copied from interface:StatementComputes the hash code of this statement.- Specified by:
hashCodein interfaceStatement- Overrides:
hashCodein classObject- Returns:
- a hash code for this statement computed as
Objects.hash(Statement.getSubject(),Statement.getPredicate(),Statement.getObject(),Statement.getContext())
-
toString
-