Module pygw.store.kudu.options
Source code
#
# Copyright (c) 2013-2022 Contributors to the Eclipse Foundation
#
# See the NOTICE file distributed with this work for additional information regarding copyright
# ownership. All rights reserved. This program and the accompanying materials are made available
# under the terms of the Apache License, Version 2.0 which accompanies this distribution and is
# available at http://www.apache.org/licenses/LICENSE-2.0.txt
# ===============================================================================================
from pygw.config import geowave_pkg
from pygw.store import DataStoreOptions
class KuduOptions(DataStoreOptions):
"""
Kudu data store options.
"""
def __init__(self):
super().__init__(geowave_pkg.datastore.kudu.config.KuduRequiredOptions())
def set_kudu_master(self, kudu_master):
"""
Sets the URL for the Kudu master node.
Args:
kudu_master (str): The URL for the Kudu master node.
"""
self._java_ref.setKuduMaster(kudu_master)
def get_kudu_master(self):
"""
Returns:
The URL for the Kudu master node.
"""
return self._java_ref.getKuduMaster()
Classes
class KuduOptions-
Kudu data store options.
Source code
class KuduOptions(DataStoreOptions): """ Kudu data store options. """ def __init__(self): super().__init__(geowave_pkg.datastore.kudu.config.KuduRequiredOptions()) def set_kudu_master(self, kudu_master): """ Sets the URL for the Kudu master node. Args: kudu_master (str): The URL for the Kudu master node. """ self._java_ref.setKuduMaster(kudu_master) def get_kudu_master(self): """ Returns: The URL for the Kudu master node. """ return self._java_ref.getKuduMaster()Ancestors
Methods
def get_kudu_master(self)-
Returns
The URL for the Kudu master node.
Source code
def get_kudu_master(self): """ Returns: The URL for the Kudu master node. """ return self._java_ref.getKuduMaster() def set_kudu_master(self, kudu_master)-
Sets the URL for the Kudu master node.
Args
kudu_master:str- The URL for the Kudu master node.
Source code
def set_kudu_master(self, kudu_master): """ Sets the URL for the Kudu master node. Args: kudu_master (str): The URL for the Kudu master node. """ self._java_ref.setKuduMaster(kudu_master)
Inherited members
DataStoreOptions:get_aggregation_max_range_decompositionget_geowave_namespaceget_max_range_decompositionis_enable_block_cacheis_instance_ofis_persist_data_statisticsis_secondary_indexingis_server_side_library_enabledis_visibility_enabledset_aggregation_max_range_decompositionset_enable_block_cacheset_enable_visibilityset_geowave_namespaceset_max_range_decompositionset_persist_data_statisticsset_secondary_indexingset_server_side_library_enabled