edu.washington.biostr.sig.vault.core
Interface SimpleQuery
- All Superinterfaces:
- Comparable<SimpleQuery>
- All Known Implementing Classes:
- TagQuery, TextQuery, TypeQuery
public interface SimpleQuery
- extends Comparable<SimpleQuery>
A simple query is one that can be optimized by the DataVault.
The list of supported SimpleQueries will vary from DataVault to DataVault,
but they all must support TextQuery, TypeQuery and TagQuery.
- Author:
- eider
accept
boolean accept(DataNode node)
compareTo
int compareTo(SimpleQuery o)
- Compare 2 simple queries. If they are not the inherrently
comparable (ie not the same class),
default to:
return getClass().getName().compareTo(s.getClass().getName());
- Specified by:
compareTo in interface Comparable<SimpleQuery>
- Parameters:
o -
- Returns:
Copyright © 2006 University of Washington. All Rights Reserved.