C# Class Lucene.Net.Facet.Taxonomy.PrintTaxonomyStats

ファイルを表示 Open project: apache/lucenenet Class Usage Examples

Public Methods

Method Description
Main ( string args ) : void

Command-line tool.

PrintStats ( TaxonomyReader r, TextWriter @out, bool printTree ) : void

Recursively prints stats for all ordinals.

PrintTaxonomyStats ( ) : System

Sole constructor.

Private Methods

Method Description
CountAllChildren ( TaxonomyReader r, int ord ) : int
PrintAllChildren ( TextWriter @out, TaxonomyReader r, int ord, string indent, int depth ) : void

Method Details

Main() public static method

Command-line tool.
public static Main ( string args ) : void
args string
return void

PrintStats() public static method

Recursively prints stats for all ordinals.
public static PrintStats ( TaxonomyReader r, TextWriter @out, bool printTree ) : void
r TaxonomyReader
@out System.IO.TextWriter
printTree bool
return void

PrintTaxonomyStats() public method

Sole constructor.
public PrintTaxonomyStats ( ) : System
return System