19 package com.mysql.clusterj.tie;
21 import java.nio.ByteBuffer;
23 import com.mysql.clusterj.core.util.I18NHelper;
24 import com.mysql.clusterj.core.util.Logger;
25 import com.mysql.clusterj.core.util.LoggerFactoryService;
26 import com.mysql.ndbjtie.ndbapi.Ndb.Key_part_ptr;
34 static final I18NHelper local = I18NHelper
35 .getInstance(KeyPart.class);
38 static final Logger logger = LoggerFactoryService.getFactory()
39 .getInstance(KeyPart.class);
47 public KeyPart(ByteBuffer buffer,
int length) {
52 public void get(Key_part_ptr keyPartPtr) {
53 keyPartPtr.ptr(buffer);
54 keyPartPtr.len(length);
57 public ByteBuffer getBuffer() {
61 public int getLength() {