Interface ResultAdapter<F,T>

All Known Implementing Classes:
GraphModelAdapter, GraphRowModelAdapter, RestModelAdapter, RowModelAdapter

public interface ResultAdapter<F,T>
This adapter interface should be implemented by all drivers
Author:
Vince Bickers, Michael J. Simons
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final Pattern
     
  • Method Summary

    Modifier and Type
    Method
    Description
    adapt(F result)
     
    static boolean
    Helper method that checks whether the given result key ("column name") describes a node generated by pattern comprehension.
  • Field Details

    • PATTERN_COMPREHENSION_PATTERN

      static final Pattern PATTERN_COMPREHENSION_PATTERN
  • Method Details

    • describesGeneratedNode

      static boolean describesGeneratedNode(String resultKey)
      Helper method that checks whether the given result key ("column name") describes a node generated by pattern comprehension.
      Parameters:
      resultKey -
      Returns:
      True, if the result key describes a node generated by pattern comprehension
    • adapt

      T adapt(F result)