Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

select_params.py 1.2KB

1 år sedan
123456789101112131415161718192021222324252627
  1. # -*- coding: utf-8 -*-
  2. class SelectParameters(object): # Select API中参数名常量,参数名是大小写敏感的。具体含义参加api.py中的介绍
  3. CsvHeaderInfo = 'CsvHeaderInfo'
  4. CommentCharacter = 'CommentCharacter'
  5. RecordDelimiter = 'RecordDelimiter'
  6. OutputRecordDelimiter = 'OutputRecordDelimiter'
  7. FieldDelimiter = 'FieldDelimiter'
  8. OutputFieldDelimiter = 'OutputFieldDelimiter'
  9. QuoteCharacter = 'QuoteCharacter'
  10. SplitRange = 'SplitRange'
  11. LineRange = 'LineRange'
  12. CompressionType = 'CompressionType'
  13. KeepAllColumns = 'KeepAllColumns'
  14. OutputRawData = 'OutputRawData'
  15. EnablePayloadCrc = 'EnablePayloadCrc'
  16. OutputHeader = 'OutputHeader'
  17. SkipPartialDataRecord = 'SkipPartialDataRecord'
  18. MaxSkippedRecordsAllowed = 'MaxSkippedRecordsAllowed'
  19. AllowQuotedRecordDelimiter = 'AllowQuotedRecordDelimiter'
  20. Json_Type = 'Json_Type'
  21. ParseJsonNumberAsString = 'ParseJsonNumberAsString'
  22. OverwriteIfExists = 'OverwriteIfExists'
  23. AllowQuotedRecordDelimiter = 'AllowQuotedRecordDelimiter'
  24. class SelectJsonTypes(object): # Select JSOn API中 Json_Type的合法值,大小写敏感。
  25. DOCUMENT = 'DOCUMENT'
  26. LINES = 'LINES'