Package org.apache.cassandra.tools
Class NodeTool.NodeToolCmd
- java.lang.Object
-
- org.apache.cassandra.tools.NodeTool.NodeToolCmd
-
- Direct Known Subclasses:
Assassinate
,BootstrapResume
,CIDRFilteringStats
,Cleanup
,ClearSnapshot
,ClientStats
,Compact
,CompactionHistory
,CompactionStats
,DataPaths
,Decommission
,DescribeCluster
,DescribeRing
,DisableAuditLog
,DisableAutoCompaction
,DisableBackup
,DisableBinary
,DisableFullQueryLog
,DisableGossip
,DisableHandoff
,DisableHintsForDC
,DisableOldProtocolVersions
,Drain
,DropCIDRGroup
,EnableAuditLog
,EnableAutoCompaction
,EnableBackup
,EnableBinary
,EnableFullQueryLog
,EnableGossip
,EnableHandoff
,EnableHintsForDC
,EnableOldProtocolVersions
,FailureDetectorInfo
,Flush
,ForceCompact
,GarbageCollect
,GcStats
,GetAuditLog
,GetAuthCacheConfig
,GetBatchlogReplayTrottle
,GetCIDRGroupsOfIP
,GetColumnIndexSize
,GetCompactionThreshold
,GetCompactionThroughput
,GetConcurrency
,GetConcurrentCompactors
,GetConcurrentViewBuilders
,GetDefaultKeyspaceRF
,GetEndpoints
,GetFullQueryLog
,GetInterDCStreamThroughput
,GetLoggingLevels
,GetMaxHintWindow
,GetSeeds
,GetSnapshotThrottle
,GetSSTables
,GetStreamThroughput
,GetTimeout
,GetTraceProbability
,GossipInfo
,Import
,Info
,InvalidateCIDRPermissionsCache
,InvalidateCounterCache
,InvalidateCredentialsCache
,InvalidateJmxPermissionsCache
,InvalidateKeyCache
,InvalidateNetworkPermissionsCache
,InvalidatePermissionsCache
,InvalidateRolesCache
,InvalidateRowCache
,Join
,ListCIDRGroups
,ListPendingHints
,ListSnapshots
,Move
,NetStats
,PauseHandoff
,ProfileLoad
,ProxyHistograms
,RangeKeySample
,Rebuild
,RebuildIndex
,RecompressSSTables
,Refresh
,RefreshSizeEstimates
,ReloadCIDRGroupsCache
,ReloadLocalSchema
,ReloadSeeds
,ReloadSslCertificates
,ReloadTriggers
,RelocateSSTables
,RemoveNode
,Repair
,RepairAdmin
,ReplayBatchlog
,ResetFullQueryLog
,ResetLocalSchema
,ResumeHandoff
,Ring
,Scrub
,SetAuthCacheConfig
,SetBatchlogReplayThrottle
,SetCacheCapacity
,SetCacheKeysToSave
,SetColumnIndexSize
,SetCompactionThreshold
,SetCompactionThroughput
,SetConcurrency
,SetConcurrentCompactors
,SetConcurrentViewBuilders
,SetDefaultKeyspaceRF
,SetHintedHandoffThrottleInKB
,SetInterDCStreamThroughput
,SetLoggingLevel
,SetMaxHintWindow
,SetSnapshotThrottle
,SetStreamThroughput
,SetTimeout
,SetTraceProbability
,Sjk
,Snapshot
,Status
,StatusAutoCompaction
,StatusBackup
,StatusBinary
,StatusGossip
,StatusHandoff
,Stop
,StopDaemon
,TableHistograms
,TableStats
,TpStats
,TruncateHints
,UpdateCIDRGroup
,UpgradeSSTable
,Verify
,Version
,ViewBuildStatus
- Enclosing class:
- NodeTool
public abstract static class NodeTool.NodeToolCmd extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static class
NodeTool.NodeToolCmd.KeyspaceSet
-
Constructor Summary
Constructors Constructor Description NodeToolCmd()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract void
execute(NodeProbe probe)
protected java.util.List<java.lang.String>
parseOptionalKeyspace(java.util.List<java.lang.String> cmdArgs, NodeProbe nodeProbe)
protected java.util.List<java.lang.String>
parseOptionalKeyspace(java.util.List<java.lang.String> cmdArgs, NodeProbe nodeProbe, NodeTool.NodeToolCmd.KeyspaceSet defaultKeyspaceSet)
protected java.lang.String[]
parseOptionalTables(java.util.List<java.lang.String> cmdArgs)
protected java.lang.String[]
parsePartitionKeys(java.util.List<java.lang.String> cmdArgs)
void
run(INodeProbeFactory nodeProbeFactory, Output output)
void
runInternal()
-
-
-
Field Detail
-
printPort
protected boolean printPort
-
output
protected Output output
-
-
Method Detail
-
run
public void run(INodeProbeFactory nodeProbeFactory, Output output)
-
runInternal
public void runInternal()
-
execute
protected abstract void execute(NodeProbe probe)
-
parseOptionalKeyspace
protected java.util.List<java.lang.String> parseOptionalKeyspace(java.util.List<java.lang.String> cmdArgs, NodeProbe nodeProbe)
-
parseOptionalKeyspace
protected java.util.List<java.lang.String> parseOptionalKeyspace(java.util.List<java.lang.String> cmdArgs, NodeProbe nodeProbe, NodeTool.NodeToolCmd.KeyspaceSet defaultKeyspaceSet)
-
parseOptionalTables
protected java.lang.String[] parseOptionalTables(java.util.List<java.lang.String> cmdArgs)
-
parsePartitionKeys
protected java.lang.String[] parsePartitionKeys(java.util.List<java.lang.String> cmdArgs)
-
-