Sha256: f689f7c89830cba93f844eb36dac6893819be4ada7fe4c9650ca480d0acd78be

Contents?: true

Size: 304 Bytes

Versions: 50

Compression:

Stored size: 304 Bytes

Contents

# A Null writer that does absolutely nothing with records given to it,
# just drops em on the floor.
class Traject::NullWriter
  attr_reader :settings

  def initialize(argSettings)
  end


  def serialize(context)
    # null
  end

  def put(context)
    # null
  end

  def close
    # null
  end

end

Version data entries

50 entries across 50 versions & 1 rubygems

Version Path
traject-3.8.3 lib/traject/null_writer.rb
traject-3.8.2 lib/traject/null_writer.rb
traject-3.8.1 lib/traject/null_writer.rb
traject-3.8.0 lib/traject/null_writer.rb
traject-3.7.0 lib/traject/null_writer.rb
traject-3.6.0 lib/traject/null_writer.rb
traject-3.5.0 lib/traject/null_writer.rb
traject-3.4.0 lib/traject/null_writer.rb
traject-3.3.0 lib/traject/null_writer.rb
traject-3.2.0 lib/traject/null_writer.rb
traject-3.1.0 lib/traject/null_writer.rb
traject-3.1.0.rc1 lib/traject/null_writer.rb
traject-3.0.0 lib/traject/null_writer.rb
traject-3.0.0.alpha.2 lib/traject/null_writer.rb
traject-3.0.0.alpha.1 lib/traject/null_writer.rb
traject-2.3.4-java lib/traject/null_writer.rb
traject-2.3.4 lib/traject/null_writer.rb
traject-2.3.3 lib/traject/null_writer.rb
traject-2.3.3-java lib/traject/null_writer.rb
traject-2.3.2-java lib/traject/null_writer.rb