org.apache.jackrabbit.core.query.lucene
Class TermFactory
java.lang.Object
org.apache.jackrabbit.core.query.lucene.TermFactory
public final class TermFactory
- extends Object
TermFactory is a factory for Term instances with
frequently used field names.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TermFactory
public TermFactory()
createUUIDTerm
public static org.apache.lucene.index.Term createUUIDTerm(String id)
- Creates a Term with the given
id value and with a field
name FieldNames.UUID.
- Parameters:
id - the id.
- Returns:
- the UUIDTerm.
Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.