Permalink
Browse files

generated cassandra thrift interface with thrift 0.9.0

  • Loading branch information...
nberardi committed Oct 22, 2012
1 parent 4cd5b26 commit c529599392a3a19965b7a7ea0e79b41dc5a6a185
Showing with 2,420 additions and 77 deletions.
  1. +10 −1 src/Apache/Cassandra/AuthenticationException.cs
  2. +10 −1 src/Apache/Cassandra/AuthenticationRequest.cs
  3. +10 −1 src/Apache/Cassandra/AuthorizationException.cs
  4. +1,966 −38 src/Apache/Cassandra/Cassandra.cs
  5. +37 −1 src/Apache/Cassandra/CfDef.cs
  6. +14 −1 src/Apache/Cassandra/Column.cs
  7. +11 −1 src/Apache/Cassandra/ColumnDef.cs
  8. +22 −1 src/Apache/Cassandra/ColumnOrSuperColumn.cs
  9. +13 −1 src/Apache/Cassandra/ColumnParent.cs
  10. +17 −1 src/Apache/Cassandra/ColumnPath.cs
  11. +4 −1 src/Apache/Cassandra/Compression.cs
  12. +43 −1 src/Apache/Cassandra/ConsistencyLevel.cs
  13. +2 −1 src/Apache/Cassandra/Constants.cs
  14. +7 −1 src/Apache/Cassandra/CounterColumn.cs
  15. +7 −1 src/Apache/Cassandra/CounterSuperColumn.cs
  16. +7 −1 src/Apache/Cassandra/CqlMetadata.cs
  17. +7 −1 src/Apache/Cassandra/CqlPreparedResult.cs
  18. +11 −1 src/Apache/Cassandra/CqlResult.cs
  19. +1 −1 src/Apache/Cassandra/CqlResultType.cs
  20. +10 −1 src/Apache/Cassandra/CqlRow.cs
  21. +10 −1 src/Apache/Cassandra/Deletion.cs
  22. +7 −1 src/Apache/Cassandra/EndpointDetails.cs
  23. +10 −1 src/Apache/Cassandra/IndexClause.cs
  24. +11 −1 src/Apache/Cassandra/IndexExpression.cs
  25. +1 −1 src/Apache/Cassandra/IndexOperator.cs
  26. +1 −1 src/Apache/Cassandra/IndexType.cs
  27. +11 −1 src/Apache/Cassandra/InvalidRequestException.cs
  28. +7 −1 src/Apache/Cassandra/KeyCount.cs
  29. +15 −1 src/Apache/Cassandra/KeyRange.cs
  30. +14 −1 src/Apache/Cassandra/KeySlice.cs
  31. +10 −1 src/Apache/Cassandra/KsDef.cs
  32. +12 −1 src/Apache/Cassandra/Mutation.cs
  33. +8 −1 src/Apache/Cassandra/NotFoundException.cs
  34. +8 −1 src/Apache/Cassandra/SchemaDisagreementException.cs
  35. +19 −1 src/Apache/Cassandra/SlicePredicate.cs
  36. +23 −1 src/Apache/Cassandra/SliceRange.cs
  37. +13 −1 src/Apache/Cassandra/SuperColumn.cs
  38. +8 −1 src/Apache/Cassandra/TimedOutException.cs
  39. +15 −1 src/Apache/Cassandra/TokenRange.cs
  40. +8 −1 src/Apache/Cassandra/UnavailableException.cs
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.8.0)
+ * Autogenerated by Thrift Compiler (0.9.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -11,12 +11,19 @@
using System.IO;
using Thrift;
using Thrift.Collections;
+using System.Runtime.Serialization;
using Thrift.Protocol;
using Thrift.Transport;
+
namespace Apache.Cassandra
{
+ /// <summary>
+ /// invalid authentication request (invalid keyspace, user does not exist, or credentials invalid)
+ /// </summary>
+ #if !SILVERLIGHT
[Serializable]
+ #endif
public partial class AuthenticationException : Exception, TBase
{
private string _why;
@@ -36,7 +43,9 @@ public string Why
public Isset __isset;
+ #if !SILVERLIGHT
[Serializable]
+ #endif
public struct Isset {
public bool why;
}
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.8.0)
+ * Autogenerated by Thrift Compiler (0.9.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -11,12 +11,19 @@
using System.IO;
using Thrift;
using Thrift.Collections;
+using System.Runtime.Serialization;
using Thrift.Protocol;
using Thrift.Transport;
+
namespace Apache.Cassandra
{
+ /// <summary>
+ /// Authentication requests can contain any data, dependent on the IAuthenticator used
+ /// </summary>
+ #if !SILVERLIGHT
[Serializable]
+ #endif
public partial class AuthenticationRequest : TBase
{
private Dictionary<string, string> _credentials;
@@ -36,7 +43,9 @@ public partial class AuthenticationRequest : TBase
public Isset __isset;
+ #if !SILVERLIGHT
[Serializable]
+ #endif
public struct Isset {
public bool credentials;
}
@@ -1,5 +1,5 @@
/**
- * Autogenerated by Thrift Compiler (0.8.0)
+ * Autogenerated by Thrift Compiler (0.9.0)
*
* DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
* @generated
@@ -11,12 +11,19 @@
using System.IO;
using Thrift;
using Thrift.Collections;
+using System.Runtime.Serialization;
using Thrift.Protocol;
using Thrift.Transport;
+
namespace Apache.Cassandra
{
+ /// <summary>
+ /// invalid authorization request (user does not have access to keyspace)
+ /// </summary>
+ #if !SILVERLIGHT
[Serializable]
+ #endif
public partial class AuthorizationException : Exception, TBase
{
private string _why;
@@ -36,7 +43,9 @@ public string Why
public Isset __isset;
+ #if !SILVERLIGHT
[Serializable]
+ #endif
public struct Isset {
public bool why;
}
Oops, something went wrong.

0 comments on commit c529599

Please sign in to comment.