1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495 |
- import { KeyValuePair } from '../../types/Common';
- import { DataTypeEnum, ConsistencyLevelEnum } from './Types';
- export const CONSISTENCY_LEVEL_OPTIONS: KeyValuePair[] = [
- {
- label: 'Strong',
- value: ConsistencyLevelEnum.Strong,
- },
- {
- label: 'Session',
- value: ConsistencyLevelEnum.Session,
- },
- {
- label: 'Bounded',
- value: ConsistencyLevelEnum.Bounded,
- },
- {
- label: 'Eventually',
- value: ConsistencyLevelEnum.Eventually,
- },
- {
- label: 'Customized',
- value: ConsistencyLevelEnum.Customized,
- },
- ];
- export const VECTOR_FIELDS_OPTIONS: KeyValuePair[] = [
- {
- label: 'Binary Vector',
- value: DataTypeEnum.BinaryVector,
- },
- {
- label: 'Float Vector',
- value: DataTypeEnum.FloatVector,
- },
- ];
- export const ALL_OPTIONS: KeyValuePair[] = [
- // ...VECTOR_FIELDS_OPTIONS,
- {
- label: 'Int8',
- value: DataTypeEnum.Int8,
- },
- {
- label: 'Int16',
- value: DataTypeEnum.Int16,
- },
- {
- label: 'Int32',
- value: DataTypeEnum.Int32,
- },
- {
- label: 'Int64',
- value: DataTypeEnum.Int64,
- },
- {
- label: 'Float',
- value: DataTypeEnum.Float,
- },
- {
- label: 'Double',
- value: DataTypeEnum.Double,
- },
- {
- label: 'Boolean',
- value: DataTypeEnum.Bool,
- },
- {
- label: 'VarChar',
- value: DataTypeEnum.VarChar,
- },
- ];
- export const AUTO_ID_OPTIONS: KeyValuePair[] = [
- {
- label: 'On',
- value: 'true',
- },
- {
- label: 'Off',
- value: 'false',
- },
- ];
- export const PRIMARY_FIELDS_OPTIONS: KeyValuePair[] = [
- {
- label: 'INT64',
- value: DataTypeEnum.Int64,
- },
- {
- label: 'VARCHAR',
- value: DataTypeEnum.VarChar,
- },
- ];
|