public class ConstStringSource extends LiteralValueSource
ConstStringSource
returns a constant string for all documentsModifier 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, hashCode
createWeight, getSortField, newContext, toString
public static final String NAME
public ConstStringSource(String string)
public String description()
description
in class LiteralValueSource
protected String name()
public boolean equals(Object o)
equals
in class LiteralValueSource
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.