Plucene::Store::OutputStream.3pm

Langue: en

Version: 2008-03-01 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

Plucene::Store::OutputStream - a random-access output stream

SYNOPSIS

         # isa Plucene::Store::InputStream
 
 

DESCRIPTION

This is an abstract class for output to a file in a Directory. A random-access output stream. Used for all Plucene index output operations.

METHODS


new

Create a new Plucene::Store::OutputStream

clone

Clone this

fh / read / seek / tell / getc / print / eof / close

File operations

write_byte

This will write a single byte.

write_int

This will write an int as four bytes.

write_vint

This will write an int in a variable length format.

write_long

This will write a long as eight bytes.

write_vlong

This will write a long in variable length format.

write_string

This will write a string.