This repository has been archived by the owner on May 10, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
65589fd
commit 6f38c0b
Showing
6 changed files
with
285 additions
and
0 deletions.
There are no files selected for viewing
22 changes: 22 additions & 0 deletions
22
src/main/java/com/xiaomi/infra/pegasus/client/DelRangeOptions.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
// Copyright (c) 2019, Xiaomi, Inc. All rights reserved. | ||
// This source code is licensed under the Apache License Version 2.0, which | ||
// can be found in the LICENSE file in the root directory of this source tree. | ||
package com.xiaomi.infra.pegasus.client; | ||
|
||
public class DelRangeOptions { | ||
public String nextSortKey = ""; | ||
public boolean startInclusive = true; // if the startSortKey is included | ||
public boolean stopInclusive = false; // if the stopSortKey is included | ||
public FilterType sortKeyFilterType = FilterType.FT_NO_FILTER; // filter type for sort key | ||
public byte[] sortKeyFilterPattern = null; // filter pattern for sort key | ||
|
||
public DelRangeOptions() {} | ||
|
||
public DelRangeOptions(DelRangeOptions o) { | ||
nextSortKey = o.nextSortKey; | ||
startInclusive = o.startInclusive; | ||
stopInclusive = o.stopInclusive; | ||
sortKeyFilterType = o.sortKeyFilterType; | ||
sortKeyFilterPattern = o.sortKeyFilterPattern; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters