Class TermFactory
- java.lang.Object
-
- org.apache.jackrabbit.core.query.lucene.TermFactory
-
public final class TermFactory extends Object
TermFactory
is a factory forTerm
instances with frequently used field names.
-
-
Constructor Summary
Constructors Constructor Description TermFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Term
createUUIDTerm(String id)
Creates a Term with the givenid
value and with a field nameFieldNames.UUID
.
-
-
-
Method Detail
-
createUUIDTerm
public static Term createUUIDTerm(String id)
Creates a Term with the givenid
value and with a field nameFieldNames.UUID
.- Parameters:
id
- the id.- Returns:
- the UUIDTerm.
-
-