@@ -873,19 +873,18 @@ asyncBopGet(String key, byte[] from, byte[] to, ElementFlagFilter eFlagFilter, i
873
873
874
874
수행 결과는 future 객체를 통해 얻는다.
875
875
876
- future.get() | future.getOperationStatus().getResponse() | 설명
877
- ------------ | ----------------------------------------- | -------
878
- not null | CollectionResponse.END | Element만 조회, 조회 범위에 b+tree trim 영역 없음
879
- not null | CollectionResponse.TRIMMED | Element만 조회, 조회 범위에 b+tree trim 영역 있음
880
- not null | CollectionResponse.DELETED | Element를 조회하고 삭제한 상태
881
- not null | CollectionResponse.DELETED_DROPPED | Element를 조회하고 삭제한 다음 b+tree를 drop한 상태
882
- null | CollectionResponse.NOT_FOUND | Key miss (주어진 key에 해당하는 item이 없음)
883
- null | CollectionResponse.NOT_FOUND_ELEMENT | 조회된 element가 없음, 조회 범위에 b+tree 영역 없음
884
- null | CollectionResponse.OUT_OF_RANGE | 조회된 element가 없음, 조회 범위에 b+tree trim 영역 있음
885
- null | CollectionResponse.TYPE_MISMATCH | 해당 key가 b+tree가 아님
886
- null | CollectionResponse.BKEY_MISMATCH | 주어진 bkey 유형이 기존 bkey 유형과 다름
887
- null | CollectionResponse.UNREADABLE | 해당 key를 읽을 수 없는 상태임. (unreadable item상태)
888
-
876
+ future.get() | future.getOperationStatus().getResponse() | 설명
877
+ -------------|-------------------------------------------|-------------------------------------------
878
+ not null | CollectionResponse.END | Element만 조회, 조회 범위에 b+tree trim 영역 없음
879
+ not null | CollectionResponse.TRIMMED | Element만 조회, 조회 범위에 b+tree trim 영역 있음
880
+ not null | CollectionResponse.DELETED | Element를 조회하고 삭제한 상태
881
+ not null | CollectionResponse.DELETED_DROPPED | Element를 조회하고 삭제한 다음 b+tree를 drop한 상태
882
+ not null | CollectionResponse.NOT_FOUND_ELEMENT | 조회된 element가 없음, 조회 범위에 b+tree 영역 없음
883
+ null | CollectionResponse.NOT_FOUND | Key miss (주어진 key에 해당하는 item이 없음)
884
+ null | CollectionResponse.OUT_OF_RANGE | 조회된 element가 없음, 조회 범위에 b+tree trim 영역 있음
885
+ null | CollectionResponse.TYPE_MISMATCH | 해당 key가 b+tree가 아님
886
+ null | CollectionResponse.BKEY_MISMATCH | 주어진 bkey 유형이 기존 bkey 유형과 다름
887
+ null | CollectionResponse.UNREADABLE | 해당 key를 읽을 수 없는 상태임. (unreadable item상태)
889
888
890
889
결과로 반환된 result(Map\< Long, Element\< Object\>\> ) 객체에서 다음과 같은 정보를 확인할 수 있다
891
890
@@ -1088,7 +1087,7 @@ asyncBopGetBulk(List<String> keyList, byte[] from, byte[] to, ElementFlagFilter
1088
1087
- ** count 값은 1 이상 50 이하여야 한다.**
1089
1088
1090
1089
1091
- 수행 결과는 future 객체를 통해 Map\< Stirng , BTreeGetResult\< Bkey, Object\>\> 을 얻으며,
1090
+ 수행 결과는 future 객체를 통해 Map\< String , BTreeGetResult\< Bkey, Object\>\> 을 얻으며,
1092
1091
이러한 Map은 개별 b+tree item의 key와 그 b+tree에서 조회한 결과를 담고 있는 BTreeGetResult 객체이다.
1093
1092
BTreeGetResult 객체를 통해 개별 조회 결과를 아래와 같이 조회할 수 있다.
1094
1093
@@ -1397,14 +1396,13 @@ asyncBopGetByPosition(String key, BTreeOrder order, int from, int to)
1397
1396
1398
1397
수행 결과는 future 객체를 통해 얻는다.
1399
1398
1400
- future. get() | future. getOperationStatus(). getResponse() | 설명
1401
- ------------ | ---------------------------------------- - | -------- -
1402
- not null | CollectionResponse . END | Element 를 성공적으로 조회
1403
- null | CollectionResponse . NOT_FOUND | Key miss (주어진 key에 해당하는 item이 없음)
1404
- null | CollectionResponse . NOT_FOUND_ELEMENT | Element miss
1405
- null | CollectionResponse . TYPE_MISMATCH | 해당 item이 b+ tree가 아님
1406
- null | CollectionResponse . UNREADABLE | 해당 key가 unreadable상태임
1407
-
1399
+ future. get() | future. getOperationStatus(). getResponse() | 설명
1400
+ -------------- | ------------------------------------------ - | ---------------------------------- -
1401
+ not null | CollectionResponse . END | Element 를 성공적으로 조회
1402
+ not null | CollectionResponse . NOT_FOUND_ELEMENT | Element miss
1403
+ null | CollectionResponse . NOT_FOUND | Key miss (주어진 key에 해당하는 item이 없음)
1404
+ null | CollectionResponse . TYPE_MISMATCH | 해당 item이 b+ tree가 아님
1405
+ null | CollectionResponse . UNREADABLE | 해당 key가 unreadable상태임
1408
1406
1409
1407
B + tree에서 position 기반의 element 조회 예제이다.
1410
1408
0 commit comments