public abstract class LookupTable extends Object
LookupCache
and a LookupDataAdapter
, which both have their own lifecycle.
Multiple lookup tables can use the same caches and adapters.
Modifier and Type | Class and Description |
---|---|
static class |
LookupTable.Builder |
Constructor and Description |
---|
LookupTable() |
Modifier and Type | Method and Description |
---|---|
static LookupTable.Builder |
builder() |
abstract LookupCache |
cache() |
abstract LookupDataAdapter |
dataAdapter() |
abstract LookupDefaultMultiValue |
defaultMultiValue() |
abstract LookupDefaultSingleValue |
defaultSingleValue() |
abstract String |
description() |
String |
error() |
abstract String |
id() |
LookupResult |
lookup(Object key) |
abstract String |
name() |
abstract String |
title() |
public abstract String title()
public abstract String description()
public abstract String name()
public abstract LookupCache cache()
public abstract LookupDataAdapter dataAdapter()
public abstract LookupDefaultSingleValue defaultSingleValue()
public abstract LookupDefaultMultiValue defaultMultiValue()
public static LookupTable.Builder builder()
@Nullable public LookupResult lookup(@Nonnull Object key)
Copyright © 2012–2018 Graylog, Inc.. All rights reserved.