public final class MappingParameters extends Object
Field or
InnerField annotation.| Modifier and Type | Method and Description |
|---|---|
static MappingParameters |
from(Annotation annotation)
extracts the mapping parameters from the relevant annotations.
|
boolean |
isStore() |
void |
writeTypeAndParametersTo(org.elasticsearch.common.xcontent.XContentBuilder builder)
writes the different fields to the builder.
|
public static MappingParameters from(Annotation annotation)
annotation - must not be null.public boolean isStore()
public void writeTypeAndParametersTo(org.elasticsearch.common.xcontent.XContentBuilder builder)
throws IOException
builder - must not be null.IOExceptionCopyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.