diff options
Diffstat (limited to 'container-search/src/main/java/com/yahoo/prelude/query/HasIndexItem.java')
-rw-r--r-- | container-search/src/main/java/com/yahoo/prelude/query/HasIndexItem.java | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/container-search/src/main/java/com/yahoo/prelude/query/HasIndexItem.java b/container-search/src/main/java/com/yahoo/prelude/query/HasIndexItem.java new file mode 100644 index 00000000000..2608e6ec58e --- /dev/null +++ b/container-search/src/main/java/com/yahoo/prelude/query/HasIndexItem.java @@ -0,0 +1,20 @@ +// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. +package com.yahoo.prelude.query; + +import edu.umd.cs.findbugs.annotations.NonNull; + + +/** + * An interface for items where it is useful to access an associated + * index name. + * + * @author <a href="mailto:steinar@yahoo-inc.com">Steinar Knutsen</a> + */ +public interface HasIndexItem { + + @NonNull + public String getIndexName(); + + public int getNumWords(); + +} |