datahub library
Classes
- $Jwk
- $OidcConfiguration
- $OidcResponse
- $TaskInvocation
- AllOfRouteMatcher
- AnyOfRouteMatcher
- AnyRouteMatcher
- ApiEndpoint
- ApiEndpointDelegate
- ApiMiddleware
- ApiMiddlewareDelegate
- ApiNode
- Building-block for defining the structure of APIs using ApiService.
- ApiRequest
- ApiRequestExceptionResponse
- ApiResponse
- Defines a response to a api request.
- ApiRoute
- ApiService
- A Service that serves HTTP-Requests.
- ApplicationHost
- Argon2Id
- AsyncMetricCollector
-
AuthenticationMiddleware<
T extends Session> - BasicAuth
- BasicAuthMiddleware
- BasicAuthProvider
- ByteStreamResponse
- CompareFilter
- Component
-
Config<
T> - ConfigPath
- Represents a config value path.
- Configuration
- Context
- CounterMetric
- A counter metric for use with TelemetryService.
- Data
- Annotation for data classes.
-
DataBean<
T extends DataObject> - Contains all "static" properties of a DataObject.
- DataCodec
-
DataField<
Data, FieldType> -
DataFieldConstraint<
FieldType> -
DataObject<
T> -
DataRepository<
T extends DataObject> - An interface for Components providing CRUD functionality for a DataObject.
- DebugResponse
- DiscardTraceExporter
- TraceExporter implementation that discards traces.
- EmptyFilter
- EmptyResponse
-
EnumConstraint<
FieldType extends Enum?> - Event
- ExceptionEvent
- Expression
- ExpressionSort
- FileResponse
- Filter
- Representing filter arguments in a uniform, abstract way.
- FilterGroup
-
Joins multiple Filter elements into a group using a
FilterGroupType. -
Find<
T> - GaugeMetric
- A gauge metric for use with TelemetryService.
- GaugeSeries
- Geometry
- GeometryCollection
- HeaderRouteMatcher
- HeadResponse
- HistogramMetric
- A histogram metric for use with TelemetryService.
- HttpAuth
- HttpClient
- HttpFormData
- HttpHeaders
- HttpRequest
- HttpResponse
- HttpServer
- Id
- JsonDataCodec
- JsonKey
- JsonResponse
- Jwk
- Json Web Key
- Jwt
- Json Web Token
- JwtAuthMiddleware
- JwtAuthProvider
- KeyCache
- This service provides a centralized cache for public keys.
- KeyService
- LineString
- LocalSpan
-
Lockable<
T> - LogExporter
- LogHelper
- LogMessage
-
MaxLengthConstraint<
FieldType extends String?> - Meta
- Annotation for providing meta information to a DataObject class or fields.
- MetaData
- Base class for annotations providing meta information to a DataObject class or fields.
- MethodRouteMatcher
- Metric
- MetricCollector
- MetricSample
- MetricsExporter
- Mime
-
MinLengthConstraint<
FieldType extends String?> - MultiLineString
- MultiPoint
- MultiPolygon
- OidcAuthMiddleware
- OidcClient
- OidcConfiguration
- OidcResponse
- OidcSession
- OpenTelemetryLogExporter
- OpenTelemetryTraceExporter
-
PathConfig<
T> - Point
- Polygon
-
Pool<
T> - PrometheusExporter
-
RangeConstraint<
FieldType extends num?> - RawResponse
-
RegExpConstraint<
FieldType extends String?> -
RelationId<
T> - ResourceEndpoint
- RestClient
- RestResponse
- RouteMatcher
- RoutePattern
- Represents a route pattern against which request paths will be matched.
- RoutePatternMatch
- Represents a path which has been matched with a RoutePattern.
- SampleGroup
- Scope
- Service
- ServiceHost
-
ServiceInstance<
TService extends Service> - ServiceRegistry
- Session
- Sort
- Representing sort arguments in a uniform, abstract way.
- SortGroup
- Span
- SpanId
- StdoutLogExporter
-
StreamListenHook<
T> - SyncMetricCollector
-
TaskExecutor<
T extends DataObject> -
TaskHandle<
T> - TaskInvocation
- TaskManager
- TaskManagerService
- TaskProgress
- Telemetry
- Internal service for collecting and exposing application metrics.
- TelemetryService
- TextResponse
- Token
- TokenAuth
- TokenAuthMiddleware
- TokenAuthProvider
- TraceExporter
- TraceId
- Tracer
-
ValueConfig<
T> - ValueExpression
-
ValueSemaphore<
T>
Enums
Extensions
Constants
Functions
-
addBase64Padding(
String value) → String -
always(
dynamic _) → bool -
base64UintDecode(
String base64) → BigInt - Decode unsigned BigInt value from base64 with or without padding.
-
base64UintEncode(
BigInt number) → String - Encode unsigned BigInt value as base64url without padding.
-
earliest(
DateTime a, DateTime b) → DateTime -
everyCombination<
T> (Iterable< Iterable< lists) → Iterable<T> >Iterable< T> > -
firstUpper(
String input) → String -
getHttpStatus(
int statusCode) → String -
isLowercase(
int ascii) → bool -
isNumber(
int ascii) → bool -
isUppercase(
int ascii) → bool -
latest(
DateTime a, DateTime b) → DateTime -
logFmtEncode(
Map< String, String> values) → String -
pass<
T> (T e) → T -
randomBytes(
int length) → Iterable< int> -
randomHexId(
int parts) → String -
runApp(
List< Component> components, {List<String> arguments = const [], Map<String, dynamic> config = const {}}) → Future<void> -
splitWords(
String input) → Iterable< String> -
stripBase64Padding(
String value) → String -
toNamingConvention(
String input, NamingConvention convention) → String -
uuid(
) → String
Typedefs
-
CompoundDecoder<
C, T> = C Function(dynamic value, Decoder< T> encoder, {String? name}) -
CompoundEncoder<
C, T> = dynamic Function(C value, Encoder< T> encoder) -
Decoder<
T> = T Function(dynamic value, {String? name}) -
Encoder<
T> = dynamic Function(T value) -
HttpRequestHandler
= Future<
HttpResponse> Function(HttpRequest) -
MiddlewareRequestHandler<
T> = FutureOr< T> Function(ApiRequest request, RequestHandler<ApiResponse> handler) -
RequestHandler<
T> = FutureOr< T> Function(ApiRequest request) -
TaskDelegate<
T> = Future< void> Function(TaskProgress progress, T params) -
Test<
T> = bool Function(T e)
Exceptions / Errors
- ApiError
- Base error for when DataHub code APIs are used incorrectly by user code.
- ApiException
- Base exception for when things go wrong at runtime inside the DataHub API framework.
- ApiRequestException
- An exception that can explicitly be transformed into an ApiResponse using toResponse.
- CodecException
- ConfigException
- ConfigPathException
- ConfigTypeException
- MissingIdFieldError
- TypeMismatchException
- UnsupportedExpressionError
- ValidationException