@brimdata/zealot
Version:
The Javascript Client for Zed Lakes
12 lines (11 loc) • 405 B
TypeScript
import * as zjson from "../../zjson";
import { DecodeStream } from "../decode-stream";
import { Value } from "../values/types";
import { Type } from "./types";
export declare abstract class BasePrimitive<_T> implements Type {
kind: string;
abstract name: string;
abstract create(value: zjson.Value, stream: DecodeStream): Value;
serialize(): zjson.PrimitiveType;
toString(): string;
}