edu.wpi.cs.dsrg.xmldb.xat.common.operator.specialoperator.function
Class FunLEXICOGRAPHICALORDER

java.lang.Object
  |
  +--edu.wpi.cs.dsrg.xmldb.xat.common.operator.XATPropertiesImp
        |
        +--edu.wpi.cs.dsrg.xmldb.xat.common.operator.XATQueryObjectImp
              |
              +--edu.wpi.cs.dsrg.xmldb.xat.common.operator.XATOperatorImp
                    |
                    +--edu.wpi.cs.dsrg.xmldb.xat.common.operator.specialoperator.function.FunctionImp
                          |
                          +--edu.wpi.cs.dsrg.xmldb.xat.common.operator.specialoperator.function.FunLEXICOGRAPHICALORDER

public class FunLEXICOGRAPHICALORDER
extends FunctionImp

This function uses two static buffers to determine midpoint values, therefore, if this code is used within recursive calls, it will be necessary to call this function with "reset" as the parameter in order to zero out the static strings.

Since:
1.0
See Also:
Serialized Form

Fields inherited from class edu.wpi.cs.dsrg.xmldb.xat.common.operator.specialoperator.function.FunctionImp
oaParams, sName
 
Fields inherited from class edu.wpi.cs.dsrg.xmldb.xat.common.operator.XATOperatorImp
columnsFiltered, outputColumnName, xnodOwner, xtabOutput
 
Fields inherited from class edu.wpi.cs.dsrg.xmldb.xat.common.operator.XATQueryObjectImp
stats, statsPresent
 
Constructor Summary
FunLEXICOGRAPHICALORDER()
           
 
Method Summary
 void execute()
          Generates Lexicographical keys.
 java.lang.String findMedianOrder(java.lang.String lowEnd, java.lang.String highEnd)
          Finds the median order between two key values.
 java.lang.String incrementBuff(java.lang.String inBuff, double distance)
          Incerments the buffer.
 
Methods inherited from class edu.wpi.cs.dsrg.xmldb.xat.common.operator.specialoperator.function.FunctionImp
getName, getParams, getSources, setName, setParams, toString
 
Methods inherited from class edu.wpi.cs.dsrg.xmldb.xat.common.operator.XATOperatorImp
clone, getColumnsFiltered, getNode, getOutput, getOutputColumnName, getOutputDataSource, getOutputDataSources, getPrimaryDataSource, getPrimarySource, setDefaultProperties, setNode, setOutput, setOutputColumnName, setProperty
 
Methods inherited from class edu.wpi.cs.dsrg.xmldb.xat.common.operator.XATQueryObjectImp
addStatistic, compareTo, getStatistics, isValidStatistic, setDefaultStatistics
 
Methods inherited from class edu.wpi.cs.dsrg.xmldb.xat.common.operator.XATPropertiesImp
addProperty, getProperties, getProperty, isValidPropertyName, setNewPropertyValue
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FunLEXICOGRAPHICALORDER

public FunLEXICOGRAPHICALORDER()
Method Detail

execute

public void execute()
Generates Lexicographical keys.
Overrides:
execute in class FunctionImp
Since:
1.0

findMedianOrder

public java.lang.String findMedianOrder(java.lang.String lowEnd,
                                        java.lang.String highEnd)
Finds the median order between two key values.
Parameters:
lowEnd - is the low key value
highEnd - is the high key value
Returns:
java.lang.String
Since:
1.0

incrementBuff

public java.lang.String incrementBuff(java.lang.String inBuff,
                                      double distance)
Incerments the buffer.
Parameters:
inBuff - java.lang.String
distance - double
Returns:
java.lang.String
Since:
1.0