Class: NeoScout::Typer

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

Direct Known Subclasses

GDB_Neo4j::Typer

Instance Method Summary collapse

Instance Method Details

#checked_edge_type?(edge_type) ⇒ Boolean

Returns:

  • (Boolean)

Raises:

  • (NotImplementedError)


15
# File 'lib/neoscout/model.rb', line 15

def checked_edge_type?(edge_type) ; raise NotImplementedError end

#checked_node_type?(node_type) ⇒ Boolean

Returns:

  • (Boolean)

Raises:

  • (NotImplementedError)


14
# File 'lib/neoscout/model.rb', line 14

def checked_node_type?(node_type) ; raise NotImplementedError end

#edge_type(edge) ⇒ Object

Raises:

  • (NotImplementedError)


12
# File 'lib/neoscout/model.rb', line 12

def edge_type(edge) ; raise NotImplementedError end

#node_type(node) ⇒ Object

Raises:

  • (NotImplementedError)


11
# File 'lib/neoscout/model.rb', line 11

def node_type(node) ; raise NotImplementedError end

#unknown_edge_type?(type) ⇒ Boolean

Returns:

  • (Boolean)


20
# File 'lib/neoscout/model.rb', line 20

def unknown_edge_type?(type) ; false end

#unknown_node_type?(type) ⇒ Boolean

Returns:

  • (Boolean)


19
# File 'lib/neoscout/model.rb', line 19

def unknown_node_type?(type) ; false end

#valid_value?(value_type, value) ⇒ Boolean

Returns:

  • (Boolean)


17
# File 'lib/neoscout/model.rb', line 17

def valid_value?(value_type, value) ; true end