Package com.gridgain.cdc.gg9togg8
Interface ConversionService
- All Known Implementing Classes:
ConversionServiceImpl
public interface ConversionService
Service for converting GG9 tuples to GG8 compatible objects.
-
Method Summary
Modifier and TypeMethodDescription@Nullable ObjectconvertKeyTuple(org.apache.ignite.table.Tuple tuple) Converts input key tuple to object compatible with GG8 requirements.@Nullable ObjectconvertValTuple(org.apache.ignite.table.Tuple tuple) Converts input value tuple to object compatible with GG8 requirements.
-
Method Details
-
convertKeyTuple
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
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.
-