Modifier and Type | Method and Description |
---|---|
void |
AllowAllAuthenticator.validateConfiguration() |
void |
AllowAllInternodeAuthenticator.validateConfiguration() |
void |
CassandraAuthorizer.validateConfiguration() |
void |
IAuthenticator.validateConfiguration()
Validates configuration of IAuthenticator implementation (if configurable).
|
void |
IAuthorizer.validateConfiguration()
Validates configuration of IAuthorizer implementation (if configurable).
|
void |
IInternodeAuthenticator.validateConfiguration()
Validates configuration of IInternodeAuthenticator implementation (if configurable).
|
abstract void |
LegacyAuthenticator.validateConfiguration() |
abstract void |
LegacyAuthorizer.validateConfiguration() |
void |
PasswordAuthenticator.validateConfiguration() |
Modifier and Type | Method and Description |
---|---|
void |
CFMetaData.addColumnDefinition(ColumnDefinition def) |
void |
CFMetaData.addDefaultIndexNames()
Convert a null index_name to appropriate default name according to column status
|
void |
CFMetaData.addTriggerDefinition(TriggerDefinition def) |
void |
CFMetaData.apply(CFMetaData cfm)
Updates CFMetaData in-place to match cf_def
*Note*: This method left public only for DefsTest, don't use directly!
|
void |
ColumnDefinition.apply(ColumnDefinition def,
AbstractType<?> comparator) |
static java.lang.Class<? extends AbstractCompactionStrategy> |
CFMetaData.createCompactionStrategy(java.lang.String className) |
static CFMetaData.Caching |
CFMetaData.Caching.fromString(java.lang.String cache) |
static CFMetaData.SpeculativeRetry |
CFMetaData.SpeculativeRetry.fromString(java.lang.String retry) |
static CFMetaData |
CFMetaData.fromThrift(org.apache.cassandra.thrift.CfDef cf_def) |
static ColumnDefinition |
ColumnDefinition.fromThrift(org.apache.cassandra.thrift.ColumnDef thriftColumnDef,
boolean isSuper) |
static KSMetaData |
KSMetaData.fromThrift(org.apache.cassandra.thrift.KsDef ksd,
CFMetaData... cfDefs) |
static java.util.Map<java.nio.ByteBuffer,ColumnDefinition> |
ColumnDefinition.fromThrift(java.util.List<org.apache.cassandra.thrift.ColumnDef> thriftDefs,
boolean isSuper) |
Config |
ConfigurationLoader.loadConfig()
Loads a
Config object to use to configure a node. |
Config |
YamlConfigurationLoader.loadConfig() |
static KSMetaData |
KSMetaData.newKeyspace(java.lang.String name,
java.lang.String strategyName,
java.util.Map<java.lang.String,java.lang.String> options,
boolean durableWrites) |
RowMutation |
CFMetaData.toSchema(long timestamp)
Convert current metadata into schema mutation
|
CFMetaData |
CFMetaData.validate() |
KSMetaData |
KSMetaData.validate() |
static void |
CFMetaData.validateCompactionOptions(java.lang.Class<? extends AbstractCompactionStrategy> strategyClass,
java.util.Map<java.lang.String,java.lang.String> options) |
void |
CFMetaData.validateCompatility(CFMetaData cfm) |
Modifier and Type | Method and Description |
---|---|
static void |
AlterTableStatement.applyPropertiesToCFMetadata(CFMetaData cfm,
CFPropDefs cfProps) |
CFMetaData |
AlterTableStatement.getCFMetaData(java.lang.String keyspace) |
AbstractType<?> |
CFPropDefs.getComparator() |
AbstractType<?> |
CFPropDefs.getValidator() |
void |
CFPropDefs.validate() |
Constructor and Description |
---|
CQL3Type.Custom(java.lang.String className) |
Modifier and Type | Method and Description |
---|---|
void |
CreateTriggerStatement.announceMigration() |
void |
DropIndexStatement.announceMigration() |
void |
DropKeyspaceStatement.announceMigration() |
void |
DropTableStatement.announceMigration() |
void |
DropTriggerStatement.announceMigration() |
void |
CFPropDefs.applyToCFMetadata(CFMetaData cfm) |
void |
CFPropDefs.validate() |
Modifier and Type | Method and Description |
---|---|
static void |
SystemKeyspace.checkHealth()
One of three things will happen if you try to read the system keyspace:
1.
|
static void |
DefsTables.mergeSchema(java.util.Collection<RowMutation> mutations)
Merge remote schema in form of row mutations with local and mutate ks/cf metadata objects
(which also involves fs operations on add/drop ks/cf)
|
Modifier and Type | Method and Description |
---|---|
static java.util.Map<java.lang.String,java.lang.String> |
AbstractCompactionStrategy.validateOptions(java.util.Map<java.lang.String,java.lang.String> options) |
static java.util.Map<java.lang.String,java.lang.String> |
LeveledCompactionStrategy.validateOptions(java.util.Map<java.lang.String,java.lang.String> options) |
static java.util.Map<java.lang.String,java.lang.String> |
SizeTieredCompactionStrategy.validateOptions(java.util.Map<java.lang.String,java.lang.String> options) |
static java.util.Map<java.lang.String,java.lang.String> |
SizeTieredCompactionStrategyOptions.validateOptions(java.util.Map<java.lang.String,java.lang.String> options,
java.util.Map<java.lang.String,java.lang.String> uncheckedOptions) |
Modifier and Type | Method and Description |
---|---|
static SecondaryIndex |
SecondaryIndex.createInstance(ColumnFamilyStore baseCfs,
ColumnDefinition cdef)
This is the primary way to create a secondary index instance for a CF column.
|
abstract void |
SecondaryIndex.validateOptions()
Validates the index_options passed in the ColumnDef
|
Modifier and Type | Method and Description |
---|---|
void |
CompositesIndex.validateOptions() |
Modifier and Type | Method and Description |
---|---|
void |
KeysIndex.validateOptions() |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.Byte,AbstractType<?>> |
TypeParser.getAliasParameters() |
java.util.Map<java.nio.ByteBuffer,CollectionType> |
TypeParser.getCollectionsParameters() |
static ColumnToCollectionType |
ColumnToCollectionType.getInstance(TypeParser parser) |
static CompositeType |
CompositeType.getInstance(TypeParser parser) |
static DynamicCompositeType |
DynamicCompositeType.getInstance(TypeParser parser) |
static ListType<?> |
ListType.getInstance(TypeParser parser) |
static MapType<?,?> |
MapType.getInstance(TypeParser parser) |
static SetType<?> |
SetType.getInstance(TypeParser parser) |
static <T> ReversedType<T> |
ReversedType.getInstance(TypeParser parser) |
java.util.List<AbstractType<?>> |
TypeParser.getTypeParameters() |
AbstractType<?> |
TypeParser.parse()
Parse an AbstractType from current position of this parser.
|
static AbstractType<?> |
TypeParser.parse(java.lang.CharSequence compareWith) |
static AbstractType<?> |
TypeParser.parse(java.lang.String str)
Parse a string containing an type definition.
|
Modifier and Type | Method and Description |
---|---|
static java.util.Collection<Token> |
BootStrapper.getBootstrapTokens(TokenMetadata metadata)
if initialtoken was specified, use that (split on comma).
|
abstract void |
Token.TokenFactory.validate(java.lang.String token) |
Modifier and Type | Class and Description |
---|---|
class |
AlreadyExistsException |
Modifier and Type | Method and Description |
---|---|
protected CFDefinition |
AbstractCassandraStorage.getCfDefinition(java.lang.String ks,
java.lang.String cf,
org.apache.cassandra.thrift.Cassandra.Client client)
get CFDefinition of a column family
|
protected AbstractCassandraStorage.CfInfo |
AbstractCassandraStorage.getCfInfo(org.apache.cassandra.thrift.Cassandra.Client client)
return the CfInfo for the column family
|
protected java.util.List<org.apache.cassandra.thrift.ColumnDef> |
AbstractCassandraStorage.getColumnMeta(org.apache.cassandra.thrift.Cassandra.Client client,
boolean cassandraStorage,
boolean includeCompactValueColumn)
get column meta data
|
protected abstract java.util.List<org.apache.cassandra.thrift.ColumnDef> |
AbstractCassandraStorage.getColumnMetadata(org.apache.cassandra.thrift.Cassandra.Client client)
get a list of columns
|
protected java.util.List<org.apache.cassandra.thrift.ColumnDef> |
CassandraStorage.getColumnMetadata(org.apache.cassandra.thrift.Cassandra.Client client)
get a list of column for the column family
|
protected java.util.List<org.apache.cassandra.thrift.ColumnDef> |
CqlStorage.getColumnMetadata(org.apache.cassandra.thrift.Cassandra.Client client)
include key columns
|
Modifier and Type | Method and Description |
---|---|
static CompressionParameters |
CompressionParameters.create(java.util.Map<? extends java.lang.CharSequence,? extends java.lang.CharSequence> opts) |
static java.lang.Integer |
CompressionParameters.parseChunkLength(java.lang.String chLengthKB)
Parse the chunk length (in KB) and returns it as bytes.
|
void |
CompressionParameters.setCrcCheckChance(double crcCheckChance) |
void |
CompressionParameters.validate() |
Constructor and Description |
---|
CompressionParameters(ICompressor sstableCompressor,
java.lang.Integer chunkLength,
java.util.Map<java.lang.String,java.lang.String> otherOptions) |
CompressionParameters(java.lang.String sstableCompressorClass,
java.lang.Integer chunkLength,
java.util.Map<java.lang.String,java.lang.String> otherOptions) |
Modifier and Type | Method and Description |
---|---|
protected void |
SSTableLoader.Client.setPartitioner(java.lang.String partclass) |
Modifier and Type | Method and Description |
---|---|
static java.lang.Class<AbstractReplicationStrategy> |
AbstractReplicationStrategy.getClass(java.lang.String cls) |
void |
PropertyFileSnitch.reloadConfiguration() |
abstract void |
AbstractReplicationStrategy.validateOptions() |
void |
LocalStrategy.validateOptions() |
void |
NetworkTopologyStrategy.validateOptions() |
void |
OldNetworkTopologyStrategy.validateOptions() |
void |
SimpleStrategy.validateOptions() |
protected void |
AbstractReplicationStrategy.validateReplicationFactor(java.lang.String rf) |
static void |
AbstractReplicationStrategy.validateReplicationStrategy(java.lang.String keyspaceName,
java.lang.Class<? extends AbstractReplicationStrategy> strategyClass,
TokenMetadata tokenMetadata,
IEndpointSnitch snitch,
java.util.Map<java.lang.String,java.lang.String> strategyOptions) |
Constructor and Description |
---|
Ec2MultiRegionSnitch() |
Ec2Snitch() |
GossipingPropertyFileSnitch() |
NetworkTopologyStrategy(java.lang.String keyspaceName,
TokenMetadata tokenMetadata,
IEndpointSnitch snitch,
java.util.Map<java.lang.String,java.lang.String> configOptions) |
PropertyFileSnitch() |
YamlFileNetworkTopologySnitch()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
MessagingService.listen(java.net.InetAddress localEp)
Listen on the specified port.
|
Modifier and Type | Method and Description |
---|---|
static void |
MigrationManager.announceColumnFamilyDrop(java.lang.String ksName,
java.lang.String cfName) |
static void |
MigrationManager.announceColumnFamilyUpdate(CFMetaData cfm,
boolean fromThrift) |
static void |
MigrationManager.announceKeyspaceDrop(java.lang.String ksName) |
static void |
MigrationManager.announceKeyspaceUpdate(KSMetaData ksm) |
static void |
MigrationManager.announceNewColumnFamily(CFMetaData cfm) |
static void |
MigrationManager.announceNewKeyspace(KSMetaData ksm) |
static void |
MigrationManager.announceNewKeyspace(KSMetaData ksm,
long timestamp) |
void |
StorageService.checkForEndpointCollision() |
void |
StorageService.initClient() |
void |
StorageService.initClient(int ringDelay) |
void |
StorageService.initServer() |
void |
StorageService.initServer(int delay) |
java.util.Collection<Token> |
StorageService.prepareReplacementInfo() |
Modifier and Type | Method and Description |
---|---|
static void |
SSTableExport.main(java.lang.String[] args)
Given arguments specifying an SSTable, and optionally an output file,
export the contents of the SSTable to JSON.
|
static void |
SSTableImport.main(java.lang.String[] args)
Converts JSON to an SSTable file.
|
Modifier and Type | Method and Description |
---|---|
static <T> java.lang.Class<T> |
FBUtilities.classForName(java.lang.String classname,
java.lang.String readable) |
static <T> T |
FBUtilities.construct(java.lang.String classname,
java.lang.String readable)
Constructs an instance of the given class, which must have a no-arg or default constructor.
|
static IAuthenticator |
FBUtilities.newAuthenticator(java.lang.String className) |
static IAuthorizer |
FBUtilities.newAuthorizer(java.lang.String className) |
static IAllocator |
FBUtilities.newOffHeapAllocator(java.lang.String offheap_allocator) |
static IPartitioner |
FBUtilities.newPartitioner(java.lang.String partitionerClassName) |
static java.lang.String |
FBUtilities.resourceToFile(java.lang.String filename) |
Copyright © 2014 The Apache Software Foundation