All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.clickzetta.platform.operator.PartialRowBase Maven / Gradle / Ivy

There is a newer version: 2.0.0
Show newest version
package com.clickzetta.platform.operator;

import com.clickzetta.platform.schema.Schema;

import java.math.BigDecimal;
import java.nio.ByteBuffer;
import java.sql.Date;
import java.sql.Timestamp;
import java.util.BitSet;
import java.util.List;

public interface PartialRowBase {

  void addBoolean(int columnIndex, boolean val);

  void addBoolean(String columnName, boolean val);

  boolean getBoolean(String columnName);

  boolean getBoolean(int columnIndex);

  void addByte(int columnIndex, byte val);

  void addByte(String columnName, byte val);

  byte getByte(String columnName);

  byte getByte(int columnIndex);

  void addShort(int columnIndex, short val);

  void addShort(String columnName, short val);

  short getShort(String columnName);

  short getShort(int columnIndex);

  void addInt(int columnIndex, int val);

  void addInt(String columnName, int val);

  int getInt(String columnName);

  int getInt(int columnIndex);

  void addLong(int columnIndex, long val);

  void addLong(String columnName, long val);

  long getLong(String columnName);

  long getLong(int columnIndex);

  void addFloat(int columnIndex, float val);

  void addFloat(String columnName, float val);

  float getFloat(String columnName);

  float getFloat(int columnIndex);

  void addDouble(int columnIndex, double val);

  void addDouble(String columnName, double val);

  double getDouble(String columnName);

  double getDouble(int columnIndex);

  void addDecimal(int columnIndex, BigDecimal val);

  void addDecimal(String columnName, BigDecimal val);

  BigDecimal getDecimal(String columnName);

  BigDecimal getDecimal(int columnIndex);

  void addTimestamp(int columnIndex, Timestamp val);

  void addTimestamp(String columnName, Timestamp val);

  Timestamp getTimestamp(String columnName);

  Timestamp getTimestamp(int columnIndex);

  void addDate(int columnIndex, Date val);

  void addDate(String columnName, Date val);

  Date getDate(String columnName);

  Date getDate(int columnIndex);

  void addString(int columnIndex, String val);

  void addString(String columnName, String val);

  void addVarchar(int columnIndex, String val);

  void addVarchar(String columnName, String val);

  String getString(String columnName);

  String getString(int columnIndex);

  String getVarchar(String columnName);

  String getVarchar(int columnIndex);

  void addStringUtf8(int columnIndex, byte[] val);

  void addStringUtf8(String columnName, byte[] val);

  void addBinary(int columnIndex, byte[] val);

  void addBinary(int columnIndex, ByteBuffer value);

  void addBinary(String columnName, byte[] val);

  void addBinary(String columnName, ByteBuffer value);

  byte[] getBinaryCopy(String columnName);

  byte[] getBinaryCopy(int columnIndex);

  ByteBuffer getBinary(String columnName);

  ByteBuffer getBinary(int columnIndex);

  void addVarLengthData(int columnIndex, byte[] val);

  void addVarLengthData(int columnIndex, ByteBuffer val);

  List getVarLengthData();

  ByteBuffer getVarLengthData(int columnIndex);

  void setNull(String columnName);

  void setNull(int columnIndex);

  boolean isNull(String columnName);

  boolean isNull(int columnIndex);

  void addObject(String columnName, Object val);

  void addObject(int columnIndex, Object val);

  Object getObject(String columnName);

  Object getObject(int columnIndex);

  void checkNotFrozen();

  int getPositionInRowAllocAndSetBitSet(int columnIndex);

  boolean isSet(String columnName);

  boolean isSet(int columnIndex);

  boolean isSetToNull(int column);

  byte[] encodePrimaryKey();

  Schema getSchema();

  byte[] getRowAlloc();

  BitSet getColumnsBitSet();

  BitSet getNullsBitSet();

  void freeze();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy