org.apache.accumulo.examples.wikisearch.util
Class KeyParser
java.lang.Object
org.apache.accumulo.examples.wikisearch.util.BaseKeyParser
org.apache.accumulo.examples.wikisearch.util.KeyParser
- Direct Known Subclasses:
- FieldIndexKeyParser
public class KeyParser
- extends BaseKeyParser
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SELECTOR_FIELD
public static final String SELECTOR_FIELD
- See Also:
- Constant Field Values
DATATYPE_FIELD
public static final String DATATYPE_FIELD
- See Also:
- Constant Field Values
FIELDNAME_FIELD
public static final String FIELDNAME_FIELD
- See Also:
- Constant Field Values
UID_FIELD
public static final String UID_FIELD
- See Also:
- Constant Field Values
DELIMITER
public static final String DELIMITER
- See Also:
- Constant Field Values
KeyParser
public KeyParser()
parse
public void parse(Key key)
- Description copied from class:
BaseKeyParser
- Parses a Key object into its constituent fields. This method clears any prior values, so the object can be reused without requiring a new instantiation.
This default implementation makes the row, columnFamily, and columnQualifier available.
- Overrides:
parse
in class BaseKeyParser
duplicate
public BaseKeyParser duplicate()
- Overrides:
duplicate
in class BaseKeyParser
getSelector
public String getSelector()
getDataType
public String getDataType()
getFieldName
public String getFieldName()
getUid
public String getUid()
getDataTypeUid
public String getDataTypeUid()
getFieldValue
public String getFieldValue()
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.