public class ThriftConversion
extends java.lang.Object
Constructor and Description |
---|
ThriftConversion() |
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 TimedOutException toThrift(RequestFailureException e)
public static RowFilter rowFilterFromThrift(CFMetaData metadata, java.util.List<IndexExpression> exprs)
public static KeyspaceMetadata fromThrift(KsDef ksd, CFMetaData... cfDefs) throws ConfigurationException
ConfigurationException
public static KsDef toThrift(KeyspaceMetadata ksm)
public static CFMetaData fromThrift(CfDef cf_def) throws InvalidRequestException, ConfigurationException
public static CFMetaData fromThriftForUpdate(CfDef cf_def, CFMetaData toUpdate) throws InvalidRequestException, ConfigurationException
public static CfDef toThrift(CFMetaData cfm)
public static ColumnDefinition fromThrift(java.lang.String ksName, java.lang.String cfName, AbstractType<?> thriftComparator, AbstractType<?> thriftSubcomparator, ColumnDef thriftColumnDef) throws SyntaxException, ConfigurationException
public static ColumnDef toThrift(CFMetaData cfMetaData, ColumnDefinition column)
public static java.util.Map<java.lang.String,java.lang.String> compressionParametersToThrift(CompressionParams parameters)
public static CachingParams cachingFromThrift(java.lang.String caching, java.lang.String cellsPerRow)
Copyright © 2020 The Apache Software Foundation