class ApacheCrunch::FormatToken

Abstract for a token in a log format

Public Instance Methods

captured?() click to toggle source
# File lib/format_token.rb, line 12
def captured?; raise NotImplementedError; end
derivation_rule() click to toggle source
# File lib/format_token.rb, line 13
def derivation_rule; raise NotImplementedError; end
name() click to toggle source
# File lib/format_token.rb, line 10
def name; raise NotImplementedError; end
populate!() click to toggle source

Performs whatever initial population is necessary for the token.

# File lib/format_token.rb, line 8
def populate!; raise NotImplementedError; end
regex() click to toggle source
# File lib/format_token.rb, line 11
def regex; raise NotImplementedError; end