Package com.github.eikecochu.sqlbuilder
Interface QueryPartLinked<T extends QueryPartLinked<T>>
-
- Type Parameters:
T- The type of the parent expression
- All Superinterfaces:
QueryPart
- All Known Subinterfaces:
BeforeDelete<T>,BeforeFrom<T>,BeforeGroupBy<T>,BeforeHaving<T>,BeforeInsert<T>,BeforeJoin<T>,BeforeOrderBy<T>,BeforeSelect<T>,BeforeUnion<T>,BeforeUpdate<T>,BeforeWhere<T>,BeforeWith<T>,QueryBuilder<T>
- All Known Implementing Classes:
Condition,Conditionable,ConnectBy,Delete,Exists,Expression,Fetch,From,GroupBy,Having,Insert,Join,Limit,NestedCondition,Offset,Offset,OrderBy,Query,QueryPartImpl,Select,StartWith,Union,Update,Where,With
public interface QueryPartLinked<T extends QueryPartLinked<T>> extends QueryPart
The QueryPartLinked interface is implemented by all expressions that can link to parent expressions for building chains.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default <U extends QueryPartLinked<U>>
Uext(U ext)Continue the building chain with any element, for example custom implemented expressions.QueryPartLinked<?>parent()Get the parent of this expressionTparent(QueryPartLinked<?> parent)Set the parent of this expression
-
-
-
Method Detail
-
parent
QueryPartLinked<?> parent()
Get the parent of this expression- Returns:
- The parent expression
-
parent
T parent(QueryPartLinked<?> parent)
Set the parent of this expression- Parameters:
parent- The parent expression- Returns:
- This instance
-
ext
default <U extends QueryPartLinked<U>> U ext(U ext)
Continue the building chain with any element, for example custom implemented expressions.- Type Parameters:
U- The type of the parameter- Parameters:
ext- The custom expression- Returns:
- The custom expression
-
-