public interface CollectionIndexDefinition
| Modifier and Type | Method and Description |
|---|---|
CollectionDefinition |
getCollectionDefinition()
Returns the collection definition.
|
Type |
getType()
Returns the collection index type.
|
AnyMappingDefinition |
toAnyMappingDefinition()
|
CompositionDefinition |
toCompositeDefinition()
If the index type returned by
getType() is a
CompositeType, then the composite
index definition for the collection index is returned;
otherwise, IllegalStateException is thrown. |
EntityDefinition |
toEntityDefinition()
If the index type returned by
getType() is an
EntityType, then the entity
definition for the collection index is returned;
otherwise, IllegalStateException is thrown. |
CollectionDefinition getCollectionDefinition()
Returns the collection definition.
Type getType()
Returns the collection index type.
EntityDefinition toEntityDefinition()
If the index type returned by getType() is an
EntityType, then the entity
definition for the collection index is returned;
otherwise, IllegalStateException is thrown.
IllegalStateException - if the collection index type
returned by getType() is not of type
EntityType.CompositionDefinition toCompositeDefinition()
If the index type returned by getType() is a
CompositeType, then the composite
index definition for the collection index is returned;
otherwise, IllegalStateException is thrown.
IllegalStateException - if the collection index type
returned by getType() is not of type
CompositeType.AnyMappingDefinition toAnyMappingDefinition()
If the index type returned by getType() is an
AnyType, then the any mapping
definition for the collection index is returned;
otherwise, IllegalStateException is thrown.
IllegalStateException - if the collection index type
returned by getType() is not of type
AnyType.Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.