Package com.querydsl.sql
Interface RelationalPath<T>
- Type Parameters:
T- expression type
- All Superinterfaces:
EntityPath<T>,Expression<T>,Path<T>,ProjectionRole<T>,Serializable
- All Known Implementing Classes:
RelationalPathBase
RelationalPath extends
EntityPath to provide access to relational
metadata- Author:
- tiwe
-
Method Summary
Modifier and TypeMethodDescriptionGet all columnsCollection<ForeignKey<?>>Get the foreign keys for this relationCollection<ForeignKey<?>>Get the inverse foreign keys for this relation@Nullable ColumnMetadatagetMetadata(Path<?> column) Returns the metadata for this path or null if none was assigned.@Nullable PrimaryKey<T>Get the primary key for this relation or null if none existsGet the schema and table nameGet the schema nameGet the table nameMethods inherited from interface com.querydsl.core.types.Expression
accept, getTypeMethods inherited from interface com.querydsl.core.types.Path
getAnnotatedElement, getMetadata, getRootMethods inherited from interface com.querydsl.core.types.ProjectionRole
getProjection
-
Method Details
-
getSchemaAndTable
SchemaAndTable getSchemaAndTable()Get the schema and table name- Returns:
- schema and table
-
getSchemaName
String getSchemaName()Get the schema name- Returns:
- schema
-
getTableName
String getTableName()Get the table name- Returns:
- table
-
getColumns
Get all columns- Returns:
- columns
-
getPrimaryKey
Get the primary key for this relation or null if none exists- Returns:
- primary key
-
getForeignKeys
Collection<ForeignKey<?>> getForeignKeys()Get the foreign keys for this relation- Returns:
- foreign keys
-
getInverseForeignKeys
Collection<ForeignKey<?>> getInverseForeignKeys()Get the inverse foreign keys for this relation- Returns:
- inverse foreign keys
-
getMetadata
Returns the metadata for this path or null if none was assigned. SeeColumnMetadata.getColumnMetadata(Path)for a null safe alternative- Specified by:
getMetadatain interfaceEntityPath<T>- Returns:
- column metadata for path
-