APIdia Launch Partner
Top Description Inners Methods
io.github.spannm.jackcess.query

public Interface Query

Known Direct Subinterfaces
io.github.spannm.jackcess.query.UnionQuery, io.github.spannm.jackcess.query.UpdateQuery, io.github.spannm.jackcess.query.BaseSelectQuery, io.github.spannm.jackcess.query.DataDefinitionQuery, io.github.spannm.jackcess.query.PassthroughQuery
Known Direct Implementers
io.github.spannm.jackcess.impl.query.QueryImpl
Static Imports
io.github.spannm.jackcess.impl.query.QueryFormat.APPEND_QUERY_OBJECT_FLAG, .QueryFormat.CROSS_TAB_QUERY_OBJECT_FLAG, .QueryFormat.DATA_DEF_QUERY_OBJECT_FLAG, .QueryFormat.DELETE_QUERY_OBJECT_FLAG, .QueryFormat.MAKE_TABLE_QUERY_OBJECT_FLAG, .QueryFormat.PASSTHROUGH_QUERY_OBJECT_FLAG, .QueryFormat.SELECT_QUERY_OBJECT_FLAG, .QueryFormat.UNION_QUERY_OBJECT_FLAG, .QueryFormat.UPDATE_QUERY_OBJECT_FLAG

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.

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static enum

Method Summary

Modifier and TypeMethod and Description
public String
getName()

Returns the name of the query.

public int
public int
getObjectId()

Returns the unique object id of the query.

public String
public List<String>
public Query.Type
getType()

Returns the type of the query.

public boolean
isHidden()

Whether or not this query has been marked as hidden.

public String
toSQLString()

Returns the actual SQL string which this query data represents.

Method Detail

getNameback to summary
public String getName()

Returns the name of the query.

getObjectFlagback to summary
public int getObjectFlag()
getObjectIdback to summary
public int getObjectId()

Returns the unique object id of the query.

getOwnerAccessTypeback to summary
public String getOwnerAccessType()
getParametersback to summary
public List<String> getParameters()
getTypeback to summary
public Query.Type getType()

Returns the type of the query.

isHiddenback to summary
public boolean isHidden()

Whether or not this query has been marked as hidden.

toSQLStringback to summary
public String toSQLString()

Returns the actual SQL string which this query data represents.

io.github.spannm.jackcess.query back to summary

public final Enum Query.Type

extends Enum<Query.Type>
Class Inheritance

Field Summary

Modifier and TypeField and Description
public static final Query.Type
public static final Query.Type
public static final Query.Type
public static final Query.Type
public static final Query.Type
private final int
public static final Query.Type
public static final Query.Type
public static final Query.Type
public static final Query.Type
public static final Query.Type
private final short

Constructor Summary

AccessConstructor and Description
private
Type(int objectFlag, int value)

Method Summary

Modifier and TypeMethod and Description
public int
public short
public static boolean
public static Query.Type
public static Query.Type[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

APPENDback to summary
public static final Query.Type APPEND
CROSS_TABback to summary
public static final Query.Type CROSS_TAB
DATA_DEFINITIONback to summary
public static final Query.Type DATA_DEFINITION
DELETEback to summary
public static final Query.Type DELETE
MAKE_TABLEback to summary
public static final Query.Type MAKE_TABLE
objectFlagback to summary
private final int objectFlag
PASSTHROUGHback to summary
public static final Query.Type PASSTHROUGH
SELECTback to summary
public static final Query.Type SELECT
UNIONback to summary
public static final Query.Type UNION
UNKNOWNback to summary
public static final Query.Type UNKNOWN
UPDATEback to summary
public static final Query.Type UPDATE
valueback to summary
private final short value

Constructor Detail

Typeback to summary
private Type(int objectFlag, int value)

Method Detail

getObjectFlagback to summary
public int getObjectFlag()
getValueback to summary
public short getValue()
isUnknownback to summary
public static boolean isUnknown(Query.Type _type)
valueOfback to summary
public static Query.Type valueOf(String name)
valuesback to summary
public static Query.Type[] values()