The SegmentsGenCommit type exposes the following members.

Methods

  NameDescription
Public methodDelete (Overrides IndexCommit..::..Delete()()()().)
Public methodEquals
Two IndexCommits are equal if both their Directory and versions are equal.
(Inherited from IndexCommit.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetDirectory (Overrides IndexCommit..::..GetDirectory()()()().)
Public methodGetFileNames (Overrides IndexCommit..::..GetFileNames()()()().)
Public methodGetGeneration (Overrides IndexCommit..::..GetGeneration()()()().)
Public methodGetHashCode (Inherited from IndexCommit.)
Public methodGetSegmentsFileName
Get the segments_n file for the generation found in the segments.gen file.
(Overrides IndexCommit..::..GetSegmentsFileName()()()().)
Public methodGetTimestamp
Convenience method that returns the last modified time of the segments_N file corresponding to this index commit, equivalent to getDirectory().fileModified(getSegmentsFileName()).
(Inherited from IndexCommit.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetUserData (Overrides IndexCommit..::..GetUserData()()()().)
Public methodGetVersion (Overrides IndexCommit..::..GetVersion()()()().)
Public methodIsDeleted (Overrides IndexCommit..::..IsDeleted()()()().)
Public methodIsOptimized (Overrides IndexCommit..::..IsOptimized()()()().)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)

See Also