ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Kuznetsov (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (IGNITE-7758) Update REST documentation
Date Tue, 20 Feb 2018 03:54:00 GMT

     [ https://issues.apache.org/jira/browse/IGNITE-7758?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Alexey Kuznetsov updated IGNITE-7758:
-------------------------------------
    Description: 
RETS documentation need to be updated:
 # GET_OR_CREATE_CACHE enhanced command with optional "templateName", "backups", "cacheGroup",
"dataRegion" and "writeSynchronizationMode" options.
 #  Added support for Java built in types for put/get operations via "keyType" and "valueType"
optional parameters. List of supported types: 

 * java.lang.Boolean (with alias boolean)
 * java.lang.Byte (with alias byte)
 * java.lang.Short (with alias short)
 * java.lang.Integer (with aliases int, integer)
 * java.lang.Long (with alias long)
 * java.lang.Float (with alias float)
 * java.lang.Double (with alias double)
 * java.sql.Date (with alias date)
 * java.sql.Time (with alias time)
 * java.sql.Timestamp (with alias timestamp)
 * java.util.UUUID (with alias uuid)
 * org.apache.ignite.lang.IgniteUuid (with alias IgniteUuid)

For Date, Time, Timestamp value should be in format as specified in *valueOf(String)* methods
of corresponding classes.

Example for date: "2018-01-01" see https://docs.oracle.com/javase/8/docs/api/java/sql/Date.html#valueOf-java.lang.String-

Example for time: "01:01:01" see https://docs.oracle.com/javase/8/docs/api/java/sql/Time.html#valueOf-java.lang.String-

Example for timestamp: "2018-02-18%2001:01:01" see https://docs.oracle.com/javase/8/docs/api/java/sql/Timestamp.html#valueOf-java.lang.String-

 

  was:
RETS documentation need to be updated:
 # GET_OR_CREATE_CACHE enhanced command with optional "templateName", "backups", "cacheGroup",
"dataRegion" and "writeSynchronizationMode" options.
 #  Added support for Java built in types for put/get operations via "keyType" and "valueType"
optional parameters. List of supported types: 


> Update REST documentation
> -------------------------
>
>                 Key: IGNITE-7758
>                 URL: https://issues.apache.org/jira/browse/IGNITE-7758
>             Project: Ignite
>          Issue Type: Task
>          Components: documentation
>    Affects Versions: 2.5
>            Reporter: Alexey Kuznetsov
>            Assignee: Denis Magda
>            Priority: Major
>             Fix For: 2.5
>
>
> RETS documentation need to be updated:
>  # GET_OR_CREATE_CACHE enhanced command with optional "templateName", "backups", "cacheGroup",
"dataRegion" and "writeSynchronizationMode" options.
>  #  Added support for Java built in types for put/get operations via "keyType" and "valueType"
optional parameters. List of supported types: 
>  * java.lang.Boolean (with alias boolean)
>  * java.lang.Byte (with alias byte)
>  * java.lang.Short (with alias short)
>  * java.lang.Integer (with aliases int, integer)
>  * java.lang.Long (with alias long)
>  * java.lang.Float (with alias float)
>  * java.lang.Double (with alias double)
>  * java.sql.Date (with alias date)
>  * java.sql.Time (with alias time)
>  * java.sql.Timestamp (with alias timestamp)
>  * java.util.UUUID (with alias uuid)
>  * org.apache.ignite.lang.IgniteUuid (with alias IgniteUuid)
> For Date, Time, Timestamp value should be in format as specified in *valueOf(String)*
methods of corresponding classes.
> Example for date: "2018-01-01" see https://docs.oracle.com/javase/8/docs/api/java/sql/Date.html#valueOf-java.lang.String-
> Example for time: "01:01:01" see https://docs.oracle.com/javase/8/docs/api/java/sql/Time.html#valueOf-java.lang.String-
> Example for timestamp: "2018-02-18%2001:01:01" see https://docs.oracle.com/javase/8/docs/api/java/sql/Timestamp.html#valueOf-java.lang.String-
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message