Constant Field Values

Contents

org.apache.*

  • org.apache.pinot.segment.local.segment.creator.Fixtures 
    Modifier and Type Constant Field Value
    public static final int MAX_ROWS_IN_SEGMENT 250000
    public static final long MAX_TIME_FOR_SEGMENT_CLOSE_MS 64368000L
    public static final String SCHEMA_JSON "{ \"schemaName\":\"testSchema\", \"metricFieldSpecs\":[{\"name\":\"m\",\"dataType\":\"LONG\"}], \"dimensionFieldSpecs\":[{\"name\":\"d\",\"dataType\":\"STRING\",\"singleValueField\":true}], \"timeFieldSpec\":{ \"incomingGranularitySpec\":{ \"dataType\":\"LONG\", \"timeType\":\"MINUTES\", \"name\":\"minutesSinceEpoch\" }, \"defaultNullValue\":12345 }, \"primaryKeyColumns\": [\"event_id\"]}"
    public static final String TABLE_CONFIG_JSON_TEMPLATE "{ \"metadata\":{}, \"segmentsConfig\":{ \"replicasPerPartition\":\"3\", \"replication\":\"3\", \"replicationNumber\":3, \"retentionTimeUnit\":\"DAYS\", \"retentionTimeValue\":\"3\", \"schemaName\":\"testSchema\", \"segmentAssignmentStrategy\":\"BalanceNumSegmentAssignmentStrategy\", \"segmentPushFrequency\":\"daily\", \"segmentPushType\":\"APPEND\", \"timeColumnName\":\"minutesSinceEpoch\", \"timeType\":\"MINUTES\" }, \"tableIndexConfig\":{ \"invertedIndexColumns\":[], \"lazyLoad\":\"false\", \"loadMode\":\"HEAP\", \"segmentFormatVersion\":null, \"sortedColumn\":[], \"streamConfigs\":{ \"realtime.segment.flush.threshold.rows\":\"250000\", \"realtime.segment.flush.threshold.time\":\"64368000\", \"stream.fakeStream.broker.list\":\"broker:7777\", \"stream.fakeStream.consumer.prop.auto.offset.reset\":\"smallest\", \"stream.fakeStream.consumer.type\":\"simple\", \"stream.fakeStream.consumer.factory.class.name\":\"%s\", \"stream.fakeStream.decoder.class.name\":\"%s\", \"stream.fakeStream.decoder.prop.schema.registry.rest.url\":\"http://1.2.3.4:1766/schemas\", \"stream.fakeStream.decoder.prop.schema.registry.schema.name\":\"UnknownSchema\", \"stream.fakeStream.hlc.zk.connect.string\":\"zoo:2181/kafka-queuing\", \"stream.fakeStream.topic.name\":\"someTopic\", \"stream.fakeStream.zk.broker.url\":\"kafka-broker:2181/kafka-queuing\", \"streamType\":\"fakeStream\" } }, \"tableName\":\"Coffee_REALTIME\", \"tableType\":\"realtime\", \"tenants\":{ \"broker\":\"shared\", \"server\":\"server-1\" }, \"upsertConfig\":{ \"mode\":\"FULL\" }}"
    public static final String TOPIC_NAME "someTopic"
  • org.apache.pinot.segment.local.segment.creator.impl.inv.BitSlicedRangeIndexCreator 
    Modifier and Type Constant Field Value
    public static final int VERSION 2
  • org.apache.pinot.segment.local.segment.creator.impl.inv.RangeIndexCreator 
    Modifier and Type Constant Field Value
    public static final int VERSION 1
  • org.apache.pinot.segment.local.segment.creator.impl.inv.geospatial.BaseH3IndexCreator 
    Modifier and Type Constant Field Value
    public static final int HEADER_LENGTH 10
    public static final int VERSION 1