ostore.tapestry.impl
Class NullTagQuery
java.lang.Object
|
+--ostore.tapestry.impl.NullTagQuery
- All Implemented Interfaces:
- QuickSerializable, TapestryQuery
- public class NullTagQuery
- extends Object
- implements TapestryQuery
NullTagQuery
is a
TapestryQuery
used in a
TapestryLocateMsg
used to find objects identified by a NullTag
.
USAGE
To receive an object identified by a NullTag
, dispatch a
TapestryLocateMsg
that contains a
NullTagQuery
.
- Version:
- $Id: NullTagQuery.java,v 1.1 2002/10/05 06:21:32 hweather Exp $
- Author:
- Hakim Weatherspoon
- See Also:
NullTag
,
TapestryTag
,
TapestryQuery
,
TapestryLocateMsg
NullTagQuery
public NullTagQuery()
- Creates a new
NullTagQuery
.
NullTagQuery
public NullTagQuery(InputBuffer buffer)
throws QSException
- Constructs a
NullTagQuery
from its
serialized
form.
- Parameters:
buffer
- serialized
form of object.
serialize
public void serialize(OutputBuffer buffer)
- Specified by ostore.util.QuickSerializable
- Specified by:
serialize
in interface QuickSerializable
- Following copied from interface:
ostore.util.QuickSerializable
- Parameters:
buffer
- the output buffer to add the object to
query
public TapestryQueryResult query(SecureHash node_guid,
SecureHash bp_guid,
TapestryTag tag,
TapestryQueryState state)
- Description copied from interface:
TapestryQuery
- Perform the query on the given backpointer and tag, possibly
modifying the supplied state.
- Specified by:
query
in interface TapestryQuery
- Following copied from interface:
ostore.tapestry.api.TapestryQuery
- Parameters:
node_guid
- the guid of the current nodebp_guid
- the guid of the node to which the backpointer pointstag
- the associated tagstate
- the state, passed in and (possibly) modified- Returns:
- the query result
toString
public String toString()
- Specified by java.lang.Object
- Overrides:
toString
in class Object