net.conquiris.lucene.index
Class Terms

java.lang.Object
  extended by net.derquinse.common.base.NotInstantiable
      extended by net.conquiris.lucene.index.Terms

public final class Terms
extends net.derquinse.common.base.NotInstantiable

Term building support class.

Author:
Andres Rodriguez

Method Summary
static Function<Boolean,Term> booleanTermBuilder(String field)
          Creates a function from a value to a term.
static Function<Double,Term> doubleTermBuilder(String field)
          Creates a function from a value to a term.
static Function<Float,Term> floatTermBuilder(String field)
          Creates a function from a value to a term.
static Function<ReadableInstant,Term> instantTermBuilder(String field)
          Creates a function from a value to a term.
static Function<Integer,Term> intTermBuilder(String field)
          Creates a function from a value to a term.
static Function<Long,Term> longTermBuilder(String field)
          Creates a function from a value to a term.
static Function<String,Term> stringTermBuilder(String field)
          Creates a function from a value to a term.
static Term term(BooleanSchemaItem field, boolean value)
          Creates a term.
static Term term(DoubleSchemaItem field, double value)
          Creates a term.
static Term term(FloatSchemaItem field, float value)
          Creates a term.
static Term term(InstantSchemaItem field, ReadableInstant value)
          Creates a term.
static Term term(IntegerSchemaItem field, int value)
          Creates a term.
static Term term(LongSchemaItem field, long value)
          Creates a term.
static Term term(String field, boolean value)
          Creates a term.
static Term term(String field, double value)
          Creates a term.
static Term term(String field, float value)
          Creates a term.
static Term term(String field, int value)
          Creates a term.
static Term term(String field, long value)
          Creates a term.
static Term term(String field, ReadableInstant value)
          Creates a term.
static Term term(String field, String value)
          Creates a term.
static Term term(String field, UUID value)
          Creates a term.
static Term term(TextSchemaItem field, String value)
          Creates a term.
static Term term(UUIDSchemaItem field, UUID value)
          Creates a term.
static Function<Boolean,Term> termBuilder(BooleanSchemaItem field)
          Creates a function from a value to a term.
static Function<Double,Term> termBuilder(DoubleSchemaItem field)
          Creates a function from a value to a term.
static Function<Float,Term> termBuilder(FloatSchemaItem field)
          Creates a function from a value to a term.
static Function<ReadableInstant,Term> termBuilder(InstantSchemaItem field)
          Creates a function from a value to a term.
static Function<Integer,Term> termBuilder(IntegerSchemaItem field)
          Creates a function from a value to a term.
static Function<Long,Term> termBuilder(LongSchemaItem field)
          Creates a function from a value to a term.
static Function<String,Term> termBuilder(TextSchemaItem field)
          Creates a function from a value to a term.
static Function<UUID,Term> termBuilder(UUIDSchemaItem field)
          Creates a function from a value to a term.
static Function<UUID,Term> uuidTermBuilder(String field)
          Creates a function from a value to a term.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

term

public static Term term(String field,
                        String value)
Creates a term.


term

public static Term term(String field,
                        int value)
Creates a term.


term

public static Term term(String field,
                        long value)
Creates a term.


term

public static Term term(String field,
                        float value)
Creates a term.


term

public static Term term(String field,
                        double value)
Creates a term.


term

public static Term term(String field,
                        boolean value)
Creates a term.


term

public static Term term(String field,
                        UUID value)
Creates a term.


term

public static Term term(String field,
                        ReadableInstant value)
Creates a term.


term

public static Term term(TextSchemaItem field,
                        String value)
Creates a term.


term

public static Term term(IntegerSchemaItem field,
                        int value)
Creates a term.


term

public static Term term(LongSchemaItem field,
                        long value)
Creates a term.


term

public static Term term(FloatSchemaItem field,
                        float value)
Creates a term.


term

public static Term term(DoubleSchemaItem field,
                        double value)
Creates a term.


term

public static Term term(BooleanSchemaItem field,
                        boolean value)
Creates a term.


term

public static Term term(UUIDSchemaItem field,
                        UUID value)
Creates a term.


term

public static Term term(InstantSchemaItem field,
                        ReadableInstant value)
Creates a term.


stringTermBuilder

public static Function<String,Term> stringTermBuilder(String field)
Creates a function from a value to a term.


intTermBuilder

public static Function<Integer,Term> intTermBuilder(String field)
Creates a function from a value to a term.


longTermBuilder

public static Function<Long,Term> longTermBuilder(String field)
Creates a function from a value to a term.


floatTermBuilder

public static Function<Float,Term> floatTermBuilder(String field)
Creates a function from a value to a term.


doubleTermBuilder

public static Function<Double,Term> doubleTermBuilder(String field)
Creates a function from a value to a term.


booleanTermBuilder

public static Function<Boolean,Term> booleanTermBuilder(String field)
Creates a function from a value to a term.


instantTermBuilder

public static Function<ReadableInstant,Term> instantTermBuilder(String field)
Creates a function from a value to a term.


uuidTermBuilder

public static Function<UUID,Term> uuidTermBuilder(String field)
Creates a function from a value to a term.


termBuilder

public static Function<String,Term> termBuilder(TextSchemaItem field)
Creates a function from a value to a term.


termBuilder

public static Function<Integer,Term> termBuilder(IntegerSchemaItem field)
Creates a function from a value to a term.


termBuilder

public static Function<Long,Term> termBuilder(LongSchemaItem field)
Creates a function from a value to a term.


termBuilder

public static Function<Float,Term> termBuilder(FloatSchemaItem field)
Creates a function from a value to a term.


termBuilder

public static Function<Double,Term> termBuilder(DoubleSchemaItem field)
Creates a function from a value to a term.


termBuilder

public static Function<Boolean,Term> termBuilder(BooleanSchemaItem field)
Creates a function from a value to a term.


termBuilder

public static Function<ReadableInstant,Term> termBuilder(InstantSchemaItem field)
Creates a function from a value to a term.


termBuilder

public static Function<UUID,Term> termBuilder(UUIDSchemaItem field)
Creates a function from a value to a term.



Copyright © 2012 Derquinse Projects.. All Rights Reserved.