com.healthmarketscience.jackcess.query
Interface Query

All Known Subinterfaces:
AppendQuery, BaseSelectQuery, CrossTabQuery, DataDefinitionQuery, DeleteQuery, MakeTableQuery, PassthroughQuery, SelectQuery, UnionQuery, UpdateQuery
All Known Implementing Classes:
AppendQueryImpl, BaseSelectQueryImpl, CrossTabQueryImpl, DataDefinitionQueryImpl, DeleteQueryImpl, MakeTableQueryImpl, PassthroughQueryImpl, QueryImpl, SelectQueryImpl, UnionQueryImpl, UpdateQueryImpl

public interface Query

Base interface 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.

Author:
James Ahlborn

Nested Class Summary
static class Query.Type
           
 
Method Summary
 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.
 Query.Type getType()
          Returns the type of the query.
 boolean isHidden()
          Whether or not this query has been marked as hidden.
 String toSQLString()
          Returns the actual SQL string which this query data represents.
 

Method Detail

getName

String getName()
Returns the name of the query.


getType

Query.Type getType()
Returns the type of the query.


isHidden

boolean isHidden()
Whether or not this query has been marked as hidden.

Usage:
General: This method is general use.

getObjectId

int getObjectId()
Returns the unique object id of the query.


getObjectFlag

int getObjectFlag()

getParameters

List<String> getParameters()
Returns the rows from the system query table from which the query information was derived.


getOwnerAccessType

String getOwnerAccessType()

toSQLString

String toSQLString()
Returns the actual SQL string which this query data represents.



Copyright © 2005–2017 Health Market Science. All rights reserved.