jlibs.jdbc.annotations.processor
Class WhereMethod
java.lang.Object
jlibs.jdbc.annotations.processor.WhereMethod
- Direct Known Subclasses:
- DeleteMethod, SelectColumnMethod, SelectMethod, UpsertMethod
public class WhereMethod
- extends Object
- Author:
- Santhosh Kumar T
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
initialQuery
protected String initialQuery
HINTS
protected static final Map<String,String> HINTS
printer
protected Printer printer
method
protected ExecutableElement method
mirror
protected AnnotationMirror mirror
columns
protected jlibs.jdbc.annotations.processor.Columns columns
WhereMethod
protected WhereMethod(Printer printer,
ExecutableElement method,
AnnotationMirror mirror,
jlibs.jdbc.annotations.processor.Columns columns)
defaultSQL
protected CharSequence[] defaultSQL()
defaultSQL
protected CharSequence[] defaultSQL(Iterator<VariableElement> iter)
create
public static jlibs.jdbc.annotations.processor.DMLMethod create(Printer printer,
ExecutableElement method,
jlibs.jdbc.annotations.processor.Columns columns)
methodName
protected String methodName()
userSQL
protected String userSQL()
generate
public void generate()
code
protected String[] code()
queryMethod
protected String queryMethod(CharSequence[] sequences)
queryMethod
protected static String queryMethod(String methodName,
CharSequence... sequences)
validateParamCount
protected void validateParamCount()
sql
protected final CharSequence[] sql()
replacePropertiesWithColumns
protected String replacePropertiesWithColumns(String sql)
preparedSQL
protected CharSequence[] preparedSQL(String value)
getColumn
protected jlibs.jdbc.annotations.processor.ColumnProperty getColumn(VariableElement param)
getColumn
protected jlibs.jdbc.annotations.processor.ColumnProperty getColumn(VariableElement param,
String propertyName)
Copyright © 2016. All rights reserved.