Bat

This module contains commands and patterns to manage Binary Association Tables (BATs). The list of commands include BAT updates, property management, persistence, candidate list manipulation and storage options. For relational algebra operators, use the algebra module.

MODULE bat;

COMMAND bat.append(X_0:bat[:any_1], X_1:bat[:any_1], X_2:bat[:oid], X_3:bit):bat[:any_1];
COMMENT "";

COMMAND bat.append(X_0:bat[:any_1], X_1:bat[:any_1], X_2:bat[:oid]):bat[:any_1];
COMMENT "";

COMMAND bat.append(X_0:bat[:any_1], X_1:bat[:any_1], X_2:bit):bat[:any_1];
COMMENT "";

COMMAND bat.append(X_0:bat[:any_1], X_1:any_1, X_2:bit):bat[:any_1];
COMMENT "";

COMMAND bat.append(X_0:bat[:any_1], X_1:any_1):bat[:any_1];
COMMENT "";

COMMAND bat.append(X_0:bat[:any_1], X_1:bat[:any_1]):bat[:any_1];
COMMENT "";

PATTERN bat.appendBulk(X_0:bat[:any_1], X_1:bit, X_2:any_1...):bat[:any_1];
COMMENT "";

PATTERN bat.appendBulk(X_0:bat[:any_1], X_1:bit, X_2:bat[:any_1]...):bat[:any_1];
COMMENT "";

COMMAND bat.attach(X_0:int, X_1:str):bat[:any_1];
COMMENT "";

COMMAND bat.delete(X_0:bat[:any_1], X_1:oid):bat[:any_1];
COMMENT "";

COMMAND bat.delete(X_0:bat[:any_1]):bat[:any_1];
COMMENT "";

COMMAND bat.delete(X_0:bat[:any_1], X_1:bat[:oid]):bat[:any_1];
COMMENT "";

COMMAND bat.densebat(X_0:lng):bat[:oid];
COMMENT "";

COMMAND bat.diffcand(X_0:bat[:oid], X_1:bat[:oid]):bat[:oid];
COMMENT "";

COMMAND bat.getAccess(X_0:bat[:any_1]):str;
COMMENT "";

COMMAND bat.getCapacity(X_0:bat[:any_1]):lng;
COMMENT "";

COMMAND bat.getColumnType(X_0:bat[:any_1]):str;
COMMENT "";

COMMAND bat.getName(X_0:bat[:any_1]):str;
COMMENT "";

COMMAND bat.getRole(X_0:bat[:any_1]):str;
COMMENT "";

COMMAND bat.getSequenceBase(X_0:bat[:any_1]):oid;
COMMENT "";

COMMAND bat.getSize(X_0:bat[:any_1]):lng;
COMMENT "";

PATTERN bat.getorderidx(X_0:bat[:any_1]):bat[:oid];
COMMENT "";

PATTERN bat.hasorderidx(X_0:bat[:any_1]):bit;
COMMENT "";

COMMAND bat.imprints(X_0:bat[:bte]):void;
COMMENT "";

COMMAND bat.imprints(X_0:bat[:dbl]):void;
COMMENT "";

COMMAND bat.imprints(X_0:bat[:flt]):void;
COMMENT "";

COMMAND bat.imprints(X_0:bat[:int]):void;
COMMENT "";

COMMAND bat.imprints(X_0:bat[:lng]):void;
COMMENT "";

COMMAND bat.imprints(X_0:bat[:sht]):void;
COMMENT "";

COMMAND bat.imprintsize(X_0:bat[:bte]):lng;
COMMENT "";

COMMAND bat.imprintsize(X_0:bat[:dbl]):lng;
COMMENT "";

COMMAND bat.imprintsize(X_0:bat[:flt]):lng;
COMMENT "";

COMMAND bat.imprintsize(X_0:bat[:int]):lng;
COMMENT "";

COMMAND bat.imprintsize(X_0:bat[:lng]):lng;
COMMENT "";

COMMAND bat.imprintsize(X_0:bat[:sht]):lng;
COMMENT "";

COMMAND bat.info(X_0:bat[:any_1]) (X_1:bat[:str], X_2:bat[:str]);
COMMENT "";

COMMAND bat.intersectcand(X_0:bat[:oid], X_1:bat[:oid]):bat[:oid];
COMMENT "";

COMMAND bat.isPersistent(X_0:bat[:any_1]):bit;
COMMENT "";

COMMAND bat.isSorted(X_0:bat[:any_1]):bit;
COMMENT "";

COMMAND bat.isSortedReverse(X_0:bat[:any_1]):bit;
COMMENT "";

COMMAND bat.isSynced(X_0:bat[:any_1], X_1:bat[:any_2]):bit;
COMMENT "";

COMMAND bat.isTransient(X_0:bat[:any_1]):bit;
COMMENT "";

COMMAND bat.isaKey(X_0:bat[:any_1]):bit;
COMMENT "";

COMMAND bat.mergecand(X_0:bat[:oid], X_1:bat[:oid]):bat[:oid];
COMMENT "";

COMMAND bat.mirror(X_0:bat[:any_2]):bat[:oid];
COMMENT "";

PATTERN bat.new(X_0:any_1, X_1:bat[:any_2]):bat[:any_1];
COMMENT "";

PATTERN bat.new(X_0:any_1):bat[:any_1];
COMMENT "";

PATTERN bat.new(X_0:any_1, X_1:int):bat[:any_1];
COMMENT "";

PATTERN bat.new(X_0:any_1, X_1:int, X_2:bit):bat[:any_1];
COMMENT "";

PATTERN bat.new(X_0:any_1, X_1:lng):bat[:any_1];
COMMENT "";

PATTERN bat.new(X_0:any_1, X_1:lng, X_2:bit):bat[:any_1];
COMMENT "";

PATTERN bat.orderidx(X_0:bat[:any_1]):void;
COMMENT "";

PATTERN bat.orderidx(X_0:bat[:any_1], X_1:int):void;
COMMENT "";

PATTERN bat.orderidx(X_0:bat[:any_1], X_1:bat[:any_1]...):void;
COMMENT "";

PATTERN bat.pack(X_0:any_2...):bat[:any_2];
COMMENT "";

PATTERN bat.partition(X_0:bat[:any_1], X_1:int, X_2:int):bat[:any_1];
COMMENT "";

PATTERN bat.partition(X_0:bat[:any_1]):bat[:any_1]...;
COMMENT "";

COMMAND bat.replace(X_0:bat[:any_1], X_1:bat[:oid], X_2:bat[:any_1]):bat[:any_1];
COMMENT "";

COMMAND bat.replace(X_0:bat[:any_1], X_1:bat[:oid], X_2:bat[:any_1], X_3:bit):bat[:any_1];
COMMENT "";

COMMAND bat.replace(X_0:bat[:any_1], X_1:oid, X_2:any_1):bat[:any_1];
COMMENT "";

COMMAND bat.replace(X_0:bat[:any_1], X_1:oid, X_2:any_1, X_3:bit):bat[:any_1];
COMMENT "";

COMMAND bat.reuse(X_0:bat[:any_1], X_1:bat[:oid]):bat[:any_1];
COMMENT "";

COMMAND bat.reuseMap(X_0:bat[:any_1], X_1:bat[:oid]):bat[:oid];
COMMENT "";

COMMAND bat.save(X_0:bat[:any_1]):void;
COMMENT "";

COMMAND bat.save(X_0:str):bit;
COMMENT "";

COMMAND bat.setAccess(X_0:bat[:any_1], X_1:str):bat[:any_1];
COMMENT "";

COMMAND bat.setColumn(X_0:bat[:any_1], X_1:str):void;
COMMENT "";

COMMAND bat.setHash(X_0:bat[:any_1]):bit;
COMMENT "";

COMMAND bat.setImprints(X_0:bat[:any_1]):bit;
COMMENT "";

COMMAND bat.setName(X_0:bat[:any_1], X_1:str):void;
COMMENT "";

COMMAND bat.setPersistent(X_0:bat[:any_1]):void;
COMMENT "";

COMMAND bat.setTransient(X_0:bat[:any_1]):void;
COMMENT "";

PATTERN bat.single(X_0:any_1):bat[:any_1];
COMMENT "";

BAT multiplexing (should go to other file)

MODULE mal;

PATTERN mal.manifold(X_0:str, X_1:str, X_2:any...):bat[:any];
COMMENT "";

PATTERN mal.multiplex(X_0:str, X_1:str, X_2:any...):any...;
COMMENT "";