All Packages Class Hierarchy
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
Index of all Fields and Methods
- accept(File, String).
Method in class ninja.xset.ExtensionFilter
-
- actionPerformed(ActionEvent).
Method in class ninja.xset.SwingDemoApp
-
- AddDocument(String).
Method in class ninja.xset.XSetService
- AddDocument (String) **
Method used to add a single document to the XSet search engine index
- AddDocument(String).
Method in interface ninja.xset.XSetServiceIF
-
- AddFile(String).
Method in class ninja.xset.XSetService
- AddFile(String) **
Method to add a single file to the XSet dataset
- AddFile(String).
Method in interface ninja.xset.XSetServiceIF
-
- AddFiles(String).
Method in class ninja.xset.XSetService
- AddFiles (String) **
Method used to add files to the XSet search engine index
- AddFiles(String).
Method in interface ninja.xset.XSetServiceIF
-
- averageDepth().
Method in class ninja.xset.Treap
- float averageDepth() **
Method to return the average depth of the treap
- Checkpoint().
Method in class ninja.xset.XSetService
- boolean Checkpoint () **
The method to do synchronous checkpointing.
It generates a new sequenceID for the checkpoint log entry
- Checkpoint().
Method in interface ninja.xset.XSetServiceIF
-
- checkpoint(SETserver).
Method in class ninja.xset.RecoveryMgr
- boolean checkpoint(SETserver) **
method to do a current checkpoint of the SETserver object
Need to call into a synchronized function in SETserver
The serialization sequence of the object stream is:
1.
- CheckpointException().
Constructor for class ninja.xset.CheckpointException
- Null constructor
- CheckpointException(String).
Constructor for class ninja.xset.CheckpointException
- CheckpointException constructor comment.
- ckptFileName.
Static variable in class ninja.xset.RecoveryMgr
- File and directory name constants
- clearAll().
Method in class ninja.xset.SETserver
- clearAll() **
Method that resets the SETserver objects and deletes all
XML files in the data directory
- ClearAll().
Method in class ninja.xset.XSetService
- ClearAll() **
Method to clear the XSet index, in reality it just creates
a new instance of the SETserver object
- ClearAll().
Method in interface ninja.xset.XSetServiceIF
-
- containsSEID(String).
Method in class ninja.xset.SETserver
- boolean containsSEID(String) **
Method that tests if a given ServiceEntry ID is already registered
in SETserver.
- Counter().
Constructor for class ninja.xset.Counter
- Counter() **
Constructor method, creates new counter variable
- Counter(long).
Constructor for class ninja.xset.Counter
- Counter(long) **
Constructor method starting with an initial value.
- currCount().
Method in class ninja.xset.Counter
- long currCount() **
Get the current counter without incrementing the value
Useful for getting the number of counter values given out
- dataDirName.
Static variable in class ninja.xset.RecoveryMgr
-
- delete(String).
Method in class ninja.xset.Treap
- Object delete (String) **
Method to delete node with key k and return the value
- destroy().
Method in class ninja.xset.XSetService
-
- difference(Treap, Treap).
Static method in class ninja.xset.Treap
- Treap difference(Treap, Treap) **
Method to create a new treap that is the set l - r (non destructive)
- DocumentEntry(ServiceEntry, NamedNodeMap).
Constructor for class ninja.xset.DocumentEntry
-
- DocumentToString(Document).
Static method in class ninja.xset.XMLHelper
- from a w3c document, generate the XML text (e.g., to output to
a file)
- DuplicateException().
Constructor for class ninja.xset.DuplicateException
- Null constructor
- DuplicateException(String).
Constructor for class ninja.xset.DuplicateException
- DuplicateException constructor comment.
- elements().
Method in class ninja.xset.Treap
- Enumeration elements() **
The method implementing the elements functionality, similar to
the corresponding method in hashtable and vectors.
- enumerateTag(String[]).
Method in class ninja.xset.SETserver
- Enumeration enumerateTag (Vector) **
Method to return an enumeration of values for a given tag.
- EnumerateTag(String[]).
Method in class ninja.xset.XSetService
- EnumerateTag (String []) ***
Method that takes in a path to a subpath down to a tag in the form of an
array, and returns an enumeration of the existing values in the treap for
that tag.
- EnumerateTag(String[]).
Method in interface ninja.xset.XSetServiceIF
-
- evictXML().
Method in class ninja.xset.ServiceEntry
- void evictXML() **
method to evict the XML document from memory for memory savings
This is done by setting the description variable to null
The document can be brought back on a read fault using pageinXML
- ExtensionFilter(String).
Constructor for class ninja.xset.ExtensionFilter
-
- FLOATKEY.
Static variable in class ninja.xset.TreapOper
-
- forceSync().
Method in class ninja.xset.RecoveryMgr
- void forceSync() **
method to force a synchronous write out to disk of the log buffer
- ForceSync().
Method in class ninja.xset.XSetService
- boolean ForceSync () **
The method to force log buffers to be written out to disk.
- ForceSync().
Method in interface ninja.xset.XSetServiceIF
-
- getBeginEnd().
Method in class ninja.xset.LogEntry
-
- getChildren(Element).
Static method in class ninja.xset.IgnoreWS
- Takes a dom element in, and returns an array of non whitespace
child elements
- getChildren(Element).
Static method in class ninja.xset.SETutils
- Methods that takes an XML4J/DOM element and returns its children,
ignoring whitespaces between tags
- GetDocument(Reader).
Static method in class ninja.xset.XMLHelper
- return a w3c Document of the parsed XML
- GetDocument(String).
Static method in class ninja.xset.XMLHelper
- return a w3c Document of the parsed XML
- getDTDs(String).
Method in class ninja.xset.SwingDemoApp
-
- GetElement(Reader).
Static method in class ninja.xset.XMLHelper
- return a w3c Element of the parsed XML
- GetElement(String).
Static method in class ninja.xset.XMLHelper
- return a w3c Element of the parsed XML
- getHeartBeat().
Method in class ninja.xset.ServiceEntry
-
- getid().
Method in class ninja.xset.ServiceEntry
-
- getLogType().
Method in class ninja.xset.LogEntry
-
- getNextCount().
Method in class ninja.xset.Counter
- long getNextCount() **
Method to return a new counter value.
- getNumID().
Method in class ninja.xset.ServiceEntry
- long getNumID() **
Accessor method for the numerical sequence ID
- getSequenceID().
Method in class ninja.xset.LogEntry
-
- getStoreDir().
Method in class ninja.xset.XSetService
- String getDatafilePath() **
Method to grab the full path of the datafiles, which is
the same as the storeDir + the data directory
- getTimestamp().
Method in class ninja.xset.LogEntry
-
- getXML().
Method in class ninja.xset.ServiceEntry
- String getXML() **
Accessor method to the XML description
- getXML(String).
Method in class ninja.xset.ServiceEntry
- String getXML(String) **
Accessor method that automatically paged in documents
- globalHashSID.
Variable in class ninja.xset.SETserver
-
- hasher(Document, String).
Static method in class ninja.xset.SETutils
-
- hasher(String, String).
Static method in class ninja.xset.SETutils
- Method that implements a hashing algorithm (MD5 or SHA-1).
- HASHSTORE.
Static variable in class ninja.xset.SETserver
-
- hPtr.
Variable in class ninja.xset.TestSET
-
- IgnoreWS().
Constructor for class ninja.xset.IgnoreWS
-
- init(String[]).
Method in class ninja.xset.XSetService
- init(iSpaceServiceConfig) **
Initialization: checks the arguments and prints out
informative message.
- insert(String, Object).
Method in class ninja.xset.Treap
- insert (String, Object) **
Method to insert (k,v) into treap
- intersection(Treap, Treap).
Static method in class ninja.xset.Treap
- Treap intersection (Treap, Treap) **
Method that takes the intersection of treaps t1 and t2
- INTKEY.
Static variable in class ninja.xset.TreapOper
-
- keys().
Method in class ninja.xset.Treap
- Enumeration keys() **
The method implementing the keys functionality, similar to
the corresponding method in hashtables.
- keyType.
Variable in class ninja.xset.TreapOper
-
- lessEquals.
Variable in class ninja.xset.TreapOper
-
- lessThan.
Variable in class ninja.xset.TreapOper
-
- LOGBEGIN.
Static variable in class ninja.xset.LogEntry
-
- LOGEND.
Static variable in class ninja.xset.LogEntry
-
- LogEntry(int, long, int).
Constructor for class ninja.xset.LogEntry
-
- LogEntry(String).
Constructor for class ninja.xset.LogEntry
-
- logExtension.
Static variable in class ninja.xset.RecoveryMgr
-
- LOGTYPECHECKPOINT.
Static variable in class ninja.xset.LogEntry
-
- LOGTYPEDELETE.
Static variable in class ninja.xset.LogEntry
-
- LOGTYPEINSERT.
Static variable in class ninja.xset.LogEntry
-
- lookup(String).
Method in class ninja.xset.Treap
- Object lookup (String) **
Method that does non-destructive lookup on a key
- main(String[]).
Static method in class ninja.xset.IgnoreWS
-
- main(String[]).
Static method in class ninja.xset.SwingDemoApp
-
- main(String[]).
Static method in class ninja.xset.test
-
- main(String[]).
Static method in class ninja.xset.TestSET
-
- main(String[]).
Static method in class ninja.xset.XMLHelper
-
- main(String[]).
Static method in class ninja.xset.XSetClient
-
- main(String[]).
Static method in class ninja.xset.XSetProfile
-
- main(String[]).
Static method in class ninja.xset.XSetQueryClient
-
- main(String[]).
Static method in class ninja.xset.XSetService
-
- makeLogEntry(int, long, int).
Static method in class ninja.xset.RecoveryMgr
- String makeLogEntry(int logType, long sequenceID) **
Method to produce a String formatted log entry
based on arguments passed in.
Current arguments include logtype and sequenceID of
the document.
- maxDepth().
Method in class ninja.xset.Treap
- int maxDepth() **
Method returns the maximum depth for the treap
- moreEquals.
Variable in class ninja.xset.TreapOper
-
- moreThan.
Variable in class ninja.xset.TreapOper
-
- numChildren(Element).
Static method in class ninja.xset.SETutils
- Method to take an XML4J DOM element and count its number of children
Whitespaces here are not ignored.
- pageinXML(String).
Method in class ninja.xset.ServiceEntry
- void pageinXML(String storeDir) **
Method to bring back the XML document text value into memory.
- parseFile(String).
Static method in class ninja.xset.SETutils
- Method that packages up a file into an inputstream
- parser.
Variable in class ninja.xset.SETserver
-
- print().
Method in class ninja.xset.Treap
- print() **
Method that prints out the treap values
- PrintDocument(Document, PrintWriter).
Static method in class ninja.xset.XMLHelper
- print a w3c xml document to a stream
- PrintDocument(Node, PrintWriter, String).
Static method in class ninja.xset.XMLHelper
-
- printElement(Element).
Static method in class ninja.xset.IgnoreWS
-
- printElement(Element).
Static method in class ninja.xset.SETutils
- Simplistic method to print out an element with its immediate children
- printSET(String).
Method in class ninja.xset.SETserver
- printSET(String) **
Debugging method used to print out the registration treap
It uses the Treap.print()
- PrintSubtree(Node, PrintWriter).
Static method in class ninja.xset.XMLHelper
- print a w3c xml subtree to a stream
- query(Document).
Method in class ninja.xset.TestSET
-
- Query(String).
Method in class ninja.xset.XSetService
- Vector Query(String) **
Method that queries the XSet server and returns vector of XML documents
- Query(String).
Method in interface ninja.xset.XSetServiceIF
-
- Query(String, Vector).
Method in class ninja.xset.XSetService
- Vector Query (String, Vector) **
Method to query the XSet server, and return only those fields requested
This returned data structure is rather complicated.
- Query(String, Vector).
Method in interface ninja.xset.XSetServiceIF
-
- queryMax(Vector, String).
Static method in class ninja.xset.SETutils
- Method that returns the desired document or tags that represents
the maximum value in a given tag.
- queryMin(Vector, String).
Static method in class ninja.xset.SETutils
- Method that returns the desired document or tags that represents
the minimum value in a given tag.
- QuerySE(String).
Method in class ninja.xset.XSetService
- Vector QuerySE (String) **
Method to query the XSet server
- QuerySE(String).
Method in interface ninja.xset.XSetServiceIF
-
- querySET(Document).
Method in class ninja.xset.SETserver
- Vector querySET(Document) **
Method called by the XSet service or independent application to
query for a certain document, given an XML template
- querySET(Document, Vector).
Method in class ninja.xset.SETserver
- Method to query the XSet server, and return only those fields requested
This returned data structure is rather complicated.
- rangeLookup(TreapOper).
Method in class ninja.xset.Treap
- Vector rangeLookup (TreapOper) **
Method to do a range query on the treap
- RecoveryException().
Constructor for class ninja.xset.RecoveryException
- Null constructor
- RecoveryException(String).
Constructor for class ninja.xset.RecoveryException
- RecoveryException constructor comment.
- RecoveryMgr(String, int).
Constructor for class ninja.xset.RecoveryMgr
- RecoveryMgr(String, int) **
The constructor for Recovery Manager
- refresh.
Variable in class ninja.xset.SETserver
-
- register(Document).
Method in class ninja.xset.TestSET
-
- RemoveDocument(Document).
Method in class ninja.xset.XSetService
- RemoveDocument(Document) **
The method that removes a document from the index structure
- RemoveDocument(Document).
Method in interface ninja.xset.XSetServiceIF
-
- RemoveDocument(String).
Method in class ninja.xset.XSetService
- RemoveDocument(String) **
The method that takes in a XML string, and tries to remove it from the
index if it exists
- RemoveDocument(String).
Method in interface ninja.xset.XSetServiceIF
-
- reset().
Method in class ninja.xset.Counter
- void reset() **
Resets the counter value to 0
- restore().
Method in class ninja.xset.RecoveryMgr
- SETserver restore() **
The method that is called at startup to restore the previous
checkpoint contents.
- rootTagList.
Variable in class ninja.xset.SETserver
-
- run().
Method in class ninja.xset.SETcleaner
-
- run().
Method in class ninja.xset.XSetClient
- Main code is here
The code simply calls XSet to index the files in the XML path,
and then does a query on them with a hard-coded XML query fragment.
- run().
Method in class ninja.xset.XSetProfile
-
- run().
Method in class ninja.xset.XSetQueryClient
- Main code is here
The code simply calls XSet to index the files in the XML path,
and then does a query on them with a hard-coded XML query fragment.
- runCleaner.
Variable in class ninja.xset.SETserver
-
- SEntryFaultException().
Constructor for class ninja.xset.SEntryFaultException
- Null constructor
- SEntryFaultException(String).
Constructor for class ninja.xset.SEntryFaultException
- SEntryFaultException constructor comment.
- server.
Variable in class ninja.xset.SETcleaner
-
- server.
Variable in class ninja.xset.TestSET
-
- ServiceEntry(long, Document, long).
Constructor for class ninja.xset.ServiceEntry
- NOTE: There could be problems in the hashing of identical XML
but with different spacing into different service IDs
Note that the hashing of the DOM object is actually hashing a
canonical XML output that I generate.
- ServiceEntry(long, String, long).
Constructor for class ninja.xset.ServiceEntry
-
- ServiceEntry(String, long, String, long).
Constructor for class ninja.xset.ServiceEntry
-
- SETcleaner(SETserver, long).
Constructor for class ninja.xset.SETcleaner
-
- SETderegister(Document).
Method in class ninja.xset.SETserver
- SETderegister (Document) **
Method called by the SDS server or independent application to
remove a document from the SET search engine indices.
- SETderegister(ServiceEntry).
Method in class ninja.xset.SETserver
- SETderegister (ServiceEntry) **
Method called by the XSet service to
remove a document from the SET search engine indices.
- setMerge(TreapMerge).
Method in class ninja.xset.Treap
- setMerge (TreapMerge) **
Method to set the merge object field in the treap
- SETregister(Document, long).
Method in class ninja.xset.SETserver
- SETregister(Document, long) **
Method called by the SDS server or independent application to
add a new document to the XSet search engine.
- SETregister(String, long).
Method in class ninja.xset.SETserver
- SETregister(String, long) **
Method called by application to add new document to XSet.
- SETrenew(Document).
Method in class ninja.xset.SETserver
- SETrenew (Document) **
Method called by he SDS server to update an existing
XML document.
- SETreplace(Document, Document).
Method in class ninja.xset.SETserver
- SETreplace(Document, Document) **
Method called by the SDS server or independent application to
replace an existing document with a new document.
- SETserver(long, String).
Constructor for class ninja.xset.SETserver
- SETserver(long) **
Constructor method
Initializes variables and prepares the search indices for data
- SETserver(String).
Constructor for class ninja.xset.SETserver
- SETserver() **
Constructor method
Initializes variables and prepares the search indices for data
This constructor is for SET instances with no timeouts
- SETutils().
Constructor for class ninja.xset.SETutils
-
- setValue(long).
Method in class ninja.xset.Counter
-
- Shutdown(boolean).
Method in class ninja.xset.XSetService
- int Shutdown(boolean backup) **
The method for shutting down a XSetService
- Shutdown(boolean).
Method in interface ninja.xset.XSetServiceIF
-
- size().
Method in class ninja.xset.Treap
- int size() **
Method that returns the total number of nodes in the treap
- storeDir.
Variable in class ninja.xset.SETserver
-
- STRINGKEY.
Static variable in class ninja.xset.TreapOper
-
- stringMaxMin(Vector, int).
Static method in class ninja.xset.SETutils
- Method that rerturns the min or max string from a vector of strings
- SubtreeToString(Node).
Static method in class ninja.xset.XMLHelper
- from a w3c document, generate the XML text (e.g., to output to
a file)
- SwingDemoApp(String).
Constructor for class ninja.xset.SwingDemoApp
-
- test().
Constructor for class ninja.xset.test
-
- test(String, String).
Method in class ninja.xset.TestSET
-
- testCheckAttributes().
Method in class ninja.xset.SETserver
- testCheckAttributes() **
TESTER Method for checkAttributes
- testIntersect().
Method in class ninja.xset.SETserver
- testIntersect () **
TESTER Method for totalIntersect
- TestSET(String).
Constructor for class ninja.xset.TestSET
-
- timeout.
Variable in class ninja.xset.SETserver
-
- toString().
Method in class ninja.xset.LogEntry
-
- toString().
Method in class ninja.xset.ServiceEntry
- Vector getHashList() **
method to return the list of backpointer hashtables
- Treap(String).
Constructor for class ninja.xset.Treap
- This method was created by a SmartGuide.
- Treap(String, TreapMerge).
Constructor for class ninja.xset.Treap
- Method to construct a Treap with a name and a merge object
- TreapOper().
Constructor for class ninja.xset.TreapOper
-
- TreapOper(boolean, String, boolean, String, short).
Constructor for class ninja.xset.TreapOper
-
- TREAPSTORE.
Static variable in class ninja.xset.SETserver
-
- union(Treap, Treap).
Static method in class ninja.xset.Treap
- Treap union (Treap, Treap) **
Return the non-destructive union of t1 and t2.
- updateTime(long).
Method in class ninja.xset.ServiceEntry
-
- usage().
Static method in class ninja.xset.SwingDemoApp
-
- valueChanged(ListSelectionEvent).
Method in class ninja.xset.SwingDemoApp
-
- writeLog(String).
Method in class ninja.xset.RecoveryMgr
- void writeLog(String) *
Method that appends a log entry to the log buffer.
- writeServiceEntry(String, ServiceEntry).
Static method in class ninja.xset.SETutils
- void writeServiceEntry(String, ServiceEntry) **
Method that takes in a ServiceEntry, and writes it to a
specified filename, writing out the fields in this order:
1.
- XMLHelper().
Constructor for class ninja.xset.XMLHelper
-
- XSetAddFiles(String).
Method in class ninja.xset.XSetProfile
-
- XSetClearAll().
Method in class ninja.xset.XSetProfile
-
- XSetClient(String, String).
Constructor for class ninja.xset.XSetClient
- simple constructor that initializes two fields according to
cmdline arguments
- XSetException().
Constructor for class ninja.xset.XSetException
- Null constructor
- XSetException(String).
Constructor for class ninja.xset.XSetException
- XSetException constructor comment.
- XSetProfile().
Constructor for class ninja.xset.XSetProfile
-
- XSetQuery(String).
Method in class ninja.xset.XSetProfile
-
- XSetQueryClient(String, String).
Constructor for class ninja.xset.XSetQueryClient
- simple constructor that initializes two fields according to
cmdline arguments
- XSetService().
Constructor for class ninja.xset.XSetService
- Constructor, just creates an SETserver object