olp-cpp-sdk
1.22.0
|
A model that represents index properties. More...
#include <Catalog.h>
Public Member Functions | |
IndexProperties (const IndexProperties &)=default | |
IndexProperties (IndexProperties &&)=default | |
IndexProperties & | operator= (const IndexProperties &)=default |
IndexProperties & | operator= (IndexProperties &&)=default |
const std::string & | GetTtl () const |
Gets the expiry time (in milliseconds) for data in the index layer. More... | |
std::string & | GetMutableTtl () |
Gets a mutable reference to the expiry time for data in the index layer. More... | |
void | SetTtl (const std::string &value) |
Sets the expiry time for the data in the index layer. More... | |
const std::vector< IndexDefinition > & | GetIndexDefinitions () const |
Gets the IndexDefinition instance. More... | |
std::vector< IndexDefinition > & | GetMutableIndexDefinitions () |
Gets a mutable reference to the IndexDefinition instance. More... | |
void | SetIndexDefinitions (const std::vector< IndexDefinition > &value) |
Sets the IndexDefinition instance. More... | |
A model that represents index properties.
|
inline |
Gets the IndexDefinition
instance.
IndexDefinition
instance.
|
inline |
Gets a mutable reference to the IndexDefinition
instance.
IndexDefinition
instance.
|
inline |
Gets a mutable reference to the expiry time for data in the index layer.
GetTtl
for information of the expiry time.
|
inline |
Gets the expiry time (in milliseconds) for data in the index layer.
The default value is 604800000 (7 days).
|
inline |
Sets the IndexDefinition
instance.
value | The IndexDefinition instance. |
|
inline |
Sets the expiry time for the data in the index layer.
GetTtl
for information of the expiry time.value | The expiry time for the data in the index layer. |