SMILA (incubation) API documentation

org.eclipse.smila.search.lucene
Class IndexStructureAccess

java.lang.Object
  extended by org.eclipse.smila.search.utils.indexstructure.IndexStructureAccess
      extended by org.eclipse.smila.search.lucene.IndexStructureAccess

public class IndexStructureAccess
extends IndexStructureAccess

Author:
GSchmidt To change this generated comment go to Window>Preferences>Java>Code Generation>Code and Comments

Field Summary
 
Fields inherited from class org.eclipse.smila.search.utils.indexstructure.IndexStructureAccess
EXTENSION_POINT_NAME_INDEX_STRUCTURE_ACCESS
 
Constructor Summary
IndexStructureAccess()
           
 
Method Summary
 boolean dataTypeMatches(java.lang.String indexDataType, java.lang.String searchDataType)
          Determines whether a given index data type and search data type are compatible.
 DIndexStructure decode(org.w3c.dom.Element eIndexStructure)
           
 org.w3c.dom.Element encode(DIndexStructure dIndexStructure, org.w3c.dom.Element element)
           
 
Methods inherited from class org.eclipse.smila.search.utils.indexstructure.IndexStructureAccess
getInstance, getTypes, parseType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IndexStructureAccess

public IndexStructureAccess()
Method Detail

decode

public DIndexStructure decode(org.w3c.dom.Element eIndexStructure)
                       throws ISException
Specified by:
decode in class IndexStructureAccess
Throws:
ISException

encode

public org.w3c.dom.Element encode(DIndexStructure dIndexStructure,
                                  org.w3c.dom.Element element)
                           throws ISException
Specified by:
encode in class IndexStructureAccess
Throws:
ISException

dataTypeMatches

public boolean dataTypeMatches(java.lang.String indexDataType,
                               java.lang.String searchDataType)
Description copied from class: IndexStructureAccess
Determines whether a given index data type and search data type are compatible.

Specified by:
dataTypeMatches in class IndexStructureAccess
Parameters:
indexDataType - Data type in index structure.
searchDataType - Data type in simple search.
Returns:
true if the two types can be converted to each other, false otherwise

SMILA (incubation) API documentation