Search Results for

    Show / Hide Table of Contents

    Class HdfsRepositorySettingsDescriptor

    Snapshot repository settings for IHdfsRepository

    Inheritance
    object
    DescriptorBase<HdfsRepositorySettingsDescriptor, IHdfsRepositorySettings>
    HdfsRepositorySettingsDescriptor
    Implements
    IDescriptor
    IHdfsRepositorySettings
    IRepositorySettings
    Inherited Members
    DescriptorBase<HdfsRepositorySettingsDescriptor, IHdfsRepositorySettings>.Self
    DescriptorBase<HdfsRepositorySettingsDescriptor, IHdfsRepositorySettings>.Assign<TValue>(TValue, Action<IHdfsRepositorySettings, TValue>)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: OpenSearch.Client
    Assembly: OpenSearch.Client.dll
    Syntax
    public class HdfsRepositorySettingsDescriptor : DescriptorBase<HdfsRepositorySettingsDescriptor, IHdfsRepositorySettings>, IDescriptor, IHdfsRepositorySettings, IRepositorySettings

    Methods

    | Edit this page View Source

    ChunkSize(string)

    Big files can be broken down into chunks during snapshotting if needed. The chunk size can be specified in bytes or by using size value notation, i.e. 1g, 10m, 5k. Disabled by default

    Declaration
    public HdfsRepositorySettingsDescriptor ChunkSize(string chunkSize)
    Parameters
    Type Name Description
    string chunkSize
    Returns
    Type Description
    HdfsRepositorySettingsDescriptor
    | Edit this page View Source

    Compress(bool?)

    When set to true metadata files are stored in compressed format. This setting doesn't affect index files that are already compressed by default. Defaults to false.

    Declaration
    public HdfsRepositorySettingsDescriptor Compress(bool? compress = true)
    Parameters
    Type Name Description
    bool? compress
    Returns
    Type Description
    HdfsRepositorySettingsDescriptor
    | Edit this page View Source

    ConcurrentStreams(int?)

    Throttles the number of streams (per node) preforming snapshot operation. Defaults to 5

    Declaration
    public HdfsRepositorySettingsDescriptor ConcurrentStreams(int? concurrentStreams)
    Parameters
    Type Name Description
    int? concurrentStreams
    Returns
    Type Description
    HdfsRepositorySettingsDescriptor
    | Edit this page View Source

    ConfigurationLocation(string)

    Hadoop configuration XML to be loaded (use commas for multi values)

    Declaration
    public HdfsRepositorySettingsDescriptor ConfigurationLocation(string configurationLocation)
    Parameters
    Type Name Description
    string configurationLocation
    Returns
    Type Description
    HdfsRepositorySettingsDescriptor
    | Edit this page View Source

    InlinedHadoopConfiguration(Func<FluentDictionary<string, object>, FluentDictionary<string, object>>)

    'inlined' key=value added to the Hadoop configuration

    Declaration
    public HdfsRepositorySettingsDescriptor InlinedHadoopConfiguration(Func<FluentDictionary<string, object>, FluentDictionary<string, object>> inlineConfig)
    Parameters
    Type Name Description
    Func<FluentDictionary<string, object>, FluentDictionary<string, object>> inlineConfig
    Returns
    Type Description
    HdfsRepositorySettingsDescriptor
    | Edit this page View Source

    LoadDefaults(bool?)

    Whether to load the default Hadoop configuration (default) or not

    Declaration
    public HdfsRepositorySettingsDescriptor LoadDefaults(bool? loadDefaults = true)
    Parameters
    Type Name Description
    bool? loadDefaults
    Returns
    Type Description
    HdfsRepositorySettingsDescriptor
    | Edit this page View Source

    Path(string)

    The path with the file-system where data is stored/loaded. Required

    Declaration
    public HdfsRepositorySettingsDescriptor Path(string path)
    Parameters
    Type Name Description
    string path
    Returns
    Type Description
    HdfsRepositorySettingsDescriptor
    | Edit this page View Source

    Uri(string)

    The Hadoop file-system URI. Optional

    Declaration
    public HdfsRepositorySettingsDescriptor Uri(string uri)
    Parameters
    Type Name Description
    string uri
    Returns
    Type Description
    HdfsRepositorySettingsDescriptor

    Implements

    IDescriptor
    IHdfsRepositorySettings
    IRepositorySettings

    Extension Methods

    SuffixExtensions.Suffix(object, string)
    • Edit this page
    • View Source
    In this article
    • Methods
      • ChunkSize(string)
      • Compress(bool?)
      • ConcurrentStreams(int?)
      • ConfigurationLocation(string)
      • InlinedHadoopConfiguration(Func<FluentDictionary<string, object>, FluentDictionary<string, object>>)
      • LoadDefaults(bool?)
      • Path(string)
      • Uri(string)
    • Implements
    • Extension Methods
    Back to top Generated by DocFX