/** * Return true if this query has a WHERE clause, false if not. */ public boolean hasWhereClause() { return getProperty(Annotations.GRAPH_PATTERN) != null; }
/** * Return true if this query has a WHERE clause, false if not. */ public boolean hasWhereClause() { return getProperty(Annotations.GRAPH_PATTERN) != null; }
/** * Return the order by clause -or- <code>null</code> if there is no order * by. */ public OrderByNode getOrderBy() { return (OrderByNode) getProperty(Annotations.ORDER_BY); }
/** * Return the BINDINGS. */ public BindingsClause getBindingsClause() { return (BindingsClause) getProperty(Annotations.BINDINGS_CLAUSE); }
/** * @see Annotations#INCLUDE_INFERRED */ public boolean getIncludeInferred() { return getProperty(Annotations.INCLUDE_INFERRED, Annotations.DEFAULT_INCLUDE_INFERRED); }
/** * Return the type of query. This provides access to information which may * otherwise be difficult to determine by inspecting the generated AST or * query plan. */ public QueryType getQueryType() { return (QueryType) getProperty(Annotations.QUERY_TYPE); }
/** * Return the {@link HavingNode} -or- <code>null</code> if there is none. */ public HavingNode getHaving() { return (HavingNode) getProperty(Annotations.HAVING); }
/** * @see Annotations#INCLUDE_INFERRED */ public boolean getIncludeInferred() { return getProperty(Annotations.INCLUDE_INFERRED, Annotations.DEFAULT_INCLUDE_INFERRED); }
/** * @see Annotations#TIMEOUT */ public long getTimeout() { return getProperty(Annotations.TIMEOUT, Annotations.DEFAULT_TIMEOUT); }
/** * Return the construction -or- <code>null</code> if there is no construction. */ public ConstructNode getConstruct() { return (ConstructNode) getProperty(Annotations.CONSTRUCT); }
@Override @SuppressWarnings("unchecked") public GraphPatternGroup<IGroupMemberNode> getGraphPattern() { return (GraphPatternGroup<IGroupMemberNode>) getProperty(Annotations.GRAPH_PATTERN); }
/** * Return the {@link GroupByNode} -or- <code>null</code> if there is none. */ public GroupByNode getGroupBy() { return (GroupByNode) getProperty(Annotations.GROUP_BY); }
/** * Return the slice -or- <code>null</code> if there is no slice. */ public SliceNode getSlice() { return (SliceNode) getProperty(Annotations.SLICE); }
@Override @SuppressWarnings("unchecked") public GraphPatternGroup<IGroupMemberNode> getGraphPattern() { return (GraphPatternGroup<IGroupMemberNode>) getProperty(Annotations.GRAPH_PATTERN); }
/** * Return the {@link GroupByNode} -or- <code>null</code> if there is none. */ public GroupByNode getGroupBy() { return (GroupByNode) getProperty(Annotations.GROUP_BY); }
/** * Return the BINDINGS. */ public BindingsClause getBindingsClause() { return (BindingsClause) getProperty(Annotations.BINDINGS_CLAUSE); }
/** * Return the type of query. This provides access to information which may * otherwise be difficult to determine by inspecting the generated AST or * query plan. */ public QueryType getQueryType() { return (QueryType) getProperty(Annotations.QUERY_TYPE); }
/** * Return the {@link HavingNode} -or- <code>null</code> if there is none. */ public HavingNode getHaving() { return (HavingNode) getProperty(Annotations.HAVING); }
/** * Return the slice -or- <code>null</code> if there is no slice. */ public SliceNode getSlice() { return (SliceNode) getProperty(Annotations.SLICE); }
/** * Return the order by clause -or- <code>null</code> if there is no order * by. */ public OrderByNode getOrderBy() { return (OrderByNode) getProperty(Annotations.ORDER_BY); }