-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #25 from vintmd/zuoyebang400
add the key requel prefix list and head requestid
- Loading branch information
Showing
7 changed files
with
100 additions
and
13 deletions.
There are no files selected for viewing
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
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,29 @@ | ||
package org.apache.hadoop.fs; | ||
|
||
/** | ||
* Used to record the cos client query result | ||
*/ | ||
public class CosResultInfo { | ||
private String requestID; | ||
private boolean isKeySameToPrefix; | ||
|
||
CosResultInfo() { | ||
requestID = ""; | ||
isKeySameToPrefix = false; | ||
} | ||
|
||
public void setRequestID(String requestID) { | ||
this.requestID = requestID; | ||
} | ||
public String getRequestID() { | ||
return this.requestID; | ||
} | ||
|
||
public boolean isKeySameToPrefix() { | ||
return this.isKeySameToPrefix; | ||
} | ||
|
||
public void setKeySameToPrefix(boolean isKeySameToPrefix) { | ||
this.isKeySameToPrefix = isKeySameToPrefix; | ||
} | ||
} |
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