seek forward only should be called reseektokeyinblock ? . if the exact key is found look at the seekbefore variable and : - if true : go to the previous key if it 's true - if false : stay on the exact key if the exact key is not found , then go to the previous key if possible , but remember to leave the scanner in a valid state if possible . concode_field_sep boolean movedToPrevious concode_elem_sep boolean USE_POSITION_BEFORE concode_elem_sep ByteBuffer block concode_elem_sep boolean includeMvccVersion concode_elem_sep PrefixTreeArraySearcher ptSearcher concode_field_sep boolean next concode_elem_sep ByteBuffer getKeyDeepCopy concode_elem_sep void setCurrentBuffer concode_elem_sep void releaseCurrentSearcher concode_elem_sep ByteBuffer getValueShallowCopy concode_elem_sep boolean advance concode_elem_sep int seekToOrBeforeUsingPositionAtOrAfter concode_elem_sep int seekToOrBeforeUsingPositionAtOrAfter concode_elem_sep ByteBuffer getKeyValueBuffer concode_elem_sep int seekToOrBeforeUsingPositionAtOrBefore concode_elem_sep int seekToOrBeforeUsingPositionAtOrBefore concode_elem_sep int compareKey concode_elem_sep int compareKey concode_elem_sep void rewind concode_elem_sep Cell get concode_elem_sep KeyValue getKeyValue
int function ( byte [ ] arg0 , int arg1 , int arg2 , boolean arg3 ) { if ( USE_POSITION_BEFORE ) { return seekToOrBeforeUsingPositionAtOrBefore ( arg0 , arg1 , arg2 , arg3 ) ; } else { return seekToOrBeforeUsingPositionAtOrAfter ( arg0 , arg1 , arg2 , arg3 ) ; } }