Skip to content

Commit f394381

Browse files
committed
update for 1.0.0.release
1 parent 74ea03a commit f394381

File tree

9 files changed

+130
-20
lines changed

9 files changed

+130
-20
lines changed

pom.xml

+115
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,115 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5+
<modelVersion>4.0.0</modelVersion>
6+
7+
<groupId>com.spring4all</groupId>
8+
<artifactId>spring-boot-starter-hbase</artifactId>
9+
<version>1.0.0.RELEASE</version>
10+
11+
<name>spring-boot-starter-hbase</name>
12+
<url>https://github.com/SpringForAll/spring-boot-starter-hbase</url>
13+
<description>starter for hbase</description>
14+
15+
<parent>
16+
<groupId>org.sonatype.oss</groupId>
17+
<artifactId>oss-parent</artifactId>
18+
<version>7</version>
19+
</parent>
20+
21+
<licenses>
22+
<license>
23+
<name>The Apache Software License, Version 2.0</name>
24+
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
25+
<distribution>repo</distribution>
26+
</license>
27+
</licenses>
28+
29+
<scm>
30+
<url>http://spring4all.com</url>
31+
<connection>[email protected]:SpringForAll/spring-boot-starter-hbase.git</connection>
32+
<developerConnection>https://github.com/SpringForAll/spring-boot-starter-hbase</developerConnection>
33+
</scm>
34+
35+
<developers>
36+
<developer>
37+
<name>JThink</name>
38+
<organization>http://spring4all.com</organization>
39+
</developer>
40+
</developers>
41+
42+
<properties>
43+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
44+
<version.java>1.8</version.java>
45+
<version.spring-boot>1.5.6.RELEASE</version.spring-boot>
46+
</properties>
47+
48+
<dependencies>
49+
<dependency>
50+
<groupId>org.springframework.boot</groupId>
51+
<artifactId>spring-boot-autoconfigure</artifactId>
52+
</dependency>
53+
<dependency>
54+
<groupId>org.springframework</groupId>
55+
<artifactId>spring-tx</artifactId>
56+
</dependency>
57+
<dependency>
58+
<groupId>org.slf4j</groupId>
59+
<artifactId>slf4j-api</artifactId>
60+
<version>1.7.25</version>
61+
</dependency>
62+
<dependency>
63+
<groupId>org.apache.hbase</groupId>
64+
<artifactId>hbase-client</artifactId>
65+
<version>1.0.0-cdh5.4.4</version>
66+
<exclusions>
67+
<exclusion>
68+
<groupId>javax.servlet</groupId>
69+
<artifactId>servlet-api</artifactId>
70+
</exclusion>
71+
</exclusions>
72+
</dependency>
73+
<dependency>
74+
<groupId>junit</groupId>
75+
<artifactId>junit</artifactId>
76+
<version>4.12</version>
77+
<scope>test</scope>
78+
</dependency>
79+
</dependencies>
80+
81+
<dependencyManagement>
82+
<dependencies>
83+
<dependency>
84+
<groupId>org.springframework.boot</groupId>
85+
<artifactId>spring-boot-dependencies</artifactId>
86+
<version>${version.spring-boot}</version>
87+
<type>pom</type>
88+
<scope>import</scope>
89+
</dependency>
90+
</dependencies>
91+
</dependencyManagement>
92+
93+
<repositories>
94+
<repository>
95+
<id>cloudera repository</id>
96+
<url>https://repository.cloudera.com/artifactory/cloudera-repos</url>
97+
</repository>
98+
</repositories>
99+
100+
<build>
101+
<plugins>
102+
<plugin>
103+
<groupId>org.apache.maven.plugins</groupId>
104+
<artifactId>maven-compiler-plugin</artifactId>
105+
<version>3.3</version>
106+
<configuration>
107+
<encoding>${project.build.sourceEncoding}</encoding>
108+
<source>${version.java}</source>
109+
<target>${version.java}</target>
110+
<showWarnings>true</showWarnings>
111+
</configuration>
112+
</plugin>
113+
</plugins>
114+
</build>
115+
</project>

src/main/java/com/spring4all/spring/boot/starter/hbase/api/HbaseOperations.java

+2-6
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
*
1818
* @author JThink
1919
* @version 0.0.1
20-
* @desc copy from spring data hadoop hbase, modified by JThink, remove the unuse interface
21-
* @date 2016-11-15 14:49:52
20+
* desc: copy from spring data hadoop hbase, modified by JThink, remove the unuse interface
21+
* date: 2016-11-15 14:49:52
2222
*/
2323
public interface HbaseOperations {
2424

@@ -29,7 +29,6 @@ public interface HbaseOperations {
2929
* Allows for returning a result object (typically a domain object or collection of domain objects).
3030
*
3131
* @param tableName the target table
32-
* @param action callback object that specifies the action
3332
* @param <T> action type
3433
* @return the result object of the callback action, or null
3534
*/
@@ -41,7 +40,6 @@ public interface HbaseOperations {
4140
*
4241
* @param tableName target table
4342
* @param family column family
44-
* @param action row mapper handling the scanner results
4543
* @param <T> action type
4644
* @return a list of objects mapping the scanned rows
4745
*/
@@ -54,7 +52,6 @@ public interface HbaseOperations {
5452
* @param tableName target table
5553
* @param family column family
5654
* @param qualifier column qualifier
57-
* @param action row mapper handling the scanner results
5855
* @param <T> action type
5956
* @return a list of objects mapping the scanned rows
6057
*/
@@ -67,7 +64,6 @@ public interface HbaseOperations {
6764
*
6865
* @param tableName target table
6966
* @param scan table scanner
70-
* @param action row mapper handling the scanner results
7167
* @param <T> action type
7268
* @return a list of objects mapping the scanned rows
7369
*/

src/main/java/com/spring4all/spring/boot/starter/hbase/api/HbaseSystemException.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
*
1313
* @author JThink
1414
* @version 0.0.1
15-
* @desc copy from spring data hadoop hbase, modified by JThink
16-
* @date 2016-11-15 16:08:41
15+
* desc copy from spring data hadoop hbase, modified by JThink
16+
* date 2016-11-15 16:08:41
1717
*/
1818
public class HbaseSystemException extends UncategorizedDataAccessException {
1919

src/main/java/com/spring4all/spring/boot/starter/hbase/api/HbaseTemplate.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@
2929
*
3030
* @author JThink
3131
* @version 0.0.1
32-
* @desc copy from spring data hadoop hbase, modified by JThink, use the 1.0.0 api
33-
* @date 2016-11-15 15:42:46
32+
* desc copy from spring data hadoop hbase, modified by JThink, use the 1.0.0 api
33+
* date 2016-11-15 15:42:46
3434
*/
3535
public class HbaseTemplate implements HbaseOperations {
3636

src/main/java/com/spring4all/spring/boot/starter/hbase/api/MutatorCallback.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
*
88
* @author JThink
99
* @version 0.0.1
10-
* @desc callback for hbase put delete and update
11-
* @date 2016-12-08 14:31:34
10+
* desc callback for hbase put delete and update
11+
* date 2016-12-08 14:31:34
1212
*/
1313
public interface MutatorCallback {
1414

src/main/java/com/spring4all/spring/boot/starter/hbase/api/RowMapper.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
*
1414
* @author JThink
1515
* @version 0.0.1
16-
* @desc copy from spring data hadoop hbase, modified by JThink, use the 1.0.0 api
17-
* @date 2016-11-15 15:42:46
16+
* desc copy from spring data hadoop hbase, modified by JThink, use the 1.0.0 api
17+
* date 2016-11-15 15:42:46
1818
*/
1919
public interface RowMapper<T> {
2020

src/main/java/com/spring4all/spring/boot/starter/hbase/api/TableCallback.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
*
1414
* @author JThink
1515
* @version 0.0.1
16-
* @desc copy from spring data hadoop hbase, modified by JThink, use the 1.0.0 api
17-
* @date 2016-11-15 14:49:52
16+
* desc copy from spring data hadoop hbase, modified by JThink, use the 1.0.0 api
17+
* date 2016-11-15 14:49:52
1818
*/
1919
public interface TableCallback<T> {
2020

src/main/java/com/spring4all/spring/boot/starter/hbase/boot/HbaseAutoConfiguration.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
*
1515
* @author JThink
1616
* @version 0.0.1
17-
* @desc hbase auto configuration
18-
* @date 2016-11-16 11:11:27
17+
* desc hbase auto configuration
18+
* date 2016-11-16 11:11:27
1919
*/
2020
@org.springframework.context.annotation.Configuration
2121
@EnableConfigurationProperties(HbaseProperties.class)

src/main/java/com/spring4all/spring/boot/starter/hbase/boot/HbaseProperties.java

+1-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@
77
*
88
* @author JThink
99
* @version 0.0.1
10-
* @desc
11-
* @date 2016-11-16 14:51:42
10+
* date: 2016-11-16 14:51:42
1211
*/
1312
@ConfigurationProperties(prefix = "spring.data.hbase")
1413
public class HbaseProperties {

0 commit comments

Comments
 (0)