public class ThriftConversion
extends java.lang.Object
Constructor and Description |
---|
ThriftConversion() |
Modifier and Type | Method and Description |
---|---|
static ConsistencyLevel |
fromThrift(org.apache.cassandra.thrift.ConsistencyLevel cl) |
static java.lang.RuntimeException |
rethrow(RequestExecutionException e) |
static org.apache.cassandra.thrift.AuthenticationException |
toThrift(AuthenticationException e) |
static org.apache.cassandra.thrift.InvalidRequestException |
toThrift(InvalidRequestException e) |
static org.apache.cassandra.thrift.TimedOutException |
toThrift(RequestTimeoutException e) |
static org.apache.cassandra.thrift.InvalidRequestException |
toThrift(RequestValidationException e) |
static org.apache.cassandra.thrift.UnavailableException |
toThrift(UnavailableException e) |
public static ConsistencyLevel fromThrift(org.apache.cassandra.thrift.ConsistencyLevel cl)
public static java.lang.RuntimeException rethrow(RequestExecutionException e) throws org.apache.cassandra.thrift.UnavailableException, org.apache.cassandra.thrift.TimedOutException
org.apache.cassandra.thrift.UnavailableException
org.apache.cassandra.thrift.TimedOutException
public static org.apache.cassandra.thrift.InvalidRequestException toThrift(RequestValidationException e)
public static org.apache.cassandra.thrift.InvalidRequestException toThrift(InvalidRequestException e)
public static org.apache.cassandra.thrift.UnavailableException toThrift(UnavailableException e)
public static org.apache.cassandra.thrift.AuthenticationException toThrift(AuthenticationException e)
public static org.apache.cassandra.thrift.TimedOutException toThrift(RequestTimeoutException e)
Copyright © 2013 The Apache Software Foundation