Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.derby.iapi.store.access
Interface SortController  view SortController download SortController.java


public interface SortController

A sort controller is an interface for inserting rows into a sort.

A sort is created with the createSort method of TransactionController. The rows are read back with a scan controller returned from the openSortScan method of TranscationController.


Method Summary
 void close()
          Close this sort controller.
 SortInfo getSortInfo()
          Return SortInfo object which contains information about the current state of the sort.
 void insert(org.apache.derby.iapi.types.DataValueDescriptor[] row)
          Insert a row into the sort.
 

Method Detail

close

public void close()
Close this sort controller.

Currently, since only one sort controller is allowed per sort, closing the sort controller means the last row has been inserted.


insert

public void insert(org.apache.derby.iapi.types.DataValueDescriptor[] row)
            throws org.apache.derby.iapi.error.StandardException
Insert a row into the sort.


getSortInfo

public SortInfo getSortInfo()
                     throws org.apache.derby.iapi.error.StandardException
Return SortInfo object which contains information about the current state of the sort.