def deserialize(self, datum): return _checked_context().generateTile(datum[0], datum[1], datum[2], datum[3])
def deserialize(self, datum): return _checked_context().generateGeometry(datum[0])
def deserialize(self, datum): return _checked_context().generateTile(datum[0], datum[1], datum[2], datum[3])
def deserialize(self, datum): return _checked_context().generateGeometry(datum[0])
def _(tileCol1, tileCol2): jfcn = getattr(_checked_context(), 'normalizedDifference') return Column(jfcn(_to_java_column(tileCol1), _to_java_column(tileCol2)))
def _(tileCol, cellType): jfcn = getattr(_checked_context(), 'convertCellType') return Column(jfcn(_to_java_column(tileCol), _celltype(cellType)))
def _(arrayCol, numCols, numRows): jfcn = getattr(_checked_context(), 'arrayToTile') return Column(jfcn(_to_java_column(arrayCol), numCols, numRows))
def _(colIndex, rowIndex, cellData, numCols, numRows, cellType): ctx = _checked_context() jfcn = getattr(ctx, 'assembleTile') return Column(jfcn(_to_java_column(colIndex), _to_java_column(rowIndex), _to_java_column(cellData), numCols, numRows, _celltype(cellType)))
def _(col, noDataVal): jfcn = getattr(_checked_context(), 'withNoData') return Column(jfcn(_to_java_column(col), noDataVal))
def _celltype(cellTypeStr): """ Convert the string cell type to the expected CellType object.""" f = getattr(_checked_context(), 'cellType') return f(cellTypeStr)
def _(*args): jfcn = getattr(_checked_context(), name) jcols = [_to_java_column(arg) for arg in args] return Column(jfcn(*jcols))