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 QueryBase interface for classes which encapsulate information about an Access query. ThetoSQLString()method can be used to convert this object into the actual SQL string which this query data represents.- Author:
- James Ahlborn
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classQuery.Type
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetName()Returns the name of the query.NameMapgetNameMap()intgetObjectFlag()intgetObjectId()Returns the unique object id of the query.StringgetOwnerAccessType()List<String>getParameters()Returns the rows from the system query table from which the query information was derived.PropertyMapgetProperties()Query.TypegetType()Returns the type of the query.booleanisHidden()Whether or not this query has been marked as hidden.StringtoSQLString()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.
-
getProperties
PropertyMap getProperties() throws IOException
- Returns:
- the properties for this query
- Throws:
IOException- Usage:
- General: This method is general use.
-
getNameMap
NameMap getNameMap() throws IOException
- Returns:
- the name map for this query, which cannot be changed, or
nullif the query has none - Throws:
IOException- Usage:
- Intermediate: This method requires moderate API knowledge.
-
-