Spring Data for VMware GemFire
Class ComposableSchemaObjectDefiner
java.lang.Object
org.springframework.data.gemfire.config.schema.support.ComposableSchemaObjectDefiner
- All Implemented Interfaces:
Iterable<SchemaObjectDefiner>,SchemaObjectDefiner
public final class ComposableSchemaObjectDefiner
extends Object
implements SchemaObjectDefiner, Iterable<SchemaObjectDefiner>
ComposableSchemaObjectDefiner is an implementation of SchemaObjectDefiner
as well as a composition of SchemaObjectInstanceHandlers composed
using the Composite Software Design Pattern.- Since:
- 2.0.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic SchemaObjectDefinercompose(Iterable<SchemaObjectDefiner> schemaObjectDefiners) static SchemaObjectDefinercompose(SchemaObjectDefiner... schemaObjectDefiners) Optional<? extends SchemaObjectDefinition>Returns aSetofschema object typesdefinable by this definer.iterator()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface org.springframework.data.gemfire.config.schema.SchemaObjectDefiner
canDefine, canDefine, canDefine
-
Method Details
-
compose
-
compose
@Nullable public static SchemaObjectDefiner compose(Iterable<SchemaObjectDefiner> schemaObjectDefiners) -
getSchemaObjectTypes
Description copied from interface:SchemaObjectDefinerReturns aSetofschema object typesdefinable by this definer.- Specified by:
getSchemaObjectTypesin interfaceSchemaObjectDefiner- Returns:
- a
Setofschema object typesdefinable by this definer. - See Also:
-
define
Description copied from interface:SchemaObjectDefiner- Specified by:
definein interfaceSchemaObjectDefiner- Parameters:
schemaObject-schema objectto define.- Returns:
- an
Optionaldefinitionfor the givenschema objectinstance. - See Also:
-
iterator
- Specified by:
iteratorin interfaceIterable<SchemaObjectDefiner>
-