Class RVElasticsearchDataSource

java.lang.Object
io.revealbi.core.data.RVDashboardDataSource
io.revealbi.core.data.RVElasticsearchDataSource
All Implemented Interfaces:
IProcessDataOnServerDataSource

public class RVElasticsearchDataSource extends RVDashboardDataSource implements IProcessDataOnServerDataSource
Elasticsearch data source.
  • Field Details

  • Constructor Details

    • RVElasticsearchDataSource

      public RVElasticsearchDataSource()
  • Method Details

    • getCertificateFingerprint

      public String getCertificateFingerprint()
      (Optional) Gets or sets the hex-encoded SHA-256 fingerprint of the Elasticsearch CA certificate used to establish trust for SSL/TLS connections.
      Returns:
    • setCertificateFingerprint

      public void setCertificateFingerprint(String certificateFingerprint)
      (Optional) Gets or sets the hex-encoded SHA-256 fingerprint of the Elasticsearch CA certificate used to establish trust for SSL/TLS connections.
      Parameters:
      certificateFingerprint -
    • getNodes

      public List<String> getNodes()
      Gets or sets the list of Elasticsearch node endpoints to connect to in the cluster.
      Returns:
    • setNodes

      public void setNodes(List<String> nodes)
      Gets or sets the list of Elasticsearch node endpoints to connect to in the cluster.
      Parameters:
      nodes -
    • getFieldMultiValueLeniency

      public Boolean getFieldMultiValueLeniency()
      (Optional) Gets or sets the flag to control the behavior when SQL queries encounter fields with multiple values. If false, an error is returned for fields containing array values. If true, returns the first value from the array with no guarantee of consistent ordering. Defaults to false.
      Returns:
    • setFieldMultiValueLeniency

      public void setFieldMultiValueLeniency(Boolean fieldMultiValueLeniency)
      (Optional) Gets or sets the flag to control the behavior when SQL queries encounter fields with multiple values. If false, an error is returned for fields containing array values. If true, returns the first value from the array with no guarantee of consistent ordering. Defaults to false.
      Parameters:
      fieldMultiValueLeniency -
    • getProcessDataOnServerDefaultValue

      public boolean getProcessDataOnServerDefaultValue()
      Gets the default value for "Process Data on Server" option for this data source. The end user can still change the value, unless getProcessDataOnServerReadOnly() is true.
      Specified by:
      getProcessDataOnServerDefaultValue in interface IProcessDataOnServerDataSource
      Returns:
      the default value for the "Process Data on Server" option
    • setProcessDataOnServerDefaultValue

      public void setProcessDataOnServerDefaultValue(boolean processDataOnServerDefaultValue)
      Sets the default value for "Process Data on Server" option for this data source. The end user can still change the value, unless setProcessDataOnServerReadOnly(boolean) is true.
      Specified by:
      setProcessDataOnServerDefaultValue in interface IProcessDataOnServerDataSource
      Parameters:
      processDataOnServerDefaultValue - the default value
    • getProcessDataOnServerReadOnly

      public boolean getProcessDataOnServerReadOnly()
      When true, the user will not be allowed to change the value for "Process Data on Server" option and the default value will be used.
      Specified by:
      getProcessDataOnServerReadOnly in interface IProcessDataOnServerDataSource
      Returns:
      true if the option is read-only
    • setProcessDataOnServerReadOnly

      public void setProcessDataOnServerReadOnly(boolean processDataOnServerReadOnly)
      When set to true, the user will not be allowed to change the value for "Process Data on Server" option and the default value will be used.
      Specified by:
      setProcessDataOnServerReadOnly in interface IProcessDataOnServerDataSource
      Parameters:
      processDataOnServerReadOnly - true to make the option read-only
    • getProviderKey

      public String getProviderKey()
      Specified by:
      getProviderKey in class RVDashboardDataSource