inspect method

Future<ArrowSchema> inspect(
  1. String table, {
  2. List<String>? namespace,
  3. String? branch,
  4. int? version,
})

Implementation

Future<ArrowSchema> inspect(String table, {List<String>? namespace, String? branch, int? version}) async {
  final response = await _invoke("inspect", {"table": table, "namespace": namespace, "branch": branch, "version": version});
  if (response is! BinaryContent) {
    throw RoomServerException("unexpected return type from datasets.inspect call: ${response.runtimeType}");
  }
  return ArrowIpcSchema(response.data).schema;
}