Package org.graylog2.lookup
Class LookupTable
java.lang.Object
org.graylog2.lookup.LookupTable
A LookupTable references a
LookupCache
and a LookupDataAdapter
, which both have their own lifecycle.
Multiple lookup tables can use the same caches and adapters.
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddStringList
(Object key, List<String> value, boolean keepDuplicates) static LookupTable.Builder
builder()
abstract LookupCache
cache()
void
abstract LookupDataAdapter
abstract LookupDefaultMultiValue
abstract LookupDefaultSingleValue
abstract String
error()
abstract String
id()
abstract String
name()
removeStringList
(Object key, List<String> value) setStringList
(Object key, List<String> value) abstract String
title()
-
Constructor Details
-
LookupTable
public LookupTable()
-
-
Method Details
-
id
-
title
-
description
-
name
-
cache
-
dataAdapter
-
defaultSingleValue
-
defaultMultiValue
-
builder
-
error
-
lookup
-
setValue
-
setStringList
-
addStringList
public LookupResult addStringList(@Nonnull Object key, @Nonnull List<String> value, boolean keepDuplicates) -
removeStringList
-
clearKey
-