|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.healthmarketscience.jackcess.impl.query.QueryImpl
public abstract class QueryImpl
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 |
QueryImpl.Row
Struct containing the information from a single row of the system query table. |
| Nested classes/interfaces inherited from interface com.healthmarketscience.jackcess.query.Query |
|---|
Query.Type |
| Method Summary | |
|---|---|
static QueryImpl |
create(int objectFlag,
String name,
List<QueryImpl.Row> rows,
int objectId)
Creates a concrete Query instance from the given query data. |
String |
getName()
Returns the name of the query. |
int |
getObjectFlag()
|
int |
getObjectId()
Returns the unique object id of the query. |
String |
getOwnerAccessType()
|
List<String> |
getParameters()
Returns the rows from the system query table from which the query information was derived. |
List<QueryImpl.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. |
QueryImpl.Row |
getTypeRow()
|
boolean |
isHidden()
Whether or not this query has been marked as hidden. |
String |
toSQLString()
Returns the actual SQL string which this query data represents. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public String getName()
getName in interface Querypublic Query.Type getType()
getType in interface Querypublic boolean isHidden()
Query
isHidden in interface Querypublic int getObjectId()
getObjectId in interface Querypublic int getObjectFlag()
getObjectFlag in interface Querypublic List<QueryImpl.Row> getRows()
public QueryImpl.Row getTypeRow()
public List<String> getParameters()
Query
getParameters in interface Querypublic String getOwnerAccessType()
getOwnerAccessType in interface Querypublic String toSQLString()
toSQLString in interface Querypublic String toString()
toString in class Object
public static QueryImpl create(int objectFlag,
String name,
List<QueryImpl.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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||