Class ConnectBy
- java.lang.Object
-
- com.github.eikecochu.sqlbuilder.QueryPartImpl<T>
-
- com.github.eikecochu.sqlbuilder.Conditionable<ConnectBy>
-
- com.github.eikecochu.sqlbuilder.oracle.ConnectBy
-
- All Implemented Interfaces:
QueryBuilder<ConnectBy>,QueryPart,QueryPartLinked<ConnectBy>,QueryPartSQL<ConnectBy>
public class ConnectBy extends Conditionable<ConnectBy> implements QueryBuilder<ConnectBy>
ConnectBy statement Supported by Oracle 11g
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedConnectBy(QueryPartLinked<?> parent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConnectByconnectBy()Creates a new ConnectBy instanceConnectBycycle()Enables CYCLE selectionConnectBynocycle()Enables NOCYCLE selectionStartWithstartWith()Creates a new StartWith instancejava.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.QueryBuilder
query, query
-
Methods inherited from interface com.github.eikecochu.sqlbuilder.QueryPartLinked
ext, parent, parent
-
-
-
-
Constructor Detail
-
ConnectBy
protected ConnectBy(QueryPartLinked<?> parent)
-
-
Method Detail
-
connectBy
public ConnectBy connectBy()
Creates a new ConnectBy instance- Returns:
- The new ConnectBy instance
-
cycle
public ConnectBy cycle()
Enables CYCLE selection- Returns:
- This instance
-
nocycle
public ConnectBy nocycle()
Enables NOCYCLE selection- Returns:
- This instance
-
startWith
public StartWith startWith()
Creates a new StartWith instance- Returns:
- The new StartWith instance
-
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<ConnectBy>- Parameters:
options- The QueryOptions to apply for transformation- Returns:
- The created SQL string
-
-