public static class TableAdminManager.TableProviderAPIHelper extends Object
Constructor and Description |
---|
TableProviderAPIHelper() |
Modifier and Type | Method and Description |
---|---|
static MappingType |
addFilter(MappingType mappingType,
String predicateFilter,
String formatter) |
static ExternalServerConnectionType.Mappings |
addMapping(ExternalServerConnectionType.Mappings mappings,
String selector,
String formatter)
This will add a mapping to a Mappings object.
|
static ExternalServerConnectionType.Mappings |
addMapping(ExternalServerConnectionType.Mappings mappings,
String selector,
String formatter,
boolean ignore)
This will add a mapping to a Mappings object.
|
static ExternalServerConnectionType.Parameters |
addParameter(ExternalServerConnectionType.Parameters parameters,
String key,
String value)
This will add a parameter to a Parameters object.
|
public static ExternalServerConnectionType.Mappings addMapping(ExternalServerConnectionType.Mappings mappings, String selector, String formatter)
mappings
- Existing mappings, or null to have one created for you.selector
- Selector for the mapping to be addedformatter
- Formatter for the mapping to be addedpublic static ExternalServerConnectionType.Mappings addMapping(ExternalServerConnectionType.Mappings mappings, String selector, String formatter, boolean ignore)
mappings
- the existing mappings, or null to have one created for you.selector
- the selector for the mapping to be added.formatter
- the formatter for the mapping to be addedignore
- if true, will not catalog the tables that match this mapping.ExternalServerConnectionType.Mappings
after adding the new mapping based on input parameters.public static MappingType addFilter(MappingType mappingType, String predicateFilter, String formatter)
public static ExternalServerConnectionType.Parameters addParameter(ExternalServerConnectionType.Parameters parameters, String key, String value)
parameters
- Existing parameters, or null to have one created for you.key
- Key of this parametervalue
- Value of this parameterCopyright © 2015–2019 Cloud Software Group, Inc.. All rights reserved.