Interface SequentialTupleFile

    • Method Detail

      • getOrderSpec

        java.util.List<OrderByExpression> getOrderSpec()
        Returns the column(s) that are used to order the tuples in this sequential file.
        Returns:
        the column(s) that are used to order the tuples in this sequential file.
      • findFirstTupleEquals

        Tuple findFirstTupleEquals​(Tuple searchKey)
        Returns the first tuple in the file that has the same search-key value, or null if there are no tuples with this search-key value in the tuple file. This operation is slightly unusual in that the search key may contain fewer columns than the sequential file does. When this is the case, the sequential file returns the first tuple that matches in the parts of the search key that are actually specified.
        Parameters:
        searchKey - the tuple to search for
        Returns:
        The first tuple in the file with the same hash-key values, or null if the file contains no files with the specified search key value. This tuple will actually be backed by the tuple file, so typically it will be a subclass of PageTuple.
      • findFirstTupleGreaterThan

        Tuple findFirstTupleGreaterThan​(Tuple searchKey)
        Returns the first tuple in the file that has a search-key value that is greater than the specified search-key value, or null if there are no tuples greater than this search-key value in the index. This operation is slightly unusual in that the search key may contain fewer columns than the sequential file does. When this is the case, the sequential file returns the first tuple that is greater in the parts of the search key that are actually specified.
        Parameters:
        searchKey -
        Returns: