public interface IndexMetadata extends Freezable<IndexMetadata>
Modifier and Type | Method and Description |
---|---|
default AnnotatedField |
annotatedField(String name) |
AnnotatedFields |
annotatedFields() |
boolean |
contentViewable()
Is the content freely viewable by all users, or is it restricted?
|
String |
description()
Get a description of the index, if specified
|
String |
displayName()
Get the display name for the index.
|
String |
documentFormat()
What format(s) is/are the documents in?
This is in the form of a format identifier as understood
by the DocumentFormats class (either an abbreviation or a
(qualified) class name).
|
String |
indexBlackLabBuildTime()
When was the BlackLab.jar used for indexing built?
|
String |
indexBlackLabVersion()
When was the BlackLab.jar used for indexing built?
|
String |
indexFormat()
What version of the index format is this?
|
boolean |
isNewIndex()
Is this a new, empty index?
An empty index is one that doesn't have a main contents field yet,
or has a main contents field but no indexed tokens yet.
|
default AnnotatedField |
mainAnnotatedField() |
default MetadataField |
metadataField(String name) |
MetadataFields |
metadataFields() |
default boolean |
subannotationsStoredWithParent() |
TextDirection |
textDirection()
What's the text direction of this corpus?
|
String |
timeCreated()
When was this index created?
|
String |
timeModified()
When was this index last modified?
|
long |
tokenCount()
How many tokens are in the index?
|
ensureNotFrozen, freeze, isFrozen
AnnotatedFields annotatedFields()
default AnnotatedField mainAnnotatedField()
default AnnotatedField annotatedField(String name)
MetadataFields metadataFields()
default MetadataField metadataField(String name)
String displayName()
String description()
boolean contentViewable()
TextDirection textDirection()
String documentFormat()
String indexFormat()
String timeCreated()
String timeModified()
String indexBlackLabBuildTime()
String indexBlackLabVersion()
long tokenCount()
boolean isNewIndex()
default boolean subannotationsStoredWithParent()
Copyright © 2020 Instituut voor Nederlandse Taal (INT). All rights reserved.