api

package
v0.0.0-...-4406380 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 14, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FindPartitionRequest

type FindPartitionRequest struct {
	Store  string `json:"store"`
	Table  string `json:"table"`
	RowKey string `json:"rowKey"`
}

type FindPartitionResponse

type FindPartitionResponse struct {
	PartitionNumber int `json:"partitionNumber"`

	Error   string `json:"error,omitempty"`
	Success bool   `json:"success"`
}

type GetLatestRequest

type GetLatestRequest struct {
	Store     string `json:"store"`
	Table     string `json:"table"`
	RowKey    string `json:"rowKey"`
	ColumnKey string `json:"columnKey"`
}

type GetLatestResponse

type GetLatestResponse struct {
	Error   string `json:"error,omitempty"`
	Success bool   `json:"success"`
	Found   bool   `json:"found"`

	Cell models.Cell `json:"cell"`
}

type GetRequest

type GetRequest struct {
	Store     string `json:"store"`
	Table     string `json:"table"`
	RowKey    string `json:"rowKey"`
	ColumnKey string `json:"columnKey"`
	RefKey    int64  `json:"refKey"`
}

type GetResponse

type GetResponse struct {
	Error   string `json:"error,omitempty"`
	Success bool   `json:"success"`
	Found   bool   `json:"found"`

	Cell models.Cell `json:"cell"`
}

type PartitionReadRequest

type PartitionReadRequest struct {
	Store           string `json:"store"`
	Table           string `json:"table"`
	PartitionNumber int    `json:"partitionNumber"`
	Location        string `json:"location"`
	Value           string `json:"value"`
	Limit           int    `json:"limit"`
}

type PartitionReadResponse

type PartitionReadResponse struct {
	Error   string `json:"error,omitempty"`
	Success bool   `json:"success"`
	Found   bool   `json:"found"`

	Cells []models.Cell `json:"cells"`
}

type PutRequest

type PutRequest struct {
	Store     string `json:"store"`
	Table     string `json:"table"`
	RowKey    string `json:"rowKey"`
	ColumnKey string `json:"columnKey"`
	RefKey    int64  `json:"refKey"`
	Body      string `json:"body"`
}

PutRequest is for issuing Put() calls to the Schemaless data store

type PutResponse

type PutResponse struct {
	Error   string `json:"error,omitempty"`
	Success bool   `json:"success"`
}

PutResponse specifies the response for a Put operation

type StatusResponse

type StatusResponse struct {
	Error   string `json:"error,omitempty"`
	Success bool   `json:"success"`
}

StatusResponse contains a simplified health response.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL