public class AnnotatedFieldImpl extends FieldImpl implements AnnotatedField, Freezable<AnnotatedFieldImpl>
Modifier and Type | Class and Description |
---|---|
class |
AnnotatedFieldImpl.AnnotationsImpl |
Modifier and Type | Field and Description |
---|---|
protected static org.apache.logging.log4j.Logger |
logger |
contentStore, description, displayName, fieldName
Modifier and Type | Method and Description |
---|---|
Annotations |
annotations()
Get the annotations for this field.
|
AnnotatedFieldImpl |
freeze() |
Set<String> |
getNoForwardIndexAnnotations() |
nl.inl.blacklab.search.indexmetadata.AnnotationImpl |
getOrCreateAnnotation(String name) |
boolean |
hasLengthTokens() |
boolean |
hasPunctuationForwardIndex()
Checks if this field has a "punctuation" forward index, storing all the
intra-word characters (whitespace and punctuation) so we can build
concordances directly from the forward indices.
|
boolean |
hasTokenLengthDocValues()
Was the field that stores the length of this field in tokens
indexed with DocValues?
|
boolean |
hasXmlTags() |
boolean |
isFrozen() |
String |
offsetsField()
Get the Lucene field that contains character offsets (if any)
|
String |
tokenLengthField()
Returns the Lucene field that contains the length (in tokens) of this field,
or null if there is no such field.
|
String |
toString() |
description, displayName, equals, hasContentStore, hashCode, name, setDescription, setDisplayName
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
annotation, contentsFieldName, isDummyFieldToStoreLinkedDocuments, mainAnnotation
contentIdField, description, displayName, hasContentStore, name
ensureNotFrozen
public Annotations annotations()
AnnotatedField
annotations
in interface AnnotatedField
public boolean hasLengthTokens()
hasLengthTokens
in interface AnnotatedField
public String tokenLengthField()
tokenLengthField
in interface AnnotatedField
public boolean hasXmlTags()
hasXmlTags
in interface AnnotatedField
public boolean hasPunctuationForwardIndex()
hasPunctuationForwardIndex
in interface AnnotatedField
public nl.inl.blacklab.search.indexmetadata.AnnotationImpl getOrCreateAnnotation(String name)
public AnnotatedFieldImpl freeze()
freeze
in interface Freezable<AnnotatedFieldImpl>
public boolean isFrozen()
isFrozen
in interface Freezable<AnnotatedFieldImpl>
public String offsetsField()
Field
offsetsField
in interface Field
public boolean hasTokenLengthDocValues()
AnnotatedField
hasTokenLengthDocValues
in interface AnnotatedField
Copyright © 2020 Instituut voor Nederlandse Taal (INT). All rights reserved.