Package org.yamcs.yarch.rocksdb.protobuf
Interface Tablespace.TablespaceRecordOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Tablespace.TablespaceRecord
,Tablespace.TablespaceRecord.Builder
- Enclosing class:
- Tablespace
public static interface Tablespace.TablespaceRecordOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbucketPropertiesbucketPropertiesused for HISTOGRAMcom.google.protobuf.ByteString
used for HISTOGRAMused for all record types if not specified then instanceName = tablespaceNamecom.google.protobuf.ByteString
used for all record types if not specified then instanceName = tablespaceNameint
getMemberId
(int index) used for PARCHIVE_AGGARR_INFOint
used for PARCHIVE_AGGARR_INFOused for PARCHIVE_AGGARR_INFOint
used for PARCHIVE_AGGARR_INFO to store the numeric type (engType, rawType) of the parameterused by the PARCHIVE_DATA to associate parameter ids to (parameter qualified name, parameterType) tbsIndex is the parameter id parameterType is a number assigned to (rawType,engType) combination parameterFqn is the parameter fully qualified name (something like /system/subsystem1/subsystem2/paraName)com.google.protobuf.ByteString
used by the PARCHIVE_DATA to associate parameter ids to (parameter qualified name, parameterType) tbsIndex is the parameter id parameterType is a number assigned to (rawType,engType) combination parameterFqn is the parameter fully qualified name (something like /system/subsystem1/subsystem2/paraName)int
optional uint32 parameterType = 9;
if partitioning is not used, this indicates that parameter archive data is stored in separate column family if partitioning is used, each partition has the property partitionCf indicating the name of the column family if this is not set, the parameter archive is not stored in separate column family (databases created with Yamcs versions prior to 5.8.1)com.google.protobuf.ByteString
if partitioning is not used, this indicates that parameter archive data is stored in separate column family if partitioning is used, each partition has the property partitionCf indicating the name of the column family if this is not set, the parameter archive is not stored in separate column family (databases created with Yamcs versions prior to 5.8.1)used for TABLE_PARTITION, HISTOGRAM and PARCHIVE: if partition by time - partitionDir is subdirectory name (usually something like 2017/11) - partitionStart/End are the times representing partition start(inclusive) and end (exclusive)partitioning schema used currently for parameter archivecom.google.protobuf.ByteString
partitioning schema used currently for parameter archiveused for TABLE_PARTITION, HISTOGRAM and PARCHIVE: if partition by time - partitionDir is subdirectory name (usually something like 2017/11) - partitionStart/End are the times representing partition start(inclusive) and end (exclusive)com.google.protobuf.ByteString
used for TABLE_PARTITION: if partitioned by value - the valueused for SECONDARY_INDEXused for SECONDARY_INDEXused for TABLE_DEFINITIONused for TABLE_DEFINITIONused for TABLE_DEFINITION, TABLE_PARTITION, HISTOGRAM and SECONDARY_INDEXcom.google.protobuf.ByteString
used for TABLE_DEFINITION, TABLE_PARTITION, HISTOGRAM and SECONDARY_INDEXint
optional uint32 tbsIndex = 1;
used for TM_INDEXcom.google.protobuf.ByteString
used for TM_INDEXgetType()
optional .TablespaceRecord.Type type = 2;
boolean
bucketPropertiesboolean
used for HISTOGRAMboolean
used for all record types if not specified then instanceName = tablespaceNameboolean
used for PARCHIVE_AGGARR_INFO to store the numeric type (engType, rawType) of the parameterboolean
used by the PARCHIVE_DATA to associate parameter ids to (parameter qualified name, parameterType) tbsIndex is the parameter id parameterType is a number assigned to (rawType,engType) combination parameterFqn is the parameter fully qualified name (something like /system/subsystem1/subsystem2/paraName)boolean
optional uint32 parameterType = 9;
boolean
if partitioning is not used, this indicates that parameter archive data is stored in separate column family if partitioning is used, each partition has the property partitionCf indicating the name of the column family if this is not set, the parameter archive is not stored in separate column family (databases created with Yamcs versions prior to 5.8.1)boolean
used for TABLE_PARTITION, HISTOGRAM and PARCHIVE: if partition by time - partitionDir is subdirectory name (usually something like 2017/11) - partitionStart/End are the times representing partition start(inclusive) and end (exclusive)boolean
partitioning schema used currently for parameter archiveboolean
used for TABLE_PARTITION: if partitioned by value - the valueboolean
used for SECONDARY_INDEXboolean
used for TABLE_DEFINITIONboolean
used for TABLE_DEFINITION, TABLE_PARTITION, HISTOGRAM and SECONDARY_INDEXboolean
optional uint32 tbsIndex = 1;
boolean
used for TM_INDEXboolean
hasType()
optional .TablespaceRecord.Type type = 2;
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasTbsIndex
boolean hasTbsIndex()optional uint32 tbsIndex = 1;
- Returns:
- Whether the tbsIndex field is set.
-
getTbsIndex
int getTbsIndex()optional uint32 tbsIndex = 1;
- Returns:
- The tbsIndex.
-
hasType
boolean hasType()optional .TablespaceRecord.Type type = 2;
- Returns:
- Whether the type field is set.
-
getType
Tablespace.TablespaceRecord.Type getType()optional .TablespaceRecord.Type type = 2;
- Returns:
- The type.
-
hasInstanceName
boolean hasInstanceName()used for all record types if not specified then instanceName = tablespaceName
optional string instanceName = 3;
- Returns:
- Whether the instanceName field is set.
-
getInstanceName
String getInstanceName()used for all record types if not specified then instanceName = tablespaceName
optional string instanceName = 3;
- Returns:
- The instanceName.
-
getInstanceNameBytes
com.google.protobuf.ByteString getInstanceNameBytes()used for all record types if not specified then instanceName = tablespaceName
optional string instanceName = 3;
- Returns:
- The bytes for instanceName.
-
hasTableName
boolean hasTableName()used for TABLE_DEFINITION, TABLE_PARTITION, HISTOGRAM and SECONDARY_INDEX
optional string tableName = 4;
- Returns:
- Whether the tableName field is set.
-
getTableName
String getTableName()used for TABLE_DEFINITION, TABLE_PARTITION, HISTOGRAM and SECONDARY_INDEX
optional string tableName = 4;
- Returns:
- The tableName.
-
getTableNameBytes
com.google.protobuf.ByteString getTableNameBytes()used for TABLE_DEFINITION, TABLE_PARTITION, HISTOGRAM and SECONDARY_INDEX
optional string tableName = 4;
- Returns:
- The bytes for tableName.
-
hasHistogramColumnName
boolean hasHistogramColumnName()used for HISTOGRAM
optional string histogramColumnName = 5;
- Returns:
- Whether the histogramColumnName field is set.
-
getHistogramColumnName
String getHistogramColumnName()used for HISTOGRAM
optional string histogramColumnName = 5;
- Returns:
- The histogramColumnName.
-
getHistogramColumnNameBytes
com.google.protobuf.ByteString getHistogramColumnNameBytes()used for HISTOGRAM
optional string histogramColumnName = 5;
- Returns:
- The bytes for histogramColumnName.
-
hasPartitionValue
boolean hasPartitionValue()used for TABLE_PARTITION: if partitioned by value - the value
optional bytes partitionValue = 6;
- Returns:
- Whether the partitionValue field is set.
-
getPartitionValue
com.google.protobuf.ByteString getPartitionValue()used for TABLE_PARTITION: if partitioned by value - the value
optional bytes partitionValue = 6;
- Returns:
- The partitionValue.
-
hasPartition
boolean hasPartition()used for TABLE_PARTITION, HISTOGRAM and PARCHIVE: if partition by time - partitionDir is subdirectory name (usually something like 2017/11) - partitionStart/End are the times representing partition start(inclusive) and end (exclusive)
optional .TimeBasedPartition partition = 7;
- Returns:
- Whether the partition field is set.
-
getPartition
Tablespace.TimeBasedPartition getPartition()used for TABLE_PARTITION, HISTOGRAM and PARCHIVE: if partition by time - partitionDir is subdirectory name (usually something like 2017/11) - partitionStart/End are the times representing partition start(inclusive) and end (exclusive)
optional .TimeBasedPartition partition = 7;
- Returns:
- The partition.
-
getPartitionOrBuilder
Tablespace.TimeBasedPartitionOrBuilder getPartitionOrBuilder()used for TABLE_PARTITION, HISTOGRAM and PARCHIVE: if partition by time - partitionDir is subdirectory name (usually something like 2017/11) - partitionStart/End are the times representing partition start(inclusive) and end (exclusive)
optional .TimeBasedPartition partition = 7;
-
hasParameterFqn
boolean hasParameterFqn()used by the PARCHIVE_DATA to associate parameter ids to (parameter qualified name, parameterType) tbsIndex is the parameter id parameterType is a number assigned to (rawType,engType) combination parameterFqn is the parameter fully qualified name (something like /system/subsystem1/subsystem2/paraName)
optional string parameterFqn = 8;
- Returns:
- Whether the parameterFqn field is set.
-
getParameterFqn
String getParameterFqn()used by the PARCHIVE_DATA to associate parameter ids to (parameter qualified name, parameterType) tbsIndex is the parameter id parameterType is a number assigned to (rawType,engType) combination parameterFqn is the parameter fully qualified name (something like /system/subsystem1/subsystem2/paraName)
optional string parameterFqn = 8;
- Returns:
- The parameterFqn.
-
getParameterFqnBytes
com.google.protobuf.ByteString getParameterFqnBytes()used by the PARCHIVE_DATA to associate parameter ids to (parameter qualified name, parameterType) tbsIndex is the parameter id parameterType is a number assigned to (rawType,engType) combination parameterFqn is the parameter fully qualified name (something like /system/subsystem1/subsystem2/paraName)
optional string parameterFqn = 8;
- Returns:
- The bytes for parameterFqn.
-
hasParameterType
boolean hasParameterType()optional uint32 parameterType = 9;
- Returns:
- Whether the parameterType field is set.
-
getParameterType
int getParameterType()optional uint32 parameterType = 9;
- Returns:
- The parameterType.
-
hasPartitioningSchema
boolean hasPartitioningSchema()partitioning schema used currently for parameter archive
optional string partitioningSchema = 10;
- Returns:
- Whether the partitioningSchema field is set.
-
getPartitioningSchema
String getPartitioningSchema()partitioning schema used currently for parameter archive
optional string partitioningSchema = 10;
- Returns:
- The partitioningSchema.
-
getPartitioningSchemaBytes
com.google.protobuf.ByteString getPartitioningSchemaBytes()partitioning schema used currently for parameter archive
optional string partitioningSchema = 10;
- Returns:
- The bytes for partitioningSchema.
-
hasBucketProperties
boolean hasBucketProperties()bucketProperties
optional .BucketProperties bucketProperties = 11;
- Returns:
- Whether the bucketProperties field is set.
-
getBucketProperties
Tablespace.BucketProperties getBucketProperties()bucketProperties
optional .BucketProperties bucketProperties = 11;
- Returns:
- The bucketProperties.
-
getBucketPropertiesOrBuilder
Tablespace.BucketPropertiesOrBuilder getBucketPropertiesOrBuilder()bucketProperties
optional .BucketProperties bucketProperties = 11;
-
hasTableDefinition
boolean hasTableDefinition()used for TABLE_DEFINITION
optional .ProtoTableDefinition tableDefinition = 12;
- Returns:
- Whether the tableDefinition field is set.
-
getTableDefinition
Tablespace.ProtoTableDefinition getTableDefinition()used for TABLE_DEFINITION
optional .ProtoTableDefinition tableDefinition = 12;
- Returns:
- The tableDefinition.
-
getTableDefinitionOrBuilder
Tablespace.ProtoTableDefinitionOrBuilder getTableDefinitionOrBuilder()used for TABLE_DEFINITION
optional .ProtoTableDefinition tableDefinition = 12;
-
hasSecondaryIndex
boolean hasSecondaryIndex()used for SECONDARY_INDEX
optional .SecondaryIndex secondaryIndex = 13;
- Returns:
- Whether the secondaryIndex field is set.
-
getSecondaryIndex
Tablespace.SecondaryIndex getSecondaryIndex()used for SECONDARY_INDEX
optional .SecondaryIndex secondaryIndex = 13;
- Returns:
- The secondaryIndex.
-
getSecondaryIndexOrBuilder
Tablespace.SecondaryIndexOrBuilder getSecondaryIndexOrBuilder()used for SECONDARY_INDEX
optional .SecondaryIndex secondaryIndex = 13;
-
hasTmIndexName
boolean hasTmIndexName()used for TM_INDEX
optional string tmIndexName = 14;
- Returns:
- Whether the tmIndexName field is set.
-
getTmIndexName
String getTmIndexName()used for TM_INDEX
optional string tmIndexName = 14;
- Returns:
- The tmIndexName.
-
getTmIndexNameBytes
com.google.protobuf.ByteString getTmIndexNameBytes()used for TM_INDEX
optional string tmIndexName = 14;
- Returns:
- The bytes for tmIndexName.
-
getMemberIdList
used for PARCHIVE_AGGARR_INFO
repeated uint32 memberId = 15;
- Returns:
- A list containing the memberId.
-
getMemberIdCount
int getMemberIdCount()used for PARCHIVE_AGGARR_INFO
repeated uint32 memberId = 15;
- Returns:
- The count of memberId.
-
getMemberId
int getMemberId(int index) used for PARCHIVE_AGGARR_INFO
repeated uint32 memberId = 15;
- Parameters:
index
- The index of the element to return.- Returns:
- The memberId at the given index.
-
hasNumericType
boolean hasNumericType()used for PARCHIVE_AGGARR_INFO to store the numeric type (engType, rawType) of the parameter
optional uint32 numericType = 16;
- Returns:
- Whether the numericType field is set.
-
getNumericType
int getNumericType()used for PARCHIVE_AGGARR_INFO to store the numeric type (engType, rawType) of the parameter
optional uint32 numericType = 16;
- Returns:
- The numericType.
-
hasParchiveCf
boolean hasParchiveCf()if partitioning is not used, this indicates that parameter archive data is stored in separate column family if partitioning is used, each partition has the property partitionCf indicating the name of the column family if this is not set, the parameter archive is not stored in separate column family (databases created with Yamcs versions prior to 5.8.1)
optional string parchiveCf = 17;
- Returns:
- Whether the parchiveCf field is set.
-
getParchiveCf
String getParchiveCf()if partitioning is not used, this indicates that parameter archive data is stored in separate column family if partitioning is used, each partition has the property partitionCf indicating the name of the column family if this is not set, the parameter archive is not stored in separate column family (databases created with Yamcs versions prior to 5.8.1)
optional string parchiveCf = 17;
- Returns:
- The parchiveCf.
-
getParchiveCfBytes
com.google.protobuf.ByteString getParchiveCfBytes()if partitioning is not used, this indicates that parameter archive data is stored in separate column family if partitioning is used, each partition has the property partitionCf indicating the name of the column family if this is not set, the parameter archive is not stored in separate column family (databases created with Yamcs versions prior to 5.8.1)
optional string parchiveCf = 17;
- Returns:
- The bytes for parchiveCf.
-