public short getNextVariableOffset(ColumnBuilder col) { if(!col.getType().isLongValue()) { return _varOffset++; } return _longVarOffset++; }
/** * @return The number of variable length columns which are not long values * found in the list * @usage _advanced_method_ */ public short countNonLongVariableLength() { short rtn = 0; for (ColumnBuilder col : _columns) { if (col.isVariableLength() && !col.getType().isLongValue()) { rtn++; } } return rtn; }
(altRtn.isLongValue() || altRtn.isValidSize(size))) {
if(!col.getType().isLongValue()) { short length = col.getLength(); if(col.isCalculated()) {
if((varCol.getType().isLongValue()) && (varCol.getRowValue(rowArray) != null)) { maxRowSize -= getFormat().SIZE_LONG_VALUE_DEF; if(varCol.getType().isLongValue()) {
if(type.isTrueVariableLength() && !type.isLongValue()) { column.setLengthInUnits((short)lengthInUnits);
public ColumnImpl addColumn(ColumnBuilder column) throws IOException { _column = column; validateAddColumn(); // assign column number and do some assorted column bookkeeping short columnNumber = (short)_table.getMaxColumnCount(); _column.setColumnNumber(columnNumber); if(_column.getType().isLongValue()) { _colState = new ColumnState(); } getPageChannel().startExclusiveWrite(); try { return _table.mutateAddColumn(this); } finally { getPageChannel().finishWrite(); } }
JetFormat format = mutator.getFormat(); boolean isVarCol = column.isVariableLength(); boolean isLongVal = column.getType().isLongValue();
for(ColumnBuilder col : _columns) { col.setColumnNumber(columnNumber++); if(col.getType().isLongValue()) { _lvalCols.add(col);
return new NumericColumnImpl(args); if(args.type.isLongValue()) { return new LongValueColumnImpl(args);
"Invalid fixed length size " + getLength())); } else if(!getType().isLongValue()) { if(!getType().isValidSize(getLength())) { throw new IllegalArgumentException(withErrorContext(