You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@labs.apache.org by ka...@apache.org on 2013/05/02 16:22:12 UTC
svn commit: r1478381 -
/labs/mavibot/trunk/mavibot/src/main/java/org/apache/mavibot/btree/BTreeConfiguration.java
Author: kayyagari
Date: Thu May 2 14:22:12 2013
New Revision: 1478381
URL: http://svn.apache.org/r1478381
Log:
added type parameter
Modified:
labs/mavibot/trunk/mavibot/src/main/java/org/apache/mavibot/btree/BTreeConfiguration.java
Modified: labs/mavibot/trunk/mavibot/src/main/java/org/apache/mavibot/btree/BTreeConfiguration.java
URL: http://svn.apache.org/viewvc/labs/mavibot/trunk/mavibot/src/main/java/org/apache/mavibot/btree/BTreeConfiguration.java?rev=1478381&r1=1478380&r2=1478381&view=diff
==============================================================================
--- labs/mavibot/trunk/mavibot/src/main/java/org/apache/mavibot/btree/BTreeConfiguration.java (original)
+++ labs/mavibot/trunk/mavibot/src/main/java/org/apache/mavibot/btree/BTreeConfiguration.java Thu May 2 14:22:12 2013
@@ -84,6 +84,9 @@ public class BTreeConfiguration<K, V>
/** Flag to enable duplicate key support */
private boolean allowDuplicates;
+ /** the type of BTree */
+ private BTreeTypeEnum type;
+
/**
* @return the pageSize
*/
@@ -296,4 +299,24 @@ public class BTreeConfiguration<K, V>
this.allowDuplicates = allowDuplicates;
}
+
+ /**
+ * @return the type of BTree
+ */
+ public BTreeTypeEnum getType()
+ {
+ return type;
+ }
+
+
+ /**
+ * Sets the type of the BTree
+ *
+ * @param type the type of the tree
+ */
+ public void setType( BTreeTypeEnum type )
+ {
+ this.type = type;
+ }
+
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@labs.apache.org
For additional commands, e-mail: commits-help@labs.apache.org