Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

added some obsolete methods out into the framework

  • Loading branch information...
commit 13f5db5661e409e46bf446b1747445aa93ad13a0 1 parent b94c720
@nberardi nberardi authored
View
4 src/Apache/Cassandra/Cassandra.cs
@@ -123,7 +123,7 @@ public interface Iface {
/// <param name="index_clause"></param>
/// <param name="column_predicate"></param>
/// <param name="consistency_level"></param>
- [Obsolete("use get_range_slices instead with range.row_filter specified", error:true)]
+ [Obsolete("use get_range_slices instead with range.row_filter specified", error:false)]
List<KeySlice> get_indexed_slices(ColumnParent column_parent, IndexClause index_clause, SlicePredicate column_predicate, ConsistencyLevel consistency_level);
#if SILVERLIGHT
IAsyncResult Begin_get_indexed_slices(AsyncCallback callback, object state, ColumnParent column_parent, IndexClause index_clause, SlicePredicate column_predicate, ConsistencyLevel consistency_level);
@@ -443,7 +443,7 @@ public interface Iface {
/// @deprecated This is now a no-op. Please use the CQL3 specific methods instead.
/// </summary>
/// <param name="version"></param>
- [Obsolete("This is now a no-op. Please use the CQL3 specific methods instead.", error: true)]
+ [Obsolete("This is now a no-op. Please use the CQL3 specific methods instead.", error: false)]
void set_cql_version(string version);
#if SILVERLIGHT
IAsyncResult Begin_set_cql_version(AsyncCallback callback, object state, string version);
View
2  src/Operations/CassandraClientWrapper.cs
@@ -77,6 +77,7 @@ public List<Apache.Cassandra.KeySlice> get_range_slices(CassandraColumnParent co
consistency_level);
}
+ [Obsolete("use get_range_slices instead with range.row_filter specified", error: false)]
public List<Apache.Cassandra.KeySlice> get_indexed_slices(CassandraColumnParent column_parent, CassandraIndexClause index_clause, CassandraSlicePredicate column_predicate, Apache.Cassandra.ConsistencyLevel consistency_level)
{
return _client.get_indexed_slices(
@@ -232,6 +233,7 @@ public Apache.Cassandra.CqlResult execute_prepared_cql_query(int itemId, List<by
return _client.execute_prepared_cql_query(itemId, values);
}
+ [Obsolete("This is now a no-op. Please use the CQL3 specific methods instead.", error: false)]
public void set_cql_version(string version)
{
_client.set_cql_version(version);
View
1  src/Operations/GetColumnFamilyIndexedSlices.cs
@@ -5,6 +5,7 @@
namespace FluentCassandra.Operations
{
+ [Obsolete("use get_range_slices instead with range.row_filter specified", error: false)]
public class GetColumnFamilyIndexedSlices : QueryableColumnFamilyOperation<FluentColumnFamily>
{
/*
View
1  src/Operations/GetSuperColumnFamilyIndexedSlices.cs
@@ -5,6 +5,7 @@
namespace FluentCassandra.Operations
{
+ [Obsolete("use get_range_slices instead with range.row_filter specified", error: false)]
public class GetSuperColumnFamilyIndexedSlices : QueryableColumnFamilyOperation<FluentSuperColumnFamily>
{
/*
View
4 src/Properties/AssemblyInfo.cs
@@ -32,5 +32,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
-[assembly: AssemblyVersion("1.1.0.0")]
-[assembly: AssemblyFileVersion("1.1.0.0")]
+[assembly: AssemblyVersion("1.2.0.0")]
+[assembly: AssemblyFileVersion("1.2.0.0")]
Please sign in to comment.
Something went wrong with that request. Please try again.