public class ConstStringSource extends LiteralValueSource
ConstStringSource returns a constant string for all documents| Modifier and Type | Field and Description |
|---|---|
static String |
NAME |
bytesRef, hash, string| Constructor and Description |
|---|
ConstStringSource(String string) |
| Modifier and Type | Method and Description |
|---|---|
String |
description() |
boolean |
equals(Object o) |
protected String |
name() |
getValue, getValues, hashCodecreateWeight, getSortField, newContext, toStringpublic static final String NAME
public ConstStringSource(String string)
public String description()
description in class LiteralValueSourceprotected String name()
public boolean equals(Object o)
equals in class LiteralValueSourceCopyright © 2000-2016 Apache Software Foundation. All Rights Reserved.