Class Fixtures
- java.lang.Object
-
- org.apache.pinot.segment.local.segment.creator.Fixtures
-
public class Fixtures extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static intMAX_ROWS_IN_SEGMENTstatic longMAX_TIME_FOR_SEGMENT_CLOSE_MSstatic StringSCHEMA_JSONstatic StringTABLE_CONFIG_JSON_TEMPLATEstatic StringTOPIC_NAME
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GenericRowcreateInvalidSingleRow(long randomSeed)static GenericRowcreateMultipleRow(long randomSeed)static GenericRowcreateMultipleRowPartialFailure(long randomSeed)static SchemacreateSchema()static GenericRowcreateSingleRow(long randomSeed)static TableConfigcreateTableConfig(String consumerFactoryClass, String decoderFactoryClass)
-
-
-
Field Detail
-
MAX_ROWS_IN_SEGMENT
public static final int MAX_ROWS_IN_SEGMENT
- See Also:
- Constant Field Values
-
MAX_TIME_FOR_SEGMENT_CLOSE_MS
public static final long MAX_TIME_FOR_SEGMENT_CLOSE_MS
- See Also:
- Constant Field Values
-
TOPIC_NAME
public static final String TOPIC_NAME
- See Also:
- Constant Field Values
-
TABLE_CONFIG_JSON_TEMPLATE
public static final String TABLE_CONFIG_JSON_TEMPLATE
- See Also:
- Constant Field Values
-
SCHEMA_JSON
public static final String SCHEMA_JSON
- See Also:
- Constant Field Values
-
-
Method Detail
-
createTableConfig
public static TableConfig createTableConfig(String consumerFactoryClass, String decoderFactoryClass) throws Exception
- Throws:
Exception
-
createSingleRow
public static GenericRow createSingleRow(long randomSeed)
-
createInvalidSingleRow
public static GenericRow createInvalidSingleRow(long randomSeed)
-
createMultipleRow
public static GenericRow createMultipleRow(long randomSeed)
-
createMultipleRowPartialFailure
public static GenericRow createMultipleRowPartialFailure(long randomSeed)
-
-