// Code generated by datatype_numeric.gen.go.tmpl. DO NOT EDIT.

// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements.  See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership.  The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use this file except in compliance
// with the License.  You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

package arrow

type Int8Type struct{}

func ( *Int8Type) () Type            { return INT8 }
func ( *Int8Type) () string        { return "int8" }
func ( *Int8Type) () string      { return "int8" }
func ( *Int8Type) () int       { return 8 }
func ( *Int8Type) () int          { return Int8SizeBytes }
func ( *Int8Type) () string { return typeFingerprint() }
func ( *Int8Type) () DataTypeLayout {
	return DataTypeLayout{Buffers: []BufferSpec{
		SpecBitmap(), SpecFixedWidth(Int8SizeBytes)}}
}

type Int16Type struct{}

func ( *Int16Type) () Type            { return INT16 }
func ( *Int16Type) () string        { return "int16" }
func ( *Int16Type) () string      { return "int16" }
func ( *Int16Type) () int       { return 16 }
func ( *Int16Type) () int          { return Int16SizeBytes }
func ( *Int16Type) () string { return typeFingerprint() }
func ( *Int16Type) () DataTypeLayout {
	return DataTypeLayout{Buffers: []BufferSpec{
		SpecBitmap(), SpecFixedWidth(Int16SizeBytes)}}
}

type Int32Type struct{}

func ( *Int32Type) () Type            { return INT32 }
func ( *Int32Type) () string        { return "int32" }
func ( *Int32Type) () string      { return "int32" }
func ( *Int32Type) () int       { return 32 }
func ( *Int32Type) () int          { return Int32SizeBytes }
func ( *Int32Type) () string { return typeFingerprint() }
func ( *Int32Type) () DataTypeLayout {
	return DataTypeLayout{Buffers: []BufferSpec{
		SpecBitmap(), SpecFixedWidth(Int32SizeBytes)}}
}

type Int64Type struct{}

func ( *Int64Type) () Type            { return INT64 }
func ( *Int64Type) () string        { return "int64" }
func ( *Int64Type) () string      { return "int64" }
func ( *Int64Type) () int       { return 64 }
func ( *Int64Type) () int          { return Int64SizeBytes }
func ( *Int64Type) () string { return typeFingerprint() }
func ( *Int64Type) () DataTypeLayout {
	return DataTypeLayout{Buffers: []BufferSpec{
		SpecBitmap(), SpecFixedWidth(Int64SizeBytes)}}
}

type Uint8Type struct{}

func ( *Uint8Type) () Type            { return UINT8 }
func ( *Uint8Type) () string        { return "uint8" }
func ( *Uint8Type) () string      { return "uint8" }
func ( *Uint8Type) () int       { return 8 }
func ( *Uint8Type) () int          { return Uint8SizeBytes }
func ( *Uint8Type) () string { return typeFingerprint() }
func ( *Uint8Type) () DataTypeLayout {
	return DataTypeLayout{Buffers: []BufferSpec{
		SpecBitmap(), SpecFixedWidth(Uint8SizeBytes)}}
}

type Uint16Type struct{}

func ( *Uint16Type) () Type            { return UINT16 }
func ( *Uint16Type) () string        { return "uint16" }
func ( *Uint16Type) () string      { return "uint16" }
func ( *Uint16Type) () int       { return 16 }
func ( *Uint16Type) () int          { return Uint16SizeBytes }
func ( *Uint16Type) () string { return typeFingerprint() }
func ( *Uint16Type) () DataTypeLayout {
	return DataTypeLayout{Buffers: []BufferSpec{
		SpecBitmap(), SpecFixedWidth(Uint16SizeBytes)}}
}

type Uint32Type struct{}

func ( *Uint32Type) () Type            { return UINT32 }
func ( *Uint32Type) () string        { return "uint32" }
func ( *Uint32Type) () string      { return "uint32" }
func ( *Uint32Type) () int       { return 32 }
func ( *Uint32Type) () int          { return Uint32SizeBytes }
func ( *Uint32Type) () string { return typeFingerprint() }
func ( *Uint32Type) () DataTypeLayout {
	return DataTypeLayout{Buffers: []BufferSpec{
		SpecBitmap(), SpecFixedWidth(Uint32SizeBytes)}}
}

type Uint64Type struct{}

func ( *Uint64Type) () Type            { return UINT64 }
func ( *Uint64Type) () string        { return "uint64" }
func ( *Uint64Type) () string      { return "uint64" }
func ( *Uint64Type) () int       { return 64 }
func ( *Uint64Type) () int          { return Uint64SizeBytes }
func ( *Uint64Type) () string { return typeFingerprint() }
func ( *Uint64Type) () DataTypeLayout {
	return DataTypeLayout{Buffers: []BufferSpec{
		SpecBitmap(), SpecFixedWidth(Uint64SizeBytes)}}
}

type Float32Type struct{}

func ( *Float32Type) () Type            { return FLOAT32 }
func ( *Float32Type) () string        { return "float32" }
func ( *Float32Type) () string      { return "float32" }
func ( *Float32Type) () int       { return 32 }
func ( *Float32Type) () int          { return Float32SizeBytes }
func ( *Float32Type) () string { return typeFingerprint() }
func ( *Float32Type) () DataTypeLayout {
	return DataTypeLayout{Buffers: []BufferSpec{
		SpecBitmap(), SpecFixedWidth(Float32SizeBytes)}}
}

type Float64Type struct{}

func ( *Float64Type) () Type            { return FLOAT64 }
func ( *Float64Type) () string        { return "float64" }
func ( *Float64Type) () string      { return "float64" }
func ( *Float64Type) () int       { return 64 }
func ( *Float64Type) () int          { return Float64SizeBytes }
func ( *Float64Type) () string { return typeFingerprint() }
func ( *Float64Type) () DataTypeLayout {
	return DataTypeLayout{Buffers: []BufferSpec{
		SpecBitmap(), SpecFixedWidth(Float64SizeBytes)}}
}

type Date32Type struct{}

func ( *Date32Type) () Type            { return DATE32 }
func ( *Date32Type) () string        { return "date32" }
func ( *Date32Type) () string      { return "date32" }
func ( *Date32Type) () int       { return 32 }
func ( *Date32Type) () int          { return Date32SizeBytes }
func ( *Date32Type) () string { return typeFingerprint() }
func ( *Date32Type) () DataTypeLayout {
	return DataTypeLayout{Buffers: []BufferSpec{
		SpecBitmap(), SpecFixedWidth(Date32SizeBytes)}}
}

type Date64Type struct{}

func ( *Date64Type) () Type            { return DATE64 }
func ( *Date64Type) () string        { return "date64" }
func ( *Date64Type) () string      { return "date64" }
func ( *Date64Type) () int       { return 64 }
func ( *Date64Type) () int          { return Date64SizeBytes }
func ( *Date64Type) () string { return typeFingerprint() }
func ( *Date64Type) () DataTypeLayout {
	return DataTypeLayout{Buffers: []BufferSpec{
		SpecBitmap(), SpecFixedWidth(Date64SizeBytes)}}
}

var (
	PrimitiveTypes = struct {
		Int8    DataType
		Int16   DataType
		Int32   DataType
		Int64   DataType
		Uint8   DataType
		Uint16  DataType
		Uint32  DataType
		Uint64  DataType
		Float32 DataType
		Float64 DataType
		Date32  DataType
		Date64  DataType
	}{

		Int8:    &Int8Type{},
		Int16:   &Int16Type{},
		Int32:   &Int32Type{},
		Int64:   &Int64Type{},
		Uint8:   &Uint8Type{},
		Uint16:  &Uint16Type{},
		Uint32:  &Uint32Type{},
		Uint64:  &Uint64Type{},
		Float32: &Float32Type{},
		Float64: &Float64Type{},
		Date32:  &Date32Type{},
		Date64:  &Date64Type{},
	}
)