|
Elexis API documentationVersion 2.1.6 as of December 11 2011 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.healthmarketscience.jackcess.query.Query
public abstract class Query
Base class for classes which encapsulate information about an Access query. The
toSQLString()
method can be used to convert this object into the actual SQL string which
this query data represents.
Nested Class Summary | |
---|---|
static class |
Query.Row
Struct containing the information from a single row of the system query table. |
static class |
Query.Type
|
Method Summary | |
---|---|
static Query |
create(int objectFlag,
java.lang.String name,
java.util.List<Query.Row> rows,
int objectId)
Creates a concrete Query instance from the given query data. |
java.lang.String |
getName()
Returns the name of the query. |
int |
getObjectFlag()
|
int |
getObjectId()
Returns the unique object id of the query. |
java.lang.String |
getOwnerAccessType()
|
java.util.List<java.lang.String> |
getParameters()
|
java.util.List<Query.Row> |
getRows()
Returns the rows from the system query table from which the query information was derived. |
Query.Type |
getType()
Returns the type of the query. |
java.lang.String |
toSQLString()
Returns the actual SQL string which this query data represents. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public java.lang.String getName()
public Query.Type getType()
public int getObjectId()
public int getObjectFlag()
public java.util.List<Query.Row> getRows()
public java.util.List<java.lang.String> getParameters()
public java.lang.String getOwnerAccessType()
public java.lang.String toSQLString()
public java.lang.String toString()
toString
in class java.lang.Object
public static Query create(int objectFlag, java.lang.String name, java.util.List<Query.Row> rows, int objectId)
objectFlag
- the flag indicating the type of the queryname
- the name of the queryrows
- the rows from the system query table containing the data describing this queryobjectId
- the unique object id of this query
|
Elexis API documentationVersion 2.1.6 as of December 11 2011 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |