Class: ApacheCrunch::FormatToken

Inherits:
Object
  • Object
show all
Defined in:
lib/format_token.rb

Overview

Abstract for a token in a log format

Instance Method Summary collapse

Instance Method Details

#captured?Boolean

Returns:

  • (Boolean)

Raises:

  • (NotImplementedError)


12
# File 'lib/format_token.rb', line 12

def captured?; raise NotImplementedError; end

#derivation_ruleObject

Raises:

  • (NotImplementedError)


13
# File 'lib/format_token.rb', line 13

def derivation_rule; raise NotImplementedError; end

#nameObject

Raises:

  • (NotImplementedError)


10
# File 'lib/format_token.rb', line 10

def name; raise NotImplementedError; end

#populate!Object

Performs whatever initial population is necessary for the token.

Raises:

  • (NotImplementedError)


8
# File 'lib/format_token.rb', line 8

def populate!; raise NotImplementedError; end

#regexObject

Raises:

  • (NotImplementedError)


11
# File 'lib/format_token.rb', line 11

def regex; raise NotImplementedError; end