Class DraftModifier

java.lang.Object
com.sap.cds.services.impl.draft.DraftModifier
All Implemented Interfaces:
com.sap.cds.ql.cqn.Modifier

public class DraftModifier extends Object implements com.sap.cds.ql.cqn.Modifier
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    DraftModifier(com.sap.cds.reflect.CdsEntity root, Boolean isActiveExecution, boolean addSecurityConstraints, boolean stripIsActiveEntity, EventContext context)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.sap.cds.ql.cqn.CqnSelectListItem
    expand(com.sap.cds.ql.cqn.CqnExpand expand)
     
    com.sap.cds.ql.cqn.CqnSelectListItem
    inline(com.sap.cds.ql.cqn.CqnInline inline)
     
    List<com.sap.cds.ql.cqn.CqnSelectListItem>
    items(List<com.sap.cds.ql.cqn.CqnSelectListItem> items)
     
    com.sap.cds.ql.cqn.CqnValue
    ref(com.sap.cds.ql.cqn.CqnElementRef ref)
     
    com.sap.cds.ql.cqn.CqnStructuredTypeRef
    ref(com.sap.cds.ql.cqn.CqnStructuredTypeRef original)
     
    com.sap.cds.ql.cqn.CqnSelectListItem
    selectListValue(com.sap.cds.ql.Value<?> value, String alias)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.sap.cds.ql.cqn.Modifier

    booleanFunction, comparison, connective, containment, distinct, excluding, exists, expression, function, groupBy, having, in, inlineCount, list, literal, match, negation, orderBy, parameter, plain, search, search, searchableElements, selectAll, skip, sort, top, where
  • Field Details

  • Constructor Details

    • DraftModifier

      public DraftModifier(com.sap.cds.reflect.CdsEntity root, Boolean isActiveExecution, boolean addSecurityConstraints, boolean stripIsActiveEntity, EventContext context)
  • Method Details

    • ref

      public com.sap.cds.ql.cqn.CqnStructuredTypeRef ref(com.sap.cds.ql.cqn.CqnStructuredTypeRef original)
      Specified by:
      ref in interface com.sap.cds.ql.cqn.Modifier
    • items

      public List<com.sap.cds.ql.cqn.CqnSelectListItem> items(List<com.sap.cds.ql.cqn.CqnSelectListItem> items)
      Specified by:
      items in interface com.sap.cds.ql.cqn.Modifier
    • ref

      public com.sap.cds.ql.cqn.CqnValue ref(com.sap.cds.ql.cqn.CqnElementRef ref)
      Specified by:
      ref in interface com.sap.cds.ql.cqn.Modifier
    • selectListValue

      public com.sap.cds.ql.cqn.CqnSelectListItem selectListValue(com.sap.cds.ql.Value<?> value, String alias)
      Specified by:
      selectListValue in interface com.sap.cds.ql.cqn.Modifier
    • expand

      public com.sap.cds.ql.cqn.CqnSelectListItem expand(com.sap.cds.ql.cqn.CqnExpand expand)
      Specified by:
      expand in interface com.sap.cds.ql.cqn.Modifier
    • inline

      public com.sap.cds.ql.cqn.CqnSelectListItem inline(com.sap.cds.ql.cqn.CqnInline inline)
      Specified by:
      inline in interface com.sap.cds.ql.cqn.Modifier