public interface ExportableRule extends ShardingSphereRule
| Modifier and Type | Method and Description |
|---|---|
default boolean |
containExportableKey(Collection<String> keys)
Whether the current rule contains the specified key.
|
default Map<String,Object> |
export(Collection<String> keys)
Export data by specified key.
|
default Optional<Object> |
export(String key)
Export data by specified key.
|
Map<String,Supplier<Object>> |
getExportedMethods()
The methods that the rule can supply.
|
getTypeMap<String,Supplier<Object>> getExportedMethods()
default Map<String,Object> export(Collection<String> keys)
keys - specified keysdefault Optional<Object> export(String key)
key - specified keydefault boolean containExportableKey(Collection<String> keys)
keys - specified keysCopyright © 2022 The Apache Software Foundation. All rights reserved.