Class ReflectiveSchema.FieldSelector

  • All Implemented Interfaces:
    Function<java.lang.Object[]>, Function1<java.lang.Object,​java.lang.Object[]>
    Enclosing class:

    private static class ReflectiveSchema.FieldSelector
    extends java.lang.Object
    implements Function1<java.lang.Object,​java.lang.Object[]>
    Function that returns an array of a given object's field values.
    • Field Summary

      Modifier and Type Field Description
      private java.lang.reflect.Field[] fields  
    • Constructor Summary

      Constructor Description
      FieldSelector​(java.lang.Class elementType)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object[] apply​(java.lang.Object o)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • fields

        private final java.lang.reflect.Field[] fields
    • Constructor Detail

      • FieldSelector

        FieldSelector​(java.lang.Class elementType)
    • Method Detail

      • apply

        public java.lang.Object[] apply​(java.lang.Object o)
        Specified by:
        apply in interface Function1<java.lang.Object,​java.lang.Object[]>