Interface ConversionService

All Known Implementing Classes:
ConversionServiceImpl

public interface ConversionService
Service for converting GG9 tuples to GG8 compatible objects.
  • Method Summary

    Modifier and Type
    Method
    Description
    @Nullable Object
    convertKeyTuple(org.apache.ignite.table.Tuple tuple)
    Converts input key tuple to object compatible with GG8 requirements.
    @Nullable Object
    convertValTuple(org.apache.ignite.table.Tuple tuple)
    Converts input value tuple to object compatible with GG8 requirements.
  • Method Details

    • convertKeyTuple

      @Nullable @Nullable Object convertKeyTuple(org.apache.ignite.table.Tuple tuple)
      Converts input key tuple to object compatible with GG8 requirements.
      Parameters:
      tuple - GG9 tuple.
      Returns:
      Converted tuple. In case of complex (more than one field) types return binary object, simple object otherwise.
    • convertValTuple

      @Nullable @Nullable Object convertValTuple(org.apache.ignite.table.Tuple tuple)
      Converts input value tuple to object compatible with GG8 requirements.
      Parameters:
      tuple - GG9 tuple.
      Returns:
      Converted tuple. In case of complex (more than one field) types return binary object, simple object otherwise.