Package com.github.eikecochu.sqlbuilder
Class NestedCondition<T extends Conditionable<T>>
- java.lang.Object
-
- com.github.eikecochu.sqlbuilder.QueryPartImpl<T>
-
- com.github.eikecochu.sqlbuilder.Conditionable<NestedCondition<T>>
-
- com.github.eikecochu.sqlbuilder.NestedCondition<T>
-
- Type Parameters:
T- the type of the conditionable to return to
- All Implemented Interfaces:
QueryPart,QueryPartLinked<NestedCondition<T>>,QueryPartSQL<NestedCondition<T>>
public class NestedCondition<T extends Conditionable<T>> extends Conditionable<NestedCondition<T>>
Condition to multiple statements, for example WHERE, JOIN etc.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringstring(QueryOptions options)Transforms this statement into an SQL string-
Methods inherited from class com.github.eikecochu.sqlbuilder.Conditionable
and, col, col, col, col, col, colsEq, group, groupStart, or, values, values
-
Methods inherited from class com.github.eikecochu.sqlbuilder.QueryPartImpl
parent, sql
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.github.eikecochu.sqlbuilder.QueryPartLinked
ext, parent
-
-
-
-
Method Detail
-
string
public java.lang.String string(QueryOptions options)
Description copied from interface:QueryPartTransforms this statement into an SQL string- Specified by:
stringin interfaceQueryPart- Overrides:
stringin classConditionable<NestedCondition<T extends Conditionable<T>>>- Parameters:
options- The QueryOptions to apply for transformation- Returns:
- The created SQL string
-
-