io.vertx.ext.web.handler.graphql

## Class VertxPropertyDataFetcher

- java.lang.Object
- - graphql.schema.PropertyDataFetcher
  - - io.vertx.ext.web.handler.graphql.VertxPropertyDataFetcher

- All Implemented Interfaces:
    graphql.schema.DataFetcher, graphql.TrivialDataFetcher

      public class VertxPropertyDataFetcher
      extends graphql.schema.PropertyDataFetcher

  Extends `PropertyDataFetcher` so that properties can be read from a `JsonObject`.
  Author:
    Thomas Segismont

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `VertxPropertyDataFetcher(String propertyName)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Object` | `get(graphql.schema.DataFetchingEnvironment environment)`

    - ### Methods inherited from class graphql.schema.PropertyDataFetcher

      `clearReflectionCache, fetching, fetching, getPropertyName, setUseNegativeCache, setUseSetAccessible`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### VertxPropertyDataFetcher

          public VertxPropertyDataFetcher(String propertyName)

  - ### Method Detail

    - #### get

          public Object get(graphql.schema.DataFetchingEnvironment environment)

      Specified by:
        `get` in interface `graphql.schema.DataFetcher`
      Overrides:
        `get` in class `graphql.schema.PropertyDataFetcher`

Copyright © 2020 Eclipse. All rights reserved.