Interface SchemaObjectDefiner
- All Known Implementing Classes:
ComposableSchemaObjectDefiner
,IndexDefiner
,RegionDefiner
public interface SchemaObjectDefiner
The
SchemaObjectDefiner
interface defines a contract for implementing objects
that can reverse engineer a schema object instance back into a definition of the schema object.- Since:
- 2.0.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiondefault boolean
Determines whether this definer is able to define schema objects of the giventype
.default boolean
Determines whether this definer is able to define the givenschema object
instance.default boolean
canDefine
(SchemaObjectType schemaObjectType) Determines whether this definer is able to define schema objects of the givenenumerated schema object type
.Optional<? extends SchemaObjectDefinition>
default Set<SchemaObjectType>
Returns aSet
ofschema object types
definable by this definer.
-
Method Details
-
getSchemaObjectTypes
Returns aSet
ofschema object types
definable by this definer.- Returns:
- a
Set
ofschema object types
definable by this definer. - See Also:
-
canDefine
Determines whether this definer is able to define the givenschema object
instance.- Parameters:
schemaObject
-Object
to evaluate.- Returns:
- a boolean value indicating whether this definer is able to define
the given
schema object
instance. - See Also:
-
canDefine
Determines whether this definer is able to define schema objects of the giventype
.- Parameters:
schemaObjectType
-type
of theschema object
instance to evaluate.- Returns:
- a boolean value indicating whether this definer is able to define
schema objects
of the giventype
. - See Also:
-
canDefine
Determines whether this definer is able to define schema objects of the givenenumerated schema object type
.- Parameters:
schemaObjectType
-SchemaObjectType
to evaluate.- Returns:
- a boolean value indicating whether this handler is able to handle schema objects
of the given
enumerated schema object type
. - See Also:
-
define
- Parameters:
schemaObject
-schema object
to define.- Returns:
- an
Optional
definition
for the givenschema object
instance. - See Also:
-