Class LongExtractor

java.lang.Object
com.sap.cloud.sdk.result.LongExtractor
All Implemented Interfaces:
ObjectExtractor<Long>

public class LongExtractor extends Object implements ObjectExtractor<Long>
ObjectExtractor implementation transforming a given ResultElement to a Long.
  • Constructor Details

    • LongExtractor

      public LongExtractor()
  • Method Details

    • extract

      @Nonnull public Long extract(@Nonnull ResultElement resultElement)
      Description copied from interface: ObjectExtractor
      Extracts the value of the given ResultElement as the type T.
      Specified by:
      extract in interface ObjectExtractor<Long>
      Parameters:
      resultElement - The ResultElement to transform.
      Returns:
      The resultElement as the given type.