public enum CuiCollector extends Enum<CuiCollector>
Modifier and Type | Class and Description |
---|---|
static class |
CuiCollector.CuiCollectorEngine
Analysis Engine that stores collections of cuis by document id in the CuiCollector
|
Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and Description |
---|---|
Map<String,Long> |
getCuiCounts() |
Map<String,Long> |
getCuiCounts(String documentId) |
Collection<String> |
getCuis() |
Collection<String> |
getCuis(String documentId) |
Collection<String> |
getDocumentIds() |
static CuiCollector |
getInstance() |
String |
toString() |
static CuiCollector |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CuiCollector[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CuiCollector INSTANCE
public static CuiCollector[] values()
for (CuiCollector c : CuiCollector.values()) System.out.println(c);
public static CuiCollector valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static CuiCollector getInstance()
public Collection<String> getDocumentIds()
public Collection<String> getCuis(String documentId)
documentId
- id for some documentpublic Map<String,Long> getCuiCounts(String documentId)
documentId
- id for some documentpublic Collection<String> getCuis()
public Map<String,Long> getCuiCounts()
public String toString()
toString
in class Enum<CuiCollector>
Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.