org.jrdf.query
Class AnswerImpl
java.lang.Object
org.jrdf.query.AnswerImpl
- All Implemented Interfaces:
- Serializable, Answer
public final class AnswerImpl
- extends Object
- implements Answer, Serializable
Default implementation of Answer
.
- Version:
- $Revision: 1045 $
- See Also:
- Serialized Form
AnswerImpl
public AnswerImpl(LinkedHashSet<Attribute> heading,
Relation results,
long timeTaken,
boolean hasProjected)
getColumnNames
public String[] getColumnNames()
- Specified by:
getColumnNames
in interface Answer
getColumnValues
public String[][] getColumnValues()
- Specified by:
getColumnValues
in interface Answer
numberOfTuples
public long numberOfTuples()
- Specified by:
numberOfTuples
in interface Answer
getTimeTaken
public long getTimeTaken()
- Specified by:
getTimeTaken
in interface Answer
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object