public class QueryObjectModelImpl extends Object implements QueryObjectModel
| Constructor and Description |
|---|
QueryObjectModelImpl(QueryManagerImpl queryManager,
ValueFactory valueFactory,
Source source,
Constraint constraint,
Ordering[] orderings,
Column[] columns) |
| Modifier and Type | Method and Description |
|---|---|
void |
addBindVariable(BindVariableValueImpl var) |
void |
bindValue(String varName,
Value value) |
void |
bindVariables() |
QueryResult |
execute() |
String[] |
getBindVariableNames() |
Column[] |
getColumns() |
Constraint |
getConstraint() |
String |
getLanguage() |
Ordering[] |
getOrderings() |
Source |
getSource() |
String |
getStatement() |
String |
getStoredQueryPath() |
ValueFactory |
getValueFactory() |
void |
setLimit(long limit) |
void |
setOffset(long offset) |
Node |
storeAsNode(String absPath) |
String |
toString() |
public QueryObjectModelImpl(QueryManagerImpl queryManager, ValueFactory valueFactory, Source source, Constraint constraint, Ordering[] orderings, Column[] columns)
public void bindVariables()
public Column[] getColumns()
getColumns in interface QueryObjectModelpublic Constraint getConstraint()
getConstraint in interface QueryObjectModelpublic Ordering[] getOrderings()
getOrderings in interface QueryObjectModelpublic Source getSource()
getSource in interface QueryObjectModelpublic String[] getBindVariableNames() throws RepositoryException
getBindVariableNames in interface QueryRepositoryExceptionpublic ValueFactory getValueFactory()
public void bindValue(String varName, Value value) throws RepositoryException
bindValue in interface QueryRepositoryExceptionpublic QueryResult execute() throws RepositoryException
execute in interface QueryRepositoryExceptionpublic String getLanguage()
getLanguage in interface Querypublic String getStatement()
getStatement in interface Querypublic String getStoredQueryPath() throws RepositoryException
getStoredQueryPath in interface QueryRepositoryExceptionpublic Node storeAsNode(String absPath) throws RepositoryException
storeAsNode in interface QueryRepositoryExceptionpublic void addBindVariable(BindVariableValueImpl var)
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.