Apache Hudi · Capability

Apache Hudi Timeline Server API — Tables

Apache Hudi Timeline Server API — Tables. 3 operations. Lead operation: Apache Hudi Create Table. Self-contained Naftiko capability covering one Apache Hudi business surface.

Run with Naftiko Apache HudiTables

What You Can Do

POST
Createtable — Apache Hudi Create Table
/v1/v1/hoodie/table
GET
Gettable — Apache Hudi Get Table
/v1/v1/hoodie/table/{tablename}
POST
Runcleaning — Apache Hudi Run Cleaning
/v1/v1/hoodie/table/{tablename}/clean

MCP Tools

apache-hudi-create-table

Apache Hudi Create Table

apache-hudi-get-table

Apache Hudi Get Table

read-only idempotent
apache-hudi-run-cleaning

Apache Hudi Run Cleaning

Capability Spec

timeline-tables.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Apache Hudi Timeline Server API — Tables
  description: 'Apache Hudi Timeline Server API — Tables. 3 operations. Lead operation: Apache Hudi Create Table. Self-contained
    Naftiko capability covering one Apache Hudi business surface.'
  tags:
  - Apache Hudi
  - Tables
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    APACHE_HUDI_API_KEY: APACHE_HUDI_API_KEY
capability:
  consumes:
  - type: http
    namespace: timeline-tables
    baseUri: http://localhost:9090
    description: Apache Hudi Timeline Server API — Tables business capability. Self-contained, no shared references.
    resources:
    - name: v1-hoodie-table
      path: /v1/hoodie/table
      operations:
      - name: createtable
        method: POST
        description: Apache Hudi Create Table
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: v1-hoodie-table-tableName
      path: /v1/hoodie/table/{tableName}
      operations:
      - name: gettable
        method: GET
        description: Apache Hudi Get Table
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: tableName
          in: path
          type: string
          required: true
    - name: v1-hoodie-table-tableName-clean
      path: /v1/hoodie/table/{tableName}/clean
      operations:
      - name: runcleaning
        method: POST
        description: Apache Hudi Run Cleaning
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: tableName
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
  exposes:
  - type: rest
    namespace: timeline-tables-rest
    port: 8080
    description: REST adapter for Apache Hudi Timeline Server API — Tables. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/v1/hoodie/table
      name: v1-hoodie-table
      description: REST surface for v1-hoodie-table.
      operations:
      - method: POST
        name: createtable
        description: Apache Hudi Create Table
        call: timeline-tables.createtable
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/hoodie/table/{tablename}
      name: v1-hoodie-table-tablename
      description: REST surface for v1-hoodie-table-tableName.
      operations:
      - method: GET
        name: gettable
        description: Apache Hudi Get Table
        call: timeline-tables.gettable
        with:
          tableName: rest.tableName
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/v1/hoodie/table/{tablename}/clean
      name: v1-hoodie-table-tablename-clean
      description: REST surface for v1-hoodie-table-tableName-clean.
      operations:
      - method: POST
        name: runcleaning
        description: Apache Hudi Run Cleaning
        call: timeline-tables.runcleaning
        with:
          tableName: rest.tableName
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: timeline-tables-mcp
    port: 9090
    transport: http
    description: MCP adapter for Apache Hudi Timeline Server API — Tables. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: apache-hudi-create-table
      description: Apache Hudi Create Table
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: timeline-tables.createtable
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: apache-hudi-get-table
      description: Apache Hudi Get Table
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: timeline-tables.gettable
      with:
        tableName: tools.tableName
      outputParameters:
      - type: object
        mapping: $.
    - name: apache-hudi-run-cleaning
      description: Apache Hudi Run Cleaning
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: timeline-tables.runcleaning
      with:
        tableName: tools.tableName
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.