Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class RevisionFile

    Describes a file in a IRevision. A file has a source, which allows a single revision to contain files from multiple sources (e.g. multiple indexes).

    Inheritance
    System.Object
    RevisionFile
    Implements
    System.IEquatable<RevisionFile>
    Inherited Members
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: Lucene.Net.Replicator
    Assembly: Lucene.Net.Replicator.dll
    Syntax
    public class RevisionFile : IEquatable<RevisionFile>
    Remarks
    Note

    This API is experimental and might change in incompatible ways in the next release.

    Constructors

    | Improve this Doc View Source

    RevisionFile(String, Int64)

    Constructor with the given file name and optionally length.

    Declaration
    public RevisionFile(string fileName, long length = -1L)
    Parameters
    Type Name Description
    System.String fileName

    The name of the file

    System.Int64 length

    Optional, the length of the file.

    Properties

    | Improve this Doc View Source

    FileName

    Gets the name of the file.

    Declaration
    public string FileName { get; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    Length

    Gets or sets the length of the file denoted by FileName.

    Declaration
    public long Length { get; set; }
    Property Value
    Type Description
    System.Int64

    Methods

    | Improve this Doc View Source

    Equals(RevisionFile)

    Declaration
    public virtual bool Equals(RevisionFile other)
    Parameters
    Type Name Description
    RevisionFile other
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Equals(Object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    System.Object obj
    Returns
    Type Description
    System.Boolean
    Overrides
    System.Object.Equals(System.Object)
    | Improve this Doc View Source

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32
    Overrides
    System.Object.GetHashCode()
    | Improve this Doc View Source

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String
    Overrides
    System.Object.ToString()

    Implements

    System.IEquatable<T>
    • Improve this Doc
    • View Source
    Back to top Copyright © 2022 The Apache Software Foundation, Licensed under the Apache License, Version 2.0
    Apache Lucene.Net, Lucene.Net, Apache, the Apache feather logo, and the Apache Lucene.Net project logo are trademarks of The Apache Software Foundation.
    All other marks mentioned may be trademarks or registered trademarks of their respective owners.