Class StringScalar


  • public class StringScalar
    extends ch.brix.gql.client.Scalar
    The `String` scalar type represents textual data, represented as UTF-8
    character sequences. The String type is most often used by GraphQL to
    represent free-form human-readable text.
    • Method Summary

      Modifier and Type Method Description
      static StringScalar of​(Object value)  
      • Methods inherited from class ch.brix.gql.client.Scalar

        from, getBigDecimal, getBigInteger, getBoolean, getByte, getChar, getDate, getDate, getDateFromUnixMilis, getDateFromUnixSeconds, getDouble, getDuration, getFloat, getInt, getLocale, getLong, getShort, getValue, toString
    • Method Detail

      • of

        public static StringScalar of​(Object value)
        Parameters:
        value - requires correct implementation of .toString() otherwise pass a String