lsst.dax.apdb geb67518f79+ba1859f325
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
lsst.dax.apdb.apdbCassandra._FrozenApdbCassandraConfig Class Reference

Public Member Functions

 __init__ (self, ApdbCassandraConfig config)
 
str to_json (self)
 
None update (self, str json_str)
 

Public Attributes

 use_insert_id
 
 part_pixelization
 
 part_pix_level
 
 ra_dec_columns
 
 time_partition_tables
 
 time_partition_days
 
 use_insert_id_skips_diaobjects
 

Static Public Attributes

bool use_insert_id
 
str part_pixelization
 
int part_pix_level
 
list ra_dec_columns [str]
 
bool time_partition_tables
 
int time_partition_days
 
bool use_insert_id_skips_diaobjects
 

Detailed Description

Part of the configuration that is saved in metadata table and read back.

The attributes are a subset of attributes in `ApdbCassandraConfig` class.

Parameters
----------
config : `ApdbSqlConfig`
    Configuration used to copy initial values of attributes.

Member Function Documentation

◆ to_json()

str lsst.dax.apdb.apdbCassandra._FrozenApdbCassandraConfig.to_json ( self)
Convert this instance to JSON representation.

◆ update()

None lsst.dax.apdb.apdbCassandra._FrozenApdbCassandraConfig.update ( self,
str json_str )
Update attribute values from a JSON string.

Parameters
----------
json_str : str
    String containing JSON representation of configuration.

The documentation for this class was generated from the following file: