org.apache.accumulo.examples.wikisearch.util
Class FieldIndexKeyParser

java.lang.Object
  extended by org.apache.accumulo.examples.wikisearch.util.BaseKeyParser
      extended by org.apache.accumulo.examples.wikisearch.util.KeyParser
          extended by org.apache.accumulo.examples.wikisearch.util.FieldIndexKeyParser

public class FieldIndexKeyParser
extends KeyParser


Field Summary
static String DELIMITER
           
 
Fields inherited from class org.apache.accumulo.examples.wikisearch.util.KeyParser
DATATYPE_FIELD, FIELDNAME_FIELD, SELECTOR_FIELD, UID_FIELD
 
Fields inherited from class org.apache.accumulo.examples.wikisearch.util.BaseKeyParser
COLUMN_FAMILY_FIELD, COLUMN_QUALIFIER_FIELD, key, keyFields, ROW_FIELD
 
Constructor Summary
FieldIndexKeyParser()
           
 
Method Summary
 BaseKeyParser duplicate()
           
 String getDataType()
           
 String getDataTypeUid()
           
 String getFieldName()
           
 String getFieldValue()
           
 String getSelector()
           
 String getUid()
           
 void parse(Key key)
          Parses a Key object into its constituent fields.
 
Methods inherited from class org.apache.accumulo.examples.wikisearch.util.BaseKeyParser
getColumnFamily, getColumnQualifier, getFieldNames, getFieldValue, getKey, getRow
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DELIMITER

public static final String DELIMITER
See Also:
Constant Field Values
Constructor Detail

FieldIndexKeyParser

public FieldIndexKeyParser()
Method Detail

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 KeyParser

duplicate

public BaseKeyParser duplicate()
Overrides:
duplicate in class KeyParser

getSelector

public String getSelector()
Overrides:
getSelector in class KeyParser

getDataType

public String getDataType()
Overrides:
getDataType in class KeyParser

getFieldName

public String getFieldName()
Overrides:
getFieldName in class KeyParser

getUid

public String getUid()
Overrides:
getUid in class KeyParser

getDataTypeUid

public String getDataTypeUid()
Overrides:
getDataTypeUid in class KeyParser

getFieldValue

public String getFieldValue()
Overrides:
getFieldValue in class KeyParser


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.