~akiban-technologies/akiban-server/trunk

« back to all changes in this revision

Viewing changes to src/main/java/com/akiban/server/store/Store.java

merge nwilliams: Change SERIAL back to BY DEFAULT, fix div by zero on maximum range cycling sequence and underlying support for ALTER SEQUENCE.

https://code.launchpad.net/~nwilliams/akiban-server/sequence-fix-and-tweak/+merge/177031

Show diffs side-by-side

added added

removed removed

Lines of Context:
52
52
    /** newRow can be partial, as specified by selector, but oldRow must be fully present. */
53
53
    void updateRow(Session session, RowData oldRow, RowData newRow, ColumnSelector selector);
54
54
 
 
55
    /** Compute and return the next value for the given sequence */
55
56
    long nextSequenceValue(Session session, Sequence sequence);
 
57
 
 
58
    /**
 
59
     * Retrieve the current value for the given sequence.
 
60
     * <p><i>Note: In general, the next value has no relationship to a given transaction's current.</i></p>
 
61
     */
56
62
    long curSequenceValue(Session session, Sequence sequence);
57
63
 
58
64
    /**