| com.tc.object.dna.api.DNACursor
All known Subclasses: com.tc.object.dna.impl.DNAImpl, com.tc.objectserver.core.api.TestDNACursor,
DNACursor | public interface DNACursor (Code) | | A ResultSet-like interface for iterating over the fields of a DNA strand. Generally the set
of actions to cursor over consist of either all logical or all physical depending on the class.
TODO: Perhaps this could be better integrated into some Class hierarchy.
author: orion |
getAction | public Object getAction()(Code) | | Return the action at the current cursor location.
XXX: This should be removed or cleaned up at some point. It's here to support TreeMap which is treated logically,
except for it's "comparator" field which is treated physically
LogicalAction, PhysicalAction, or LiteralAction |
getActionCount | public int getActionCount()(Code) | | Get total number of actions
Action count |
getLogicalAction | public LogicalAction getLogicalAction()(Code) | | Get a logical action at the current cursor location.
Logical action |
getPhysicalAction | public PhysicalAction getPhysicalAction()(Code) | | Get a physical action at the current cursor location.
Physical action |
next | public boolean next() throws IOException(Code) | | Move to next action
True if there is a next action, false if no more actions throws: IOException - If an IO error occurs while moving the cursor |
|
|