Package com.sap.cds.ql
Class StatementBuilder<T>
- java.lang.Object
-
- com.sap.cds.ql.StatementBuilder<T>
-
- All Implemented Interfaces:
JSONizable
,CqnStatement
- Direct Known Subclasses:
Select
public abstract class StatementBuilder<T> extends Object implements CqnStatement
-
-
Constructor Summary
Constructors Constructor Description StatementBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
hint(String name, Object value)
Adds a hint to the statement.Map<String,Object>
hints()
Returns the runtime hints of this statement.T
hints(String... hints)
Adds hints to the statement.T
hints(Map<String,Object> hints)
Sets the hints for the statement.String
toString()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.sap.cds.ql.cqn.CqnStatement
asDelete, asInsert, asSelect, asUpdate, asUpsert, isDelete, isInsert, isSelect, isUpdate, isUpsert, ref
-
Methods inherited from interface com.sap.cds.JSONizable
toJson
-
-
-
-
Method Detail
-
hints
public Map<String,Object> hints()
Description copied from interface:CqnStatement
Returns the runtime hints of this statement.- Specified by:
hints
in interfaceCqnStatement
- Returns:
- the runtime hints
-
hints
public T hints(Map<String,Object> hints)
Sets the hints for the statement.- Parameters:
hints
- the hint map- Returns:
- this statement
-
hints
public T hints(String... hints)
Adds hints to the statement.- Parameters:
hints
- the hints- Returns:
- this statement
-
hint
public T hint(String name, Object value)
Adds a hint to the statement.- Parameters:
name
- the hint namevalue
- the hint value- Returns:
- this statement
-
-