Class CADBQTypeDeclsSearch
java.lang.Object
com.io7m.cardant.database.postgres.internal.CADBQTypeDeclsSearch
- All Implemented Interfaces:
CADatabaseQueriesType,CADatabaseQueriesTypesType,CADatabaseQueriesTypesType.TypeDeclarationsSearchType,CADatabaseQueryType<String,CADatabaseTypeDeclarationSearchType>
public final class CADBQTypeDeclsSearch
extends Object
implements CADatabaseQueriesTypesType.TypeDeclarationsSearchType
Search for type declarations.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.io7m.cardant.database.api.CADatabaseQueriesTypesType
CADatabaseQueriesTypesType.TypeDeclarationGetMultipleType, CADatabaseQueriesTypesType.TypeDeclarationGetType, CADatabaseQueriesTypesType.TypeDeclarationPutType, CADatabaseQueriesTypesType.TypeDeclarationRemoveType, CADatabaseQueriesTypesType.TypeDeclarationsReferencingScalarType, CADatabaseQueriesTypesType.TypeDeclarationsSearchType, CADatabaseQueriesTypesType.TypeScalarGetType, CADatabaseQueriesTypesType.TypeScalarPutType, CADatabaseQueriesTypesType.TypeScalarRemoveType, CADatabaseQueriesTypesType.TypeScalarSearchType -
Field Summary
Fields inherited from interface com.io7m.cardant.database.api.CADatabaseQueriesType
EARLIEST -
Constructor Summary
ConstructorsConstructorDescriptionCADBQTypeDeclsSearch(com.io7m.cardant.database.postgres.internal.CADatabaseTransaction transaction) Construct a query. -
Method Summary
Modifier and TypeMethodDescriptionExecute the query.protected final Stringlocal(CAStringConstantType constant) protected CADatabaseTypeDeclarationSearchTypestatic CADBQueryProviderTypeprovider()protected final voidsetAttribute(CAStringConstantType name, String value) protected final com.io7m.cardant.database.postgres.internal.CADatabaseTransactionprotected final io.opentelemetry.api.trace.SpanMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.io7m.cardant.database.api.CADatabaseQueryType
execute
-
Constructor Details
-
CADBQTypeDeclsSearch
public CADBQTypeDeclsSearch(com.io7m.cardant.database.postgres.internal.CADatabaseTransaction transaction) Construct a query.- Parameters:
transaction- The transaction
-
-
Method Details
-
provider
- Returns:
- A query provider
-
onExecute
-
transactionSpan
protected final io.opentelemetry.api.trace.Span transactionSpan() -
transaction
protected final com.io7m.cardant.database.postgres.internal.CADatabaseTransaction transaction() -
local
-
setAttribute
-
execute
public final CADatabaseTypeDeclarationSearchType execute(String parameters) throws CADatabaseException Description copied from interface:CADatabaseQueryTypeExecute the query.- Specified by:
executein interfaceCADatabaseQueryType<P,R> - Parameters:
parameters- The parameters- Returns:
- The results
- Throws:
CADatabaseException- On errors
-
attributes
-