Package org.yamcs.yarch.rocksdb.protobuf
Enum Tablespace.TablespaceRecord.Type
- java.lang.Object
-
- java.lang.Enum<Tablespace.TablespaceRecord.Type>
-
- org.yamcs.yarch.rocksdb.protobuf.Tablespace.TablespaceRecord.Type
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<Tablespace.TablespaceRecord.Type>
- Enclosing class:
- Tablespace.TablespaceRecord
public static enum Tablespace.TablespaceRecord.Type extends Enum<Tablespace.TablespaceRecord.Type> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enumTablespaceRecord.Type
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BUCKETused to store bucket and user objects relevant information: instanceName, bucketPropertiesCCSDS_TM_INDEXused to store CCSDS TM index relevant information: instanceNameHISTOGRAMused to store table histogram data relevant information: instanceName, tableName, columnNamePARCHIVE_DATAused to store ParameterArchive data.PARCHIVE_PGID2PGused as part of the ParameterArchive to keep the parameter group id -> parameter group (list of parameter ids) mapping relevant information: instanceName there is only one record of this type for each instance and ParameterArchivePARCHIVE_PINFOused to store information about the partitions of the ParameterArchive in case they are partitioned by time relevant information: instanceName, partitioningSchema there is only one record of this type for each instance and ParameterArchivePROTOBUFused to store small named protobuf messagesSECONDARY_INDEXsecondary index recordsTABLE_DEFINITIONused to store table definitionsTABLE_PARTITIONused to store table (partition) data relevant information: instanceName, tableName and optionally partitionValue, partitionDir, partitionStart and partitionEndTAGDBused by the tag database relevant information: instanceName
-
Field Summary
Fields Modifier and Type Field Description static intBUCKET_VALUEused to store bucket and user objects relevant information: instanceName, bucketPropertiesstatic intCCSDS_TM_INDEX_VALUEused to store CCSDS TM index relevant information: instanceNamestatic intHISTOGRAM_VALUEused to store table histogram data relevant information: instanceName, tableName, columnNamestatic intPARCHIVE_DATA_VALUEused to store ParameterArchive data.static intPARCHIVE_PGID2PG_VALUEused as part of the ParameterArchive to keep the parameter group id -> parameter group (list of parameter ids) mapping relevant information: instanceName there is only one record of this type for each instance and ParameterArchivestatic intPARCHIVE_PINFO_VALUEused to store information about the partitions of the ParameterArchive in case they are partitioned by time relevant information: instanceName, partitioningSchema there is only one record of this type for each instance and ParameterArchivestatic intPROTOBUF_VALUEused to store small named protobuf messagesstatic intSECONDARY_INDEX_VALUEsecondary index recordsstatic intTABLE_DEFINITION_VALUEused to store table definitionsstatic intTABLE_PARTITION_VALUEused to store table (partition) data relevant information: instanceName, tableName and optionally partitionValue, partitionDir, partitionStart and partitionEndstatic intTAGDB_VALUEused by the tag database relevant information: instanceName
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Tablespace.TablespaceRecord.TypeforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<Tablespace.TablespaceRecord.Type>internalGetValueMap()static Tablespace.TablespaceRecord.TypevalueOf(int value)Deprecated.static Tablespace.TablespaceRecord.TypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static Tablespace.TablespaceRecord.TypevalueOf(String name)Returns the enum constant of this type with the specified name.static Tablespace.TablespaceRecord.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TABLE_PARTITION
public static final Tablespace.TablespaceRecord.Type TABLE_PARTITION
used to store table (partition) data relevant information: instanceName, tableName and optionally partitionValue, partitionDir, partitionStart and partitionEnd
TABLE_PARTITION = 1;
-
HISTOGRAM
public static final Tablespace.TablespaceRecord.Type HISTOGRAM
used to store table histogram data relevant information: instanceName, tableName, columnName
HISTOGRAM = 2;
-
PARCHIVE_PGID2PG
public static final Tablespace.TablespaceRecord.Type PARCHIVE_PGID2PG
used as part of the ParameterArchive to keep the parameter group id -> parameter group (list of parameter ids) mapping relevant information: instanceName there is only one record of this type for each instance and ParameterArchive
PARCHIVE_PGID2PG = 4;
-
PARCHIVE_DATA
public static final Tablespace.TablespaceRecord.Type PARCHIVE_DATA
used to store ParameterArchive data. There is one record for each separate parameter (taking into account that a different type represents a different parameter in the ParameterArchive even if it has the same name) relevant information: instanceName, parameterFqn, parameterType
PARCHIVE_DATA = 5;
-
PARCHIVE_PINFO
public static final Tablespace.TablespaceRecord.Type PARCHIVE_PINFO
used to store information about the partitions of the ParameterArchive in case they are partitioned by time relevant information: instanceName, partitioningSchema there is only one record of this type for each instance and ParameterArchive
PARCHIVE_PINFO = 6;
-
TAGDB
public static final Tablespace.TablespaceRecord.Type TAGDB
used by the tag database relevant information: instanceName
TAGDB = 7;
-
BUCKET
public static final Tablespace.TablespaceRecord.Type BUCKET
used to store bucket and user objects relevant information: instanceName, bucketProperties
BUCKET = 8;
-
CCSDS_TM_INDEX
public static final Tablespace.TablespaceRecord.Type CCSDS_TM_INDEX
used to store CCSDS TM index relevant information: instanceName
CCSDS_TM_INDEX = 9;
-
PROTOBUF
public static final Tablespace.TablespaceRecord.Type PROTOBUF
used to store small named protobuf messages
PROTOBUF = 10;
-
TABLE_DEFINITION
public static final Tablespace.TablespaceRecord.Type TABLE_DEFINITION
used to store table definitions
TABLE_DEFINITION = 11;
-
SECONDARY_INDEX
public static final Tablespace.TablespaceRecord.Type SECONDARY_INDEX
secondary index records
SECONDARY_INDEX = 12;
-
-
Field Detail
-
TABLE_PARTITION_VALUE
public static final int TABLE_PARTITION_VALUE
used to store table (partition) data relevant information: instanceName, tableName and optionally partitionValue, partitionDir, partitionStart and partitionEnd
TABLE_PARTITION = 1;- See Also:
- Constant Field Values
-
HISTOGRAM_VALUE
public static final int HISTOGRAM_VALUE
used to store table histogram data relevant information: instanceName, tableName, columnName
HISTOGRAM = 2;- See Also:
- Constant Field Values
-
PARCHIVE_PGID2PG_VALUE
public static final int PARCHIVE_PGID2PG_VALUE
used as part of the ParameterArchive to keep the parameter group id -> parameter group (list of parameter ids) mapping relevant information: instanceName there is only one record of this type for each instance and ParameterArchive
PARCHIVE_PGID2PG = 4;- See Also:
- Constant Field Values
-
PARCHIVE_DATA_VALUE
public static final int PARCHIVE_DATA_VALUE
used to store ParameterArchive data. There is one record for each separate parameter (taking into account that a different type represents a different parameter in the ParameterArchive even if it has the same name) relevant information: instanceName, parameterFqn, parameterType
PARCHIVE_DATA = 5;- See Also:
- Constant Field Values
-
PARCHIVE_PINFO_VALUE
public static final int PARCHIVE_PINFO_VALUE
used to store information about the partitions of the ParameterArchive in case they are partitioned by time relevant information: instanceName, partitioningSchema there is only one record of this type for each instance and ParameterArchive
PARCHIVE_PINFO = 6;- See Also:
- Constant Field Values
-
TAGDB_VALUE
public static final int TAGDB_VALUE
used by the tag database relevant information: instanceName
TAGDB = 7;- See Also:
- Constant Field Values
-
BUCKET_VALUE
public static final int BUCKET_VALUE
used to store bucket and user objects relevant information: instanceName, bucketProperties
BUCKET = 8;- See Also:
- Constant Field Values
-
CCSDS_TM_INDEX_VALUE
public static final int CCSDS_TM_INDEX_VALUE
used to store CCSDS TM index relevant information: instanceName
CCSDS_TM_INDEX = 9;- See Also:
- Constant Field Values
-
PROTOBUF_VALUE
public static final int PROTOBUF_VALUE
used to store small named protobuf messages
PROTOBUF = 10;- See Also:
- Constant Field Values
-
TABLE_DEFINITION_VALUE
public static final int TABLE_DEFINITION_VALUE
used to store table definitions
TABLE_DEFINITION = 11;- See Also:
- Constant Field Values
-
SECONDARY_INDEX_VALUE
public static final int SECONDARY_INDEX_VALUE
secondary index records
SECONDARY_INDEX = 12;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static Tablespace.TablespaceRecord.Type[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Tablespace.TablespaceRecord.Type c : Tablespace.TablespaceRecord.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Tablespace.TablespaceRecord.Type valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static Tablespace.TablespaceRecord.Type valueOf(int value)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
public static Tablespace.TablespaceRecord.Type forNumber(int value)
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<Tablespace.TablespaceRecord.Type> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static Tablespace.TablespaceRecord.Type valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-