Interface SqlMapping


public interface SqlMapping
This class is associated with an underlying structured type and provides the mapping of the type and its elements to table and column names. Provides the mapping of the elements of an underlying structured type.
  • Method Details

    • tableName

      String tableName()
    • localizedViewName

      String localizedViewName()
    • plainTableName

      String plainTableName(String qualifiedEntityName)
    • columnName

      String columnName(String elementName)
    • columnName

      String columnName(CqnElementRef ref)
    • columnName

      String columnName(Stream<? extends CqnReference.Segment> segments)
    • columnName

      String columnName(CdsElement element)
    • getRowType

      CdsStructuredType getRowType()
    • delimitedCasing

      String delimitedCasing(String undelimited)
    • columnLikeAlias

      String columnLikeAlias(CdsElement element)
    • cteName

      String cteName()
    • jsonQuery

      @Beta String jsonQuery(String jsonDoc, String jsonPath)
      Maps a JSON path query for extracting serialized JSON text from a JSON context to the DB specific representation.
      Parameters:
      jsonDoc - specifies the JSON document to operate on, such as a table column, string, or collection.
      jsonPath - the JSON path expression to extract the value. Array indexes start from 0, rather than 1 (the SQL standard).
      Returns:
      the DB specific representation of the JSON path query