forked from alibaba/druid
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
Showing
7 changed files
with
77 additions
and
63 deletions.
There are no files selected for viewing
37 changes: 0 additions & 37 deletions
37
src/main/java/com/alibaba/druid/hdriver/impl/execute/HBaseUtils.java
This file was deleted.
Oops, something went wrong.
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
10 changes: 7 additions & 3 deletions
10
src/main/java/com/alibaba/druid/hdriver/impl/mapping/HMapping.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 |
---|---|---|
@@ -1,16 +1,20 @@ | ||
package com.alibaba.druid.hdriver.impl.mapping; | ||
|
||
import java.io.IOException; | ||
|
||
import org.apache.hadoop.hbase.client.Result; | ||
|
||
public interface HMapping { | ||
|
||
byte[] getFamily(String columnName); | ||
|
||
byte[] getQualifier(String columnName); | ||
|
||
byte[] getRow(Result result, String columnName); | ||
|
||
boolean isRow(String columnName); | ||
|
||
Object getObject(Result result, String name); | ||
Object getObject(Result result, String columnName); | ||
|
||
byte[] toBytes(String columnName, Object value) throws IOException; | ||
} |
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