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