forked from keith-turner/goraci
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
commit to add mapping files and additional configuration properties t…
…o gora.properties.
- Loading branch information
Showing
5 changed files
with
87 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<gora-orm> | ||
<class name="goraci.generated.CINode" keyClass="java.lang.Long" table="ci" encoder="org.apache.gora.accumulo.encoders.HexEncoder"> | ||
<field name="prev" family="meta" qualifier="prev"/> | ||
<field name="client" family="meta" qualifier="client"/> | ||
<field name="count" family="meta" qualifier="count" /> | ||
</class> | ||
</gora-orm> | ||
</gora-orm> |
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,9 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<gora-orm> | ||
<class name="goraci.generated.CINode" keyClass="java.lang.Long" keyspace="ci"> | ||
<field name="prev" path=""/> | ||
<field name="client" path=""/> | ||
<field name="count" path=""/> | ||
</class> | ||
</gora-orm> | ||
<!-- N.B. incorrect mapping --> |
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,9 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<gora-orm> | ||
<class name="goraci.generated.CINode" keyClass="java.lang.Long" table="ci"> | ||
<field name="prev" family="meta" qualifier="prev"/> | ||
<field name="client" family="meta" qualifier="client"/> | ||
<field name="count" family="meta" qualifier="count"/> | ||
</class> | ||
</gora-orm> | ||
|
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,11 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<gora-orm> | ||
<class name="goraci.generated.CINode" keyClass="java.lang.Long" table="ci"> | ||
<primarykey column="" length=""/> | ||
<field name="prev" column="" length=""/> | ||
<field name="client" column=""/> | ||
<field name="count" column="" jdbc-type="VARCHAR_IGNORECASE" length=""/> <!-- jdbc-type is HSQLDB specific for testing --> | ||
</class> | ||
</gora-orm> | ||
<!-- N.B. incorrect mapping --> | ||
|
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,5 +1,60 @@ | ||
############################### | ||
# Default Accumulo properties # | ||
############################### | ||
gora.datastore.default=org.apache.gora.accumulo.store.AccumuloStore | ||
gora.datastore.accumulo.instance=a14 | ||
gora.datastore.accumulo.zookeepers=localhost | ||
gora.datastore.accumulo.user=root | ||
gora.datastore.accumulo.password=secret | ||
gora.datastore.accumulo.password=secret | ||
|
||
############################### | ||
# Default SqlStore properties # | ||
############################### | ||
|
||
#gora.sqlstore.jdbc.driver=org.hsqldb.jdbcDriver | ||
#gora.sqlstore.jdbc.url=jdbc:hsqldb:hsql://localhost/nutchtest | ||
# gora.sqlstore.jdbc.user= | ||
# gora.sqlstore.jdbc.password= | ||
|
||
################################ | ||
# Default AvroStore properties # | ||
################################ | ||
|
||
# gora.avrostore.codec.type=BINARY||JSON | ||
# gora.avrostore.output.path=file:///tmp/gora.avrostore.test.output | ||
|
||
################################ | ||
# DatafileAvroStore properties # | ||
################################ | ||
# DataFileAvroStore is file based store which uses Avro's | ||
# DataFile{Writer,Reader}'s as a backend. This datastore supports | ||
# mapreduce. | ||
|
||
# gora.datafileavrostore.###= | ||
|
||
######################### | ||
# HBaseStore properties # | ||
######################### | ||
# HBaseStore currently reads no Gora properties. However the HBase client | ||
# requires that the Configuration contains a valid "hbase.zookeeper.quorum" | ||
# property. It should be included within hbase-site.xml on the classpath. When | ||
# this property is omitted, it expects Zookeeper to run on localhost:2181. | ||
|
||
############################# | ||
# CassandraStore properties # | ||
############################# | ||
|
||
#gora.cassandrastore.servers=localhost:9160 | ||
|
||
####################### | ||
# MemStore properties # | ||
####################### | ||
# This is a memory based {@link DataStore} implementation for tests. | ||
|
||
# gora.memstore.###= | ||
|
||
####################### | ||
# Misc properties # | ||
####################### | ||
#gora.datastore.default=org.apache.gora.mock.store.MockDataStore | ||
#gora.datastore.autocreateschema=true |