blob: 48b795b422b87e8ba2ba60e0acc17c25d767946b [file] [log] [blame]
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.apache.cassandra.tools.nodetool.stats;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
public class StatsTable
{
public String fullName;
public String keyspaceName;
public String tableName;
public boolean isIndex;
public boolean isLeveledSstable = false;
public Object sstableCount;
public Object oldSSTableCount;
public String spaceUsedLive;
public String spaceUsedTotal;
public String spaceUsedBySnapshotsTotal;
public boolean offHeapUsed = false;
public String offHeapMemoryUsedTotal;
public Object sstableCompressionRatio;
public Object numberOfPartitionsEstimate;
public Object memtableCellCount;
public String memtableDataSize;
public boolean memtableOffHeapUsed = false;
public String memtableOffHeapMemoryUsed;
public Object memtableSwitchCount;
public long localReadCount;
public double localReadLatencyMs;
public long localWriteCount;
public double localWriteLatencyMs;
public Object pendingFlushes;
public Object bloomFilterFalsePositives;
public Object bloomFilterFalseRatio;
public String bloomFilterSpaceUsed;
public boolean bloomFilterOffHeapUsed = false;
public String bloomFilterOffHeapMemoryUsed;
public boolean indexSummaryOffHeapUsed = false;
public String indexSummaryOffHeapMemoryUsed;
public boolean compressionMetadataOffHeapUsed = false;
public String compressionMetadataOffHeapMemoryUsed;
public long compactedPartitionMinimumBytes;
public long compactedPartitionMaximumBytes;
public long compactedPartitionMeanBytes;
public double percentRepaired;
public long bytesRepaired;
public long bytesUnrepaired;
public long bytesPendingRepair;
public double averageLiveCellsPerSliceLastFiveMinutes;
public long maximumLiveCellsPerSliceLastFiveMinutes;
public double averageTombstonesPerSliceLastFiveMinutes;
public long maximumTombstonesPerSliceLastFiveMinutes;
public String droppedMutations;
public List<String> sstablesInEachLevel = new ArrayList<>();
public List<String> sstableBytesInEachLevel = new ArrayList<>();
public int[] sstableCountPerTWCSBucket = null;
public Boolean isInCorrectLocation = null; // null: option not active
public double droppableTombstoneRatio;
public Map<String, String> topSizePartitions;
public Map<String, Long> topTombstonePartitions;
public String topSizePartitionsLastUpdate;
public String topTombstonePartitionsLastUpdate;
}