MySQL 5.6.14 Source Code Document
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
CharsetMapConst.java
1
/*
2
Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
3
4
This program is free software; you can redistribute it and/or modify
5
it under the terms of the GNU General Public License as published by
6
the Free Software Foundation; version 2 of the License.
7
8
This program is distributed in the hope that it will be useful,
9
but WITHOUT ANY WARRANTY; without even the implied warranty of
10
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
GNU General Public License for more details.
12
13
You should have received a copy of the GNU General Public License
14
along with this program; if not, write to the Free Software
15
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
16
*/
17
/*
18
* CharsetMapConst.java
19
*/
20
21
package
com.mysql.ndbjtie.mysql;
22
23
import
java.nio.ByteBuffer;
24
25
import
com.mysql.jtie.Wrapper;
26
27
public
interface
CharsetMapConst
28
{
29
public
interface
/*_enum_*/
RecodeStatus
30
{
31
int
RECODE_OK = 0,
32
RECODE_BAD_CHARSET = 1,
33
RECODE_BAD_SRC = 2,
34
RECODE_BUFF_TOO_SMALL = 3;
35
}
36
37
String
/*_const char *_*/
getName(
int
cs_number)
/*_const_*/
;
38
String
/*_const char *_*/
getMysqlName(
int
cs_number)
/*_const_*/
;
39
int
getCharsetNumber(
String
/*_const char *_*/
mysql_name)
/*_const_*/
;
40
int
getUTF8CharsetNumber()
/*_const_*/
;
41
int
getUTF16CharsetNumber()
/*_const_*/
;
42
boolean
[] isMultibyte(
int
cs_number)
/*_const_*/
;
43
int
/*_RecodeStatus_*/
recode(
int
[]
/*_int32_t *_*/
lengths,
int
cs_from,
int
cs_to, ByteBuffer
/*_const void *_*/
src, ByteBuffer
/*_void *_*/
dest)
/*_const_*/
;
44
}
storage
ndb
src
ndbjtie
com
mysql
ndbjtie
mysql
CharsetMapConst.java
Generated on Sat Nov 9 2013 01:28:10 for MySQL 5.6.14 Source Code Document by
1.8.1.2