public class DocumentAssert extends Object
Constructor and Description |
---|
DocumentAssert() |
public static List<String> assertScopes(String scope, IngestFieldValue value, String... expected)
public static IngestFieldValue assertSingleValueOrNull(IngestDocument doc, String field)
public static IngestFieldValue assertSingleValueOrNull(IngestField f)
public static IngestFieldValue assertSingleValue(IngestDocument doc, String field)
public static IngestFieldValue assertSingleValue(IngestField f)
public static SearchFieldValue assertSingleValue(SearchDocument doc, String field)
public static SearchFieldValue assertSingleValue(SearchField f)
public static void assertFieldValueContains(SearchDocument doc, String field, String value)
public static void assertFieldValueContains(IngestDocument doc, String field, String value)
public static void assertFieldValue(SearchDocument doc, String field, Object value)
doc
- doc to checkfield
- field name to checkvalue
- value to check forpublic static void assertFieldValue(IngestDocument doc, String field, Object value)
doc
- doc to checkfield
- field name to checkvalue
- value to check forpublic static void assertFieldValueList(IngestDocument doc, String field, Object... values)
public static void assertFieldValueList(IngestField field, Object... values)
public static void assertFieldValueList(SearchDocument doc, String field, Object... values)
public static void assertFieldValueList(SearchField field, Object... values)
@SafeVarargs public static <T> void assertFieldValueSet(IngestDocument doc, String field, T... values)
@SafeVarargs public static <T> void assertFieldValueSet(IngestField field, T... values)
@SafeVarargs public static <T> void assertFieldValueSet(SearchDocument doc, String field, T... values)
@SafeVarargs public static <T> void assertFieldValueSet(SearchField field, T... values)
Copyright © 2018 Attivio, Inc. All Rights Reserved.
PATENT NOTICE: Attivio, Inc. Software Related Patents. With respect to the Attivio software product(s) being used, the following patents apply: Querying Joined Data Within A Search Engine Index: United States Patent No.(s): 8,073,840. Ordered Processing of Groups of Messages: U.S. Patent No.(s) 8,495,656. Signal processing approach to sentiment analysis for entities in documents: U.S. Patent No.(s) 8,725,494. Other U.S. and International Patents Pending.