Class CADBLocationPaths
java.lang.Object
com.io7m.cardant.database.postgres.internal.CADBLocationPaths
Functions to fetch location paths from the database.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.jooq.Field<String[]> The location path field resulting from the location path function. -
Method Summary
Modifier and TypeMethodDescriptionstatic org.jooq.Select<org.jooq.Record1<String[]>> locationPath(org.jooq.DSLContext context, CALocationID locationID) Find the path for the given location.static org.jooq.Select<org.jooq.Record1<String[]>> locationPathFromColumn(org.jooq.DSLContext context, org.jooq.Field<UUID> locationID) Find the path for the given location.static org.jooq.Field<String[]> locationPathFromColumnNamed(org.jooq.DSLContext context, org.jooq.Field<UUID> locationID) Find the path for the given location.static org.jooq.Field<String[]> locationPathNamed(org.jooq.DSLContext context, CALocationID locationID) Find the path for the given location.
-
Field Details
-
LOCATION_PATH_NAME
The location path field resulting from the location path function.
-
-
Method Details
-
locationPath
public static org.jooq.Select<org.jooq.Record1<String[]>> locationPath(org.jooq.DSLContext context, CALocationID locationID) Find the path for the given location.- Parameters:
context- The contextlocationID- The location- Returns:
- The resulting path
-
locationPathFromColumn
-
locationPathNamed
public static org.jooq.Field<String[]> locationPathNamed(org.jooq.DSLContext context, CALocationID locationID) Find the path for the given location.- Parameters:
context- The contextlocationID- The location- Returns:
- The resulting path
-
locationPathFromColumnNamed
-