public final class JDBCDeclaredQueryMetaData extends Object implements JDBCQueryMetaData
Constructor and Description |
---|
JDBCDeclaredQueryMetaData(boolean isResultTypeMappingLocal,
Method method,
JDBCReadAheadMetaData readAhead,
Class compiler,
boolean lazyResultSetLoading,
Map<String,String> props) |
JDBCDeclaredQueryMetaData(JDBCDeclaredQueryMetaData defaults,
JDBCReadAheadMetaData readAhead,
Class compiler,
boolean lazyResultSetLoading)
Constructs a JDBCDeclaredQueryMetaData which is defined by the
declared-sql xml element and is invoked by the specified method.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o)
Compares this JDBCDeclaredQueryMetaData against the specified object.
|
String |
getAdditionalColumns()
Additional columns that should be added to the select clause.
|
String |
getAlias()
The alias that is used for the select table.
|
String |
getEJBName()
The name of the ejb from which the field will be selected.
|
String |
getFieldName()
The name of the cmp-field to be selected.
|
String |
getFrom()
Gets the sql FROM clause of this query.
|
Method |
getMethod()
Gets the method which invokes this query.
|
String |
getOrder()
Gets the sql ORDER BY clause of this query.
|
String |
getOther()
Gets other sql code which is appended to the end of the query.
|
Class |
getQLCompilerClass() |
JDBCReadAheadMetaData |
getReadAhead()
Gets the read ahead metadata for the query.
|
String |
getWhere()
Gets the sql WHERE clause of this query.
|
int |
hashCode()
Returns a hashcode for this JDBCDeclaredQueryMetaData.
|
boolean |
isLazyResultSetLoading() |
boolean |
isResultTypeMappingLocal()
Is the result set of ejbSelect is mapped to local ejb objects or
remote ejb objects.
|
boolean |
isSelectDistinct()
Should the select be DISTINCT?
|
String |
toString()
Returns a string describing this JDBCDeclaredQueryMetaData.
|
public JDBCDeclaredQueryMetaData(JDBCDeclaredQueryMetaData defaults, JDBCReadAheadMetaData readAhead, Class compiler, boolean lazyResultSetLoading)
defaults
- the default values to usereadAhead
- the read-ahead properties for this querypublic Method getMethod()
JDBCQueryMetaData
getMethod
in interface JDBCQueryMetaData
public boolean isResultTypeMappingLocal()
JDBCQueryMetaData
isResultTypeMappingLocal
in interface JDBCQueryMetaData
public JDBCReadAheadMetaData getReadAhead()
getReadAhead
in interface JDBCQueryMetaData
public Class getQLCompilerClass()
getQLCompilerClass
in interface JDBCQueryMetaData
public String getFrom()
public String getWhere()
public String getOrder()
public String getOther()
public boolean isSelectDistinct()
public String getEJBName()
public String getFieldName()
public String getAlias()
public String getAdditionalColumns()
public boolean isLazyResultSetLoading()
isLazyResultSetLoading
in interface JDBCQueryMetaData
public boolean equals(Object o)
public int hashCode()
public String toString()
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.