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