public void handleEndKey ( ) { KeyArea keyArea = this . getKeyArea ( - 1 ) ; if ( keyArea == null ) return ; BaseBuffer buffer = new VectorBuffer ( null ) ; boolean [ ] rgbModified = keyArea . getModified ( ) ; boolean [ ] rgbNullable = keyArea . setNullable ( true ) ; keyArea . setupKeyBuffer ( buffer , DBConstants . FILE_KEY_AREA ) ; keyArea . zeroKeyFields ( DBConstants . END_SELECT_KEY ) ; // Set the key fields to a large value BaseListener nextListener = this . getNextEnabledListener ( ) ; if ( nextListener != null ) ( ( FileListener ) nextListener ) . doEndKey ( ) ; else this . doEndKey ( ) ; keyArea . setNullable ( rgbNullable ) ; keyArea . setModified ( rgbModified ) ; keyArea . reverseKeyBuffer ( buffer , DBConstants . FILE_KEY_AREA ) ; }
The end key position is in this record ... Save it!