com.hp.hpl.guess
Class Schema

java.lang.Object
  extended bycom.hp.hpl.guess.Schema
Direct Known Subclasses:
EdgeSchema, NodeSchema

public abstract class Schema
extends Object


Constructor Summary
Schema()
           
 
Method Summary
 Object __getattr__(String fieldName)
           
 PyObject __rcontained__(PyObject other)
           
 PyObject __rcontains__(PyObject other)
           
 PyObject __rexact__(PyObject other)
           
 PyObject __roverlaps__(PyObject other)
           
 void addField(Field f)
           
 void addFieldToSL(Field f)
           
 Collection allFields()
           
abstract  void createBooleanField(String fieldName, boolean def)
           
abstract  void createDoubleField(String fieldName, double def)
           
 void createField(String fieldName, Object def)
           
abstract  void createIntegerField(String fieldName, int def)
           
abstract  void createStringField(String fieldName, String def)
           
 int fieldCount()
           
 Collection fieldNames()
           
 Iterator fields()
           
 Field getField(String fieldName)
           
 Enumeration getFields()
           
 Field getRangeField()
           
 com.hp.hpl.guess.Schema.SimplePair parseLH(PyObject other)
           
 List parseRange(String range)
           
 void rangeIndexCheck()
           
 void rebuildRangeIndex()
           
 void setRangeField(Field rf)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Schema

public Schema()
Method Detail

fieldNames

public Collection fieldNames()

allFields

public Collection allFields()

fields

public Iterator fields()

addField

public void addField(Field f)

getField

public Field getField(String fieldName)

__getattr__

public Object __getattr__(String fieldName)

addFieldToSL

public void addFieldToSL(Field f)

getFields

public Enumeration getFields()

fieldCount

public int fieldCount()

createIntegerField

public abstract void createIntegerField(String fieldName,
                                        int def)

createDoubleField

public abstract void createDoubleField(String fieldName,
                                       double def)

createBooleanField

public abstract void createBooleanField(String fieldName,
                                        boolean def)

createStringField

public abstract void createStringField(String fieldName,
                                       String def)

createField

public void createField(String fieldName,
                        Object def)

setRangeField

public void setRangeField(Field rf)

rebuildRangeIndex

public void rebuildRangeIndex()

parseRange

public List parseRange(String range)

getRangeField

public Field getRangeField()

rangeIndexCheck

public void rangeIndexCheck()

parseLH

public com.hp.hpl.guess.Schema.SimplePair parseLH(PyObject other)

__rcontains__

public PyObject __rcontains__(PyObject other)

__rexact__

public PyObject __rexact__(PyObject other)

__rcontained__

public PyObject __rcontained__(PyObject other)

__roverlaps__

public PyObject __roverlaps__(PyObject other)