public class DraftModifier extends Object implements com.sap.cds.ql.cqn.CqnModifier
CqnModifier for the all parts of draft statements except for reference, aggregations, orderby and columns.| Constructor and Description |
|---|
DraftModifier(com.sap.cds.reflect.CdsEntity entity,
boolean adaptIsActiveEntity) |
DraftModifier(com.sap.cds.reflect.CdsEntity entity,
boolean activeEntityOnly,
boolean adaptIsActiveEntity) |
| Modifier and Type | Method and Description |
|---|---|
static com.sap.cds.ql.Value<?> |
adaptElement(com.sap.cds.ql.cqn.CqnElementRef ref,
com.sap.cds.reflect.CdsEntity entity,
boolean forDraftEntity,
boolean activeEntityOnly,
boolean adaptIsActiveEntity) |
static com.sap.cds.ql.ElementRef<?> |
changeLastSegment(com.sap.cds.ql.cqn.CqnElementRef ref,
String id) |
static com.sap.cds.ql.Value<?> |
createTimeoutExpression(com.sap.cds.ql.cqn.CqnElementRef ref) |
static Instant |
getTimeoutThreshold() |
static void |
insertFieldBefore(String id,
List<com.sap.cds.ql.cqn.CqnReference.Segment> segments,
com.sap.cds.ql.cqn.CqnReference.Segment toInsert) |
com.sap.cds.ql.Value<?> |
ref(com.sap.cds.ql.ElementRef<?> ref) |
static boolean |
referencesDraftField(String draftColumn,
List<? extends com.sap.cds.ql.cqn.CqnReference.Segment> segments,
com.sap.cds.reflect.CdsEntity entity,
boolean forDraftEntity) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbooleanFunction, comparison, connective, distinct, excluding, exists, expand, expression, function, groupBy, having, in, inline, inlineCount, items, limit, list, literal, literal, literal, literal, literal, negation, orderBy, parameter, plain, ref, search, search, searchableElements, selectAll, selectListItem, wherepublic DraftModifier(com.sap.cds.reflect.CdsEntity entity,
boolean adaptIsActiveEntity)
public DraftModifier(com.sap.cds.reflect.CdsEntity entity,
boolean activeEntityOnly,
boolean adaptIsActiveEntity)
public com.sap.cds.ql.Value<?> ref(com.sap.cds.ql.ElementRef<?> ref)
ref in interface com.sap.cds.ql.cqn.CqnModifierpublic static com.sap.cds.ql.Value<?> adaptElement(com.sap.cds.ql.cqn.CqnElementRef ref,
com.sap.cds.reflect.CdsEntity entity,
boolean forDraftEntity,
boolean activeEntityOnly,
boolean adaptIsActiveEntity)
public static void insertFieldBefore(String id, List<com.sap.cds.ql.cqn.CqnReference.Segment> segments, com.sap.cds.ql.cqn.CqnReference.Segment toInsert)
public static Instant getTimeoutThreshold()
public static com.sap.cds.ql.ElementRef<?> changeLastSegment(com.sap.cds.ql.cqn.CqnElementRef ref,
String id)
public static boolean referencesDraftField(String draftColumn, List<? extends com.sap.cds.ql.cqn.CqnReference.Segment> segments, com.sap.cds.reflect.CdsEntity entity, boolean forDraftEntity)
public static com.sap.cds.ql.Value<?> createTimeoutExpression(com.sap.cds.ql.cqn.CqnElementRef ref)
Copyright © 2021. All rights reserved.