use of com.actiontech.dble.net.mysql.FieldPacket in project dble by actiontech.
the class BaseSelectHandler method fieldEofResponse.
@Override
public void fieldEofResponse(byte[] header, List<byte[]> fields, List<FieldPacket> fieldPacketsNull, byte[] eof, boolean isLeft, BackendConnection conn) {
if (LOGGER.isDebugEnabled()) {
LOGGER.debug(conn.toString() + "'s field is reached.");
}
if (terminate.get()) {
return;
}
if (fieldCounts == -1) {
fieldCounts = fields.size();
}
List<FieldPacket> fieldPackets = new ArrayList<>();
for (byte[] field1 : fields) {
FieldPacket field = new FieldPacket();
field.read(field1);
fieldPackets.add(field);
}
nextHandler.fieldEofResponse(null, null, fieldPackets, null, this.isLeft, conn);
}
Aggregations