|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjlibs.jdbc.annotations.processor.WhereMethod
jlibs.jdbc.annotations.processor.SelectMethod
public class SelectMethod
| Field Summary | |
|---|---|
protected jlibs.jdbc.annotations.processor.Columns |
columns
|
protected static Map<String,String> |
HINTS
|
protected ExecutableElement |
method
|
protected AnnotationMirror |
mirror
|
protected Printer |
printer
|
| Fields inherited from class jlibs.jdbc.annotations.processor.WhereMethod |
|---|
initialQuery |
| Constructor Summary | |
|---|---|
protected |
SelectMethod(Printer printer,
ExecutableElement method,
AnnotationMirror mirror,
jlibs.jdbc.annotations.processor.Columns columns)
|
| Method Summary | |
|---|---|
protected String[] |
code()
|
static jlibs.jdbc.annotations.processor.DMLMethod |
create(Printer printer,
ExecutableElement method,
jlibs.jdbc.annotations.processor.Columns columns)
|
void |
generate()
|
protected jlibs.jdbc.annotations.processor.ColumnProperty |
getColumn(VariableElement param)
|
protected jlibs.jdbc.annotations.processor.ColumnProperty |
getColumn(VariableElement param,
String propertyName)
|
protected String |
methodName()
|
protected CharSequence[] |
preparedSQL(String value)
|
protected String |
queryMethod(CharSequence[] sequences)
|
protected static String |
queryMethod(String methodName,
CharSequence... sequences)
|
protected String |
replacePropertiesWithColumns(String sql)
|
protected CharSequence[] |
sql()
|
protected String |
userSQL()
|
protected void |
validateParamCount()
|
| Methods inherited from class jlibs.jdbc.annotations.processor.WhereMethod |
|---|
defaultSQL, defaultSQL |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final Map<String,String> HINTS
protected Printer printer
protected ExecutableElement method
protected AnnotationMirror mirror
protected jlibs.jdbc.annotations.processor.Columns columns
| Constructor Detail |
|---|
protected SelectMethod(Printer printer,
ExecutableElement method,
AnnotationMirror mirror,
jlibs.jdbc.annotations.processor.Columns columns)
| Method Detail |
|---|
protected String[] code()
protected String methodName()
public static jlibs.jdbc.annotations.processor.DMLMethod create(Printer printer,
ExecutableElement method,
jlibs.jdbc.annotations.processor.Columns columns)
protected String userSQL()
public void generate()
protected String queryMethod(CharSequence[] sequences)
protected static String queryMethod(String methodName,
CharSequence... sequences)
protected void validateParamCount()
protected final CharSequence[] sql()
protected String replacePropertiesWithColumns(String sql)
protected CharSequence[] preparedSQL(String value)
protected jlibs.jdbc.annotations.processor.ColumnProperty getColumn(VariableElement param)
protected jlibs.jdbc.annotations.processor.ColumnProperty getColumn(VariableElement param,
String propertyName)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||