public final class IndexSchemaObjectFieldDefinitionHelper extends Object
Constructor and Description |
---|
IndexSchemaObjectFieldDefinitionHelper(IndexSchemaContext schemaContext) |
Modifier and Type | Method and Description |
---|---|
IndexObjectFieldAccessor |
createAccessor() |
IndexSchemaContext |
getSchemaContext() |
void |
initialize(IndexObjectFieldAccessor delegate)
Initialize the field definition, enabling writes to an underlying field.
|
public IndexSchemaObjectFieldDefinitionHelper(IndexSchemaContext schemaContext)
public IndexSchemaContext getSchemaContext()
public IndexObjectFieldAccessor createAccessor()
initialized
) accessorpublic void initialize(IndexObjectFieldAccessor delegate)
This method may or may not be called during bootstrap; if it isn't called, writes triggered by the mapper through the accessor won't have any effect.
delegate
- The delegate to use when writing to the accessor returned by createAccessor()
.Copyright © 2006-2018 Red Hat, Inc. and others. Licensed under the GNU Lesser General Public License (LGPL), version 2.1 or later.