# MaxComputeAPIWrapper

> **Class** in `langchain_community`

📖 [View in docs](https://reference.langchain.com/python/langchain-community/utilities/max_compute/MaxComputeAPIWrapper)

Interface for querying Alibaba Cloud MaxCompute tables.

## Signature

```python
MaxComputeAPIWrapper(
    self,
    client: ODPS,
)
```

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `client` | `ODPS` | Yes | odps.ODPS MaxCompute client object. |

## Constructors

```python
__init__(
    self,
    client: ODPS,
)
```

| Name | Type |
|------|------|
| `client` | `ODPS` |


## Properties

- `client`

## Methods

- [`from_params()`](https://reference.langchain.com/python/langchain-community/utilities/max_compute/MaxComputeAPIWrapper/from_params)
- [`lazy_query()`](https://reference.langchain.com/python/langchain-community/utilities/max_compute/MaxComputeAPIWrapper/lazy_query)
- [`query()`](https://reference.langchain.com/python/langchain-community/utilities/max_compute/MaxComputeAPIWrapper/query)

---

[View source on GitHub](https://github.com/langchain-ai/langchain-community/blob/4b280287bd55b99b44db2dd849f02d66c89534d5/libs/community/langchain_community/utilities/max_compute.py#L11)