Permalink
Browse files

Added custom serializer option to documentation.

  • Loading branch information...
1 parent a5179fb commit 93cba20fb67cb7f91857700e62b81a860ab26039 @bflorian committed Sep 10, 2012
Showing with 6 additions and 0 deletions.
  1. +6 −0 src/docs/guide/1.2 Configuration Options.gdoc
@@ -16,6 +16,11 @@ astyanax {
connectionPoolName = "MyConnectionPool"
defaultReadConsistencyLevel = "CL_ONE"
defaultWriteConsistencyLevel = "CL_ONE"
+ columnFamilies {
+ AstyanaxTest {
+ LongPropertyObject = new ColumnFamily("LongPropertyObject", StringSerializer.get(), LongSerializer.get())
+ }
+ }
}
}
defaultCluster = 'standard'
@@ -35,4 +40,5 @@ retryPolicy | no | The retry policy to use. Defaults to RetryNTimes. Others va
connectionPoolName | no | Name used to identify the connection pool. Defaults to the astyanax.clusters configuration key, i.e. "standard" in this example
defaultReadConsistencyLevel | no | Default consistency level used when reading from the cluster. This value can be overwritten on the Query operations.
defaultWriteConsistencyLevel | no | Default consistency level used when reading from the cluster. This value can be overwritten on MutationBatch operation
+columnFamilies | no | Two level Map specifying the serializers to be used for the column row and name, whenever a string is specified as the column family rather than a _com.netflix.astyanax.model.ColumnFamily_ object. The key of the outer map is the key space name and the inner map is the column family name.
{table}

0 comments on commit 93cba20

Please sign in to comment.