Class CypherUnionQueryImpl
java.lang.Object
se.liu.ida.hefquin.engine.wrappers.lpg.query.impl.CypherUnionQueryImpl
- All Implemented Interfaces:
CypherQuery,CypherUnionQuery
-
Constructor Summary
ConstructorsConstructorDescriptionCypherUnionQueryImpl(List<CypherMatchQuery> result) CypherUnionQueryImpl(CypherMatchQuery... queries) -
Method Summary
-
Constructor Details
-
CypherUnionQueryImpl
public CypherUnionQueryImpl() -
CypherUnionQueryImpl
-
CypherUnionQueryImpl
-
-
Method Details
-
getSubqueries
Description copied from interface:CypherUnionQueryReturns the list of MATCH Cypher queries that are part of the union of the modelled query. For the example query, this method returns a list with two elements, one representing each MATCH query.- Specified by:
getSubqueriesin interfaceCypherUnionQuery- Returns:
- a List of CypherMatchQuery objects
-
getMatchVars
Description copied from interface:CypherQueryReturns the set of variables that are defined in the MATCH clauses of this query.- Specified by:
getMatchVarsin interfaceCypherQuery
-
toString
Description copied from interface:CypherQueryReturns a Cypher expression representing this query.- Specified by:
toStringin interfaceCypherQuery- Overrides:
toStringin classObject
-
equals
-
hashCode
public int hashCode()
-