Package com.sap.cds.jdbc.spi
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 Summary
Modifier and TypeMethodDescriptioncolumnLikeAlias(CdsElement element) columnName(CqnElementRef ref) columnName(CdsElement element) columnName(String elementName) columnName(Stream<? extends CqnReference.Segment> segments) cteName()delimitedCasing(String undelimited) Maps a JSON path query for extracting serialized JSON text from a JSON context to the DB specific representation.plainTableName(String qualifiedEntityName)
-
Method Details
-
tableName
String tableName() -
localizedViewName
String localizedViewName() -
plainTableName
-
columnName
-
columnName
-
columnName
-
columnName
-
getRowType
CdsStructuredType getRowType() -
delimitedCasing
-
columnLikeAlias
-
cteName
String cteName() -
jsonQuery
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
-