java.lang.Object
com.espertech.esper.common.internal.event.json.write.JsonWriteUtil

public class JsonWriteUtil extends Object
  • Constructor Details

    • JsonWriteUtil

      public JsonWriteUtil()
  • Method Details

    • writeNullableString

      public static void writeNullableString(JsonWriter writer, String value) throws IOException
      NOTE: Code-generation-invoked method, method name and parameter order matters
      Parameters:
      writer - writer
      value - value
      Throws:
      IOException - io error
    • writeNullableStringToString

      public static void writeNullableStringToString(JsonWriter writer, Object value) throws IOException
      NOTE: Code-generation-invoked method, method name and parameter order matters
      Parameters:
      writer - writer
      value - value
      Throws:
      IOException - io error
    • writeNullableBoolean

      public static void writeNullableBoolean(JsonWriter writer, Boolean value) throws IOException
      NOTE: Code-generation-invoked method, method name and parameter order matters
      Parameters:
      writer - writer
      value - value
      Throws:
      IOException - io error
    • writeNullableNumber

      public static void writeNullableNumber(JsonWriter writer, Object value) throws IOException
      NOTE: Code-generation-invoked method, method name and parameter order matters
      Parameters:
      writer - writer
      value - value
      Throws:
      IOException - io error
    • writeArray2DimString

      public static void writeArray2DimString(JsonWriter writer, String[][] array) throws IOException
      NOTE: Code-generation-invoked method, method name and parameter order matters
      Parameters:
      writer - writer
      array - value
      Throws:
      IOException - io error
    • writeArray2DimCharacter

      public static void writeArray2DimCharacter(JsonWriter writer, Character[][] array) throws IOException
      NOTE: Code-generation-invoked method, method name and parameter order matters
      Parameters:
      writer - writer
      array - value
      Throws:
      IOException - io error
    • writeArray2DimLong

      public static void writeArray2DimLong(JsonWriter writer, Long[][] array) throws IOException
      NOTE: Code-generation-invoked method, method name and parameter order matters
      Parameters:
      writer - writer
      array - value
      Throws:
      IOException - io error
    • writeArray2DimInteger

      public static void writeArray2DimInteger(JsonWriter writer, Integer[][] array) throws IOException
      NOTE: Code-generation-invoked method, method name and parameter order matters
      Parameters:
      writer - writer
      array - value
      Throws:
      IOException - io error
    • writeArray2DimAppClass

      public static void writeArray2DimAppClass(JsonWriter writer, Object[][] array, JsonDelegateFactory factory) throws IOException
      NOTE: Code-generation-invoked method, method name and parameter order matters
      Parameters:
      writer - writer
      array - value
      factory - write class
      Throws:
      IOException - io error
    • writeArray2DimShort

      public static void writeArray2DimShort(JsonWriter writer, Short[][] array) throws IOException
      NOTE: Code-generation-invoked method, method name and parameter order matters
      Parameters:
      writer - writer
      array - value
      Throws:
      IOException - io error
    • writeArray2DimDouble

      public static void writeArray2DimDouble(JsonWriter writer, Double[][] array) throws IOException
      NOTE: Code-generation-invoked method, method name and parameter order matters
      Parameters:
      writer - writer
      array - value
      Throws:
      IOException - io error
    • writeArray2DimFloat

      public static void writeArray2DimFloat(JsonWriter writer, Float[][] array) throws IOException
      NOTE: Code-generation-invoked method, method name and parameter order matters
      Parameters:
      writer - writer
      array - value
      Throws:
      IOException - io error
    • writeArray2DimByte

      public static void writeArray2DimByte(JsonWriter writer, Byte[][] array) throws IOException
      NOTE: Code-generation-invoked method, method name and parameter order matters
      Parameters:
      writer - writer
      array - value
      Throws:
      IOException - io error
    • writeArray2DimBoolean

      public static void writeArray2DimBoolean(JsonWriter writer, Boolean[][] array) throws IOException
      NOTE: Code-generation-invoked method, method name and parameter order matters
      Parameters:
      writer - writer
      array - value
      Throws:
      IOException - io error
    • writeArray2DimBigInteger

      public static void writeArray2DimBigInteger(JsonWriter writer, BigInteger[][] array) throws IOException
      NOTE: Code-generation-invoked method, method name and parameter order matters
      Parameters:
      writer - writer
      array - value
      Throws:
      IOException - io error
    • writeArray2DimObjectToString

      public static void writeArray2DimObjectToString(JsonWriter writer, Object[][] array) throws IOException
      NOTE: Code-generation-invoked method, method name and parameter order matters
      Parameters:
      writer - writer
      array - value
      Throws:
      IOException - io error
    • writeArray2DimBigDecimal

      public static void writeArray2DimBigDecimal(JsonWriter writer, BigDecimal[][] array) throws IOException
      NOTE: Code-generation-invoked method, method name and parameter order matters
      Parameters:
      writer - writer
      array - value
      Throws:
      IOException - io error
    • writeArray2DimBooleanPrimitive

      public static void writeArray2DimBooleanPrimitive(JsonWriter writer, boolean[][] array) throws IOException
      NOTE: Code-generation-invoked method, method name and parameter order matters
      Parameters:
      writer - writer
      array - value
      Throws:
      IOException - io error
    • writeArray2DimBytePrimitive

      public static void writeArray2DimBytePrimitive(JsonWriter writer, byte[][] array) throws IOException
      NOTE: Code-generation-invoked method, method name and parameter order matters
      Parameters:
      writer - writer
      array - value
      Throws:
      IOException - io error
    • writeArray2DimShortPrimitive

      public static void writeArray2DimShortPrimitive(JsonWriter writer, short[][] array) throws IOException
      NOTE: Code-generation-invoked method, method name and parameter order matters
      Parameters:
      writer - writer
      array - value
      Throws:
      IOException - io error
    • writeArray2DimIntPrimitive

      public static void writeArray2DimIntPrimitive(JsonWriter writer, int[][] array) throws IOException
      NOTE: Code-generation-invoked method, method name and parameter order matters
      Parameters:
      writer - writer
      array - value
      Throws:
      IOException - io error
    • writeArray2DimLongPrimitive

      public static void writeArray2DimLongPrimitive(JsonWriter writer, long[][] array) throws IOException
      NOTE: Code-generation-invoked method, method name and parameter order matters
      Parameters:
      writer - writer
      array - value
      Throws:
      IOException - io error
    • writeArray2DimFloatPrimitive

      public static void writeArray2DimFloatPrimitive(JsonWriter writer, float[][] array) throws IOException
      NOTE: Code-generation-invoked method, method name and parameter order matters
      Parameters:
      writer - writer
      array - value
      Throws:
      IOException - io error
    • writeArray2DimDoublePrimitive

      public static void writeArray2DimDoublePrimitive(JsonWriter writer, double[][] array) throws IOException
      NOTE: Code-generation-invoked method, method name and parameter order matters
      Parameters:
      writer - writer
      array - value
      Throws:
      IOException - io error
    • writeArray2DimCharPrimitive

      public static void writeArray2DimCharPrimitive(JsonWriter writer, char[][] array) throws IOException
      NOTE: Code-generation-invoked method, method name and parameter order matters
      Parameters:
      writer - writer
      array - value
      Throws:
      IOException - io error
    • writeArrayString

      public static void writeArrayString(JsonWriter writer, String[] array) throws IOException
      NOTE: Code-generation-invoked method, method name and parameter order matters
      Parameters:
      writer - writer
      array - value
      Throws:
      IOException - io error
    • writeCollectionString

      public static void writeCollectionString(JsonWriter writer, Collection<String> values) throws IOException
      NOTE: Code-generation-invoked method, method name and parameter order matters
      Parameters:
      writer - writer
      values - value
      Throws:
      IOException - io error
    • writeCollectionAppClass

      public static void writeCollectionAppClass(JsonWriter writer, Collection values, JsonDelegateFactory factory) throws IOException
      NOTE: Code-generation-invoked method, method name and parameter order matters
      Parameters:
      writer - writer
      values - value
      factory - delegate factory
      Throws:
      IOException - io error
    • writeArrayAppClass

      public static void writeArrayAppClass(JsonWriter writer, Object[] values, JsonDelegateFactory factory) throws IOException
      NOTE: Code-generation-invoked method, method name and parameter order matters
      Parameters:
      writer - writer
      values - value
      factory - delegate factory
      Throws:
      IOException - io error
    • writeArrayCharacter

      public static void writeArrayCharacter(JsonWriter writer, Character[] array) throws IOException
      NOTE: Code-generation-invoked method, method name and parameter order matters
      Parameters:
      writer - writer
      array - value
      Throws:
      IOException - io error
    • writeArrayLong

      public static void writeArrayLong(JsonWriter writer, Long[] array) throws IOException
      NOTE: Code-generation-invoked method, method name and parameter order matters
      Parameters:
      writer - writer
      array - value
      Throws:
      IOException - io error
    • writeArrayInteger

      public static void writeArrayInteger(JsonWriter writer, Integer[] array) throws IOException
      NOTE: Code-generation-invoked method, method name and parameter order matters
      Parameters:
      writer - writer
      array - value
      Throws:
      IOException - io error
    • writeCollectionNumber

      public static void writeCollectionNumber(JsonWriter writer, Collection<Number> values) throws IOException
      NOTE: Code-generation-invoked method, method name and parameter order matters
      Parameters:
      writer - writer
      values - value
      Throws:
      IOException - io error
    • writeArrayShort

      public static void writeArrayShort(JsonWriter writer, Short[] array) throws IOException
      NOTE: Code-generation-invoked method, method name and parameter order matters
      Parameters:
      writer - writer
      array - value
      Throws:
      IOException - io error
    • writeArrayDouble

      public static void writeArrayDouble(JsonWriter writer, Double[] array) throws IOException
      NOTE: Code-generation-invoked method, method name and parameter order matters
      Parameters:
      writer - writer
      array - value
      Throws:
      IOException - io error
    • writeArrayFloat

      public static void writeArrayFloat(JsonWriter writer, Float[] array) throws IOException
      NOTE: Code-generation-invoked method, method name and parameter order matters
      Parameters:
      writer - writer
      array - value
      Throws:
      IOException - io error
    • writeArrayByte

      public static void writeArrayByte(JsonWriter writer, Byte[] array) throws IOException
      NOTE: Code-generation-invoked method, method name and parameter order matters
      Parameters:
      writer - writer
      array - value
      Throws:
      IOException - io error
    • writeArrayBoolean

      public static void writeArrayBoolean(JsonWriter writer, Boolean[] array) throws IOException
      NOTE: Code-generation-invoked method, method name and parameter order matters
      Parameters:
      writer - writer
      array - value
      Throws:
      IOException - io error
    • writeCollectionBoolean

      public static void writeCollectionBoolean(JsonWriter writer, Collection<Boolean> values) throws IOException
      NOTE: Code-generation-invoked method, method name and parameter order matters
      Parameters:
      writer - writer
      values - value
      Throws:
      IOException - io error
    • writeArrayBigInteger

      public static void writeArrayBigInteger(JsonWriter writer, BigInteger[] array) throws IOException
      NOTE: Code-generation-invoked method, method name and parameter order matters
      Parameters:
      writer - writer
      array - value
      Throws:
      IOException - io error
    • writeArrayBigDecimal

      public static void writeArrayBigDecimal(JsonWriter writer, BigDecimal[] array) throws IOException
      NOTE: Code-generation-invoked method, method name and parameter order matters
      Parameters:
      writer - writer
      array - value
      Throws:
      IOException - io error
    • writeArrayBooleanPrimitive

      public static void writeArrayBooleanPrimitive(JsonWriter writer, boolean[] array) throws IOException
      NOTE: Code-generation-invoked method, method name and parameter order matters
      Parameters:
      writer - writer
      array - value
      Throws:
      IOException - io error
    • writeArrayBytePrimitive

      public static void writeArrayBytePrimitive(JsonWriter writer, byte[] array) throws IOException
      NOTE: Code-generation-invoked method, method name and parameter order matters
      Parameters:
      writer - writer
      array - value
      Throws:
      IOException - io error
    • writeArrayShortPrimitive

      public static void writeArrayShortPrimitive(JsonWriter writer, short[] array) throws IOException
      NOTE: Code-generation-invoked method, method name and parameter order matters
      Parameters:
      writer - writer
      array - value
      Throws:
      IOException - io error
    • writeArrayIntPrimitive

      public static void writeArrayIntPrimitive(JsonWriter writer, int[] array) throws IOException
      NOTE: Code-generation-invoked method, method name and parameter order matters
      Parameters:
      writer - writer
      array - value
      Throws:
      IOException - io error
    • writeArrayLongPrimitive

      public static void writeArrayLongPrimitive(JsonWriter writer, long[] array) throws IOException
      NOTE: Code-generation-invoked method, method name and parameter order matters
      Parameters:
      writer - writer
      array - value
      Throws:
      IOException - io error
    • writeArrayFloatPrimitive

      public static void writeArrayFloatPrimitive(JsonWriter writer, float[] array) throws IOException
      NOTE: Code-generation-invoked method, method name and parameter order matters
      Parameters:
      writer - writer
      array - value
      Throws:
      IOException - io error
    • writeArrayDoublePrimitive

      public static void writeArrayDoublePrimitive(JsonWriter writer, double[] array) throws IOException
      NOTE: Code-generation-invoked method, method name and parameter order matters
      Parameters:
      writer - writer
      array - value
      Throws:
      IOException - io error
    • writeArrayCharPrimitive

      public static void writeArrayCharPrimitive(JsonWriter writer, char[] array) throws IOException
      NOTE: Code-generation-invoked method, method name and parameter order matters
      Parameters:
      writer - writer
      array - value
      Throws:
      IOException - io error
    • writeArrayObjectToString

      public static void writeArrayObjectToString(JsonWriter writer, Object[] array) throws IOException
      NOTE: Code-generation-invoked method, method name and parameter order matters
      Parameters:
      writer - writer
      array - value
      Throws:
      IOException - io error
    • writeEnumArray

      public static void writeEnumArray(JsonWriter writer, Object[] array) throws IOException
      NOTE: Code-generation-invoked method, method name and parameter order matters
      Parameters:
      writer - writer
      array - value
      Throws:
      IOException - io error
    • writeEnumCollection

      public static void writeEnumCollection(JsonWriter writer, Collection values) throws IOException
      NOTE: Code-generation-invoked method, method name and parameter order matters
      Parameters:
      writer - writer
      values - value
      Throws:
      IOException - io error
    • writeEnumArray2Dim

      public static void writeEnumArray2Dim(JsonWriter writer, Object[][] array) throws IOException
      NOTE: Code-generation-invoked method, method name and parameter order matters
      Parameters:
      writer - writer
      array - value
      Throws:
      IOException - io error
    • writeJsonValue

      public static void writeJsonValue(JsonWriter writer, String name, Object jsonValue) throws IOException
      NOTE: Code-generation-invoked method, method name and parameter order matters
      Parameters:
      name - name
      writer - writer
      jsonValue - value
      Throws:
      IOException - io error
    • writeJsonMap

      public static void writeJsonMap(JsonWriter writer, Map<String,Object> map) throws IOException
      NOTE: Code-generation-invoked method, method name and parameter order matters
      Parameters:
      writer - writer
      map - value
      Throws:
      IOException - io error
    • writeJsonArray

      public static void writeJsonArray(JsonWriter writer, String name, Object[] array) throws IOException
      NOTE: Code-generation-invoked method, method name and parameter order matters
      Parameters:
      name - name
      writer - writer
      array - value
      Throws:
      IOException - io error
    • writeNested

      public static void writeNested(JsonWriter writer, Object nested, JsonDelegateFactory nestedFactory) throws IOException
      NOTE: Code-generation-invoked method, method name and parameter order matters
      Parameters:
      writer - writer
      nested - value
      nestedFactory - writer for nested object
      Throws:
      IOException - io error
    • writeNested

      public static void writeNested(JsonWriter writer, JsonEventObjectBase nested) throws IOException
      NOTE: Code-generation-invoked method, method name and parameter order matters
      Parameters:
      writer - writer
      nested - value
      Throws:
      IOException - io error
    • writeNestedArray

      public static void writeNestedArray(JsonWriter writer, Object[] nesteds, JsonDelegateFactory nestedFactory) throws IOException
      NOTE: Code-generation-invoked method, method name and parameter order matters
      Parameters:
      writer - writer
      nesteds - value
      nestedFactory - writer for nested object
      Throws:
      IOException - io error
    • writeNestedArray

      public static void writeNestedArray(JsonWriter writer, JsonEventObjectBase[] nesteds) throws IOException
      NOTE: Code-generation-invoked method, method name and parameter order matters
      Parameters:
      writer - writer
      nesteds - value
      Throws:
      IOException - io error
    • writeCollectionWToString

      public static void writeCollectionWToString(JsonWriter writer, Collection values) throws IOException
      NOTE: Code-generation-invoked method, method name and parameter order matters
      Parameters:
      writer - writer
      values - collection
      Throws:
      IOException - io error