public interface QueryEntityResolver extends NamedTypeResolver
MetadataKeys when building a DSQL query
and the dynamic MetadataType resolution each of those entities.| Modifier and Type | Method and Description |
|---|---|
Set<MetadataKey> |
getEntityKeys(MetadataContext context)
Resolves the
Set of entities that can be queried in the DSQL operation that uses this resolver,
representing them as a Set of MetadataKey. |
org.mule.metadata.api.model.MetadataType |
getEntityMetadata(MetadataContext context,
String key)
Given a
String representing the id of one of the entities, resolves the corresponding entity MetadataType, |
default String |
getResolverName()
This is the name of the TypeResolver.
|
getCategoryNamedefault String getResolverName()
InputTypeResolver and
OutputTypeResolver which are used together.getResolverName in interface NamedTypeResolverSet<MetadataKey> getEntityKeys(MetadataContext context) throws MetadataResolvingException, ConnectionException
Set of entities that can be queried in the DSQL operation that uses this resolver,
representing them as a Set of MetadataKey.context - MetadataContext of the Metadata resolutionMetadataKey representing all the available entities that can be queried.MetadataResolvingException - if an error occurs during the MetadataKey building. See
FailureCode for possible MetadataResolvingException reasonsConnectionException - if an error occurs when using the connection provided by the MetadataContextorg.mule.metadata.api.model.MetadataType getEntityMetadata(MetadataContext context, String key) throws MetadataResolvingException, ConnectionException
String representing the id of one of the entities, resolves the corresponding entity MetadataType,context - MetadataContext of the Metadata resolutionkey - a String representing the type which's structure has to be resolvedMetadataType from the given MetadataResolvingException - if an error occurs during the MetadataType building. See
FailureCode for possible MetadataResolvingException reasonsConnectionException - if an error occurs when using the connection provided by the MetadataContextCopyright © 2017 MuleSoft, Inc.. All rights reserved.