Class ContentPropertyIndexSchema
java.lang.Object
com.atlassian.confluence.plugins.contentproperty.index.schema.ContentPropertyIndexSchema
- All Implemented Interfaces:
FieldMappingsProvider
Read-only view of content property index schema.
- Since:
- 5.7
-
Constructor Summary
ConstructorDescriptionContentPropertyIndexSchema
(com.google.common.collect.Multimap<String, ContentPropertySchemaField> schema) -
Method Summary
Modifier and TypeMethodDescriptioncom.google.common.collect.Multimap<String,
ContentPropertySchemaField> Returns content property index schema as a map (content property key) => (schema fields).Returns all content property keys which have an index schema associated with them.Returns a collection of schema fields associated with a given content property key.
-
Constructor Details
-
ContentPropertyIndexSchema
public ContentPropertyIndexSchema(com.google.common.collect.Multimap<String, ContentPropertySchemaField> schema)
-
-
Method Details
-
getSchemaFieldsByKey
Returns a collection of schema fields associated with a given content property key. -
getContentPropertyKeys
Returns all content property keys which have an index schema associated with them. -
asMultimap
Returns content property index schema as a map (content property key) => (schema fields). -
getFieldMappings
- Specified by:
getFieldMappings
in interfaceFieldMappingsProvider
- Returns:
- field mappings that will be added onto the search index
-