openpyxl.pivot.cache模块¶
- class openpyxl.pivot.cache.CacheDefinition(invalid=None, saveData=None, refreshOnLoad=None, optimizeMemory=None, enableRefresh=None, refreshedBy=None, refreshedDate=None, refreshedDateIso=None, backgroundQuery=None, missingItemsLimit=None, createdVersion=None, refreshedVersion=None, minRefreshableVersion=None, recordCount=None, upgradeOnRefresh=None, tupleCache=None, supportSubquery=None, supportAdvancedDrill=None, cacheSource=None, cacheFields=(), cacheHierarchies=(), kpis=(), calculatedItems=(), calculatedMembers=(), dimensions=(), measureGroups=(), maps=(), extLst=None, id=None)[源代码]¶
基类:
openpyxl.descriptors.serialisable.Serialisable
- backgroundQuery¶
值的类型必须小于class'bool'>
- cacheFields¶
在包含对象中包装序列
- cacheHierarchies¶
在包含对象中包装序列
- cacheSource¶
值的类型必须小于class“openpyxl.pivot.cache.cachesource”>
- calculatedItems¶
在包含对象中包装序列
- calculatedMembers¶
在包含对象中包装序列
- createdVersion¶
值的类型必须小于class“int”>
- dimensions¶
在包含对象中包装序列
- enableRefresh¶
值的类型必须小于class'bool'>
- extLst¶
值的类型必须为<class'openpyxl.descriptors.excel.extensionList'>
- id¶
值的类型必须小于class'str'>
- invalid¶
值的类型必须小于class'bool'>
- kpis¶
在包含对象中包装序列
- maps¶
在包含对象中包装序列
- measureGroups¶
在包含对象中包装序列
- mime_type = 'application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheDefinition+xml'¶
- minRefreshableVersion¶
值的类型必须小于class“int”>
- missingItemsLimit¶
值的类型必须小于class“int”>
- optimizeMemory¶
值的类型必须小于class'bool'>
- property path¶
- recordCount¶
值的类型必须小于class“int”>
- records = None¶
- refreshOnLoad¶
值的类型必须小于class'bool'>
- refreshedBy¶
值的类型必须小于class'str'>
- refreshedDate¶
值的类型必须小于class“float”>
- refreshedDateIso¶
值的类型必须小于class“datetime.datetime”>
- refreshedVersion¶
值的类型必须小于class“int”>
- rel_type = 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/pivotCacheDefinition'¶
- saveData¶
值的类型必须小于class'bool'>
- supportAdvancedDrill¶
值的类型必须小于class'bool'>
- supportSubquery¶
值的类型必须小于class'bool'>
- tagname = 'pivotCacheDefinition'¶
- tupleCache¶
值的类型必须为<class'openpyxl.pivot.cache.tuplecache'>
- upgradeOnRefresh¶
值的类型必须小于class'bool'>
- class openpyxl.pivot.cache.CacheField(sharedItems=None, fieldGroup=None, mpMap=None, extLst=None, name=None, caption=None, propertyName=None, serverField=None, uniqueList=True, numFmtId=None, formula=None, sqlType=0, hierarchy=0, level=0, databaseField=True, mappingCount=None, memberPropertyField=None)[源代码]¶
基类:
openpyxl.descriptors.serialisable.Serialisable
- caption¶
值的类型必须小于class'str'>
- databaseField¶
值的类型必须小于class'bool'>
- extLst¶
值的类型必须为<class'openpyxl.descriptors.excel.extensionList'>
- fieldGroup¶
值的类型必须小于class“openpyxl.pivot.cache.fieldgroup”>
- formula¶
值的类型必须小于class'str'>
- hierarchy¶
值的类型必须小于class“int”>
- level¶
值的类型必须小于class“int”>
- mappingCount¶
值的类型必须小于class“int”>
- memberPropertyField¶
值的类型必须小于class'bool'>
- mpMap¶
值的类型必须小于class“int”>
- name¶
值的类型必须小于class'str'>
- numFmtId¶
值的类型必须小于class“int”>
- propertyName¶
值的类型必须小于class'str'>
- serverField¶
值的类型必须小于class'bool'>
值的类型必须为<class'openpyxl.pivot.cache.shareditems'>
- sqlType¶
值的类型必须小于class“int”>
- tagname = 'cacheField'¶
- uniqueList¶
值的类型必须小于class'bool'>
- class openpyxl.pivot.cache.CacheHierarchy(uniqueName='', caption=None, measure=None, set=None, parentSet=None, iconSet=0, attribute=None, time=None, keyAttribute=None, defaultMemberUniqueName=None, allUniqueName=None, allCaption=None, dimensionUniqueName=None, displayFolder=None, measureGroup=None, measures=None, count=None, oneField=None, memberValueDatatype=None, unbalanced=None, unbalancedGroup=None, hidden=None, fieldsUsage=None, groupLevels=None, extLst=None)[源代码]¶
基类:
openpyxl.descriptors.serialisable.Serialisable
- allCaption¶
值的类型必须小于class'str'>
- allUniqueName¶
值的类型必须小于class'str'>
- attribute¶
值的类型必须小于class'bool'>
- caption¶
值的类型必须小于class'str'>
- count¶
值的类型必须小于class“int”>
- defaultMemberUniqueName¶
值的类型必须小于class'str'>
- dimensionUniqueName¶
值的类型必须小于class'str'>
- displayFolder¶
值的类型必须小于class'str'>
- extLst¶
值的类型必须为<class'openpyxl.descriptors.excel.extensionList'>
- fieldsUsage¶
值的类型必须小于class“openpyxl.pivot.cache.fieldsusage”>
- groupLevels¶
值的类型必须小于class“openpyxl.pivot.cache.grouplevels”>
值的类型必须小于class'bool'>
- iconSet¶
值的类型必须小于class“int”>
- keyAttribute¶
值的类型必须小于class'bool'>
- measure¶
值的类型必须小于class'bool'>
- measureGroup¶
值的类型必须小于class'str'>
- measures¶
值的类型必须小于class'bool'>
- memberValueDatatype¶
值的类型必须小于class“int”>
- oneField¶
值的类型必须小于class'bool'>
- parentSet¶
值的类型必须小于class“int”>
- set¶
值的类型必须小于class'bool'>
- tagname = 'cacheHierarchy'¶
- time¶
值的类型必须小于class'bool'>
- unbalanced¶
值的类型必须小于class'bool'>
- unbalancedGroup¶
值的类型必须小于class'bool'>
- uniqueName¶
值的类型必须小于class'str'>
- class openpyxl.pivot.cache.CacheSource(type=None, connectionId=None, worksheetSource=None, consolidation=None, extLst=None)[源代码]¶
基类:
openpyxl.descriptors.serialisable.Serialisable
- connectionId¶
值的类型必须小于class“int”>
- consolidation¶
值的类型必须小于class“openpyxl.pivot.cache.consolidation”>
- extLst¶
值的类型必须为<class'openpyxl.descriptors.excel.extensionList'>
- tagname = 'cacheSource'¶
- type¶
Value must be one of {'external', 'consolidation', 'worksheet', 'scenario'}
- worksheetSource¶
值的类型必须小于class“openpyxl.pivot.cache.worksheetsource”>
- class openpyxl.pivot.cache.CalculatedItem(field=None, formula=None, pivotArea=None, extLst=None)[源代码]¶
基类:
openpyxl.descriptors.serialisable.Serialisable
- extLst¶
值的类型必须为<class'openpyxl.descriptors.excel.extensionList'>
- field¶
值的类型必须小于class“int”>
- formula¶
值的类型必须小于class'str'>
- pivotArea¶
值的类型必须小于class“openpyxl.pivot.table.pivotarea”>
- tagname = 'calculatedItem'¶
- class openpyxl.pivot.cache.CalculatedMember(name=None, mdx=None, memberName=None, hierarchy=None, parent=None, solveOrder=None, set=None, extLst=None)[源代码]¶
基类:
openpyxl.descriptors.serialisable.Serialisable
- extLst¶
值的类型必须为<class'openpyxl.descriptors.excel.extensionList'>
- hierarchy¶
值的类型必须小于class'str'>
- mdx¶
值的类型必须小于class'str'>
- memberName¶
值的类型必须小于class'str'>
- name¶
值的类型必须小于class'str'>
- parent¶
值的类型必须小于class'str'>
- set¶
值的类型必须小于class'bool'>
- solveOrder¶
值的类型必须小于class“int”>
- tagname = 'calculatedMember'¶
- class openpyxl.pivot.cache.Consolidation(autoPage=None, pages=(), rangeSets=())[源代码]¶
基类:
openpyxl.descriptors.serialisable.Serialisable
- autoPage¶
值的类型必须小于class'bool'>
- pages¶
在包含对象中包装序列
- rangeSets¶
在包含对象中包装序列
- tagname = 'consolidation'¶
- class openpyxl.pivot.cache.DiscretePr(count=None, x=None)[源代码]¶
基类:
openpyxl.descriptors.serialisable.Serialisable
- count¶
值的类型必须小于class“int”>
- tagname = 'discretePr'¶
- x¶
值的类型必须小于class“int”>
- class openpyxl.pivot.cache.FieldGroup(par=None, base=None, rangePr=None, discretePr=None, groupItems=None)[源代码]¶
基类:
openpyxl.descriptors.serialisable.Serialisable
- base¶
值的类型必须小于class“int”>
- discretePr¶
值的类型必须小于class“openpyxl.pivot.cache.discreteepr”>
- groupItems¶
值的类型必须小于class“openpyxl.pivot.cache.groupitems”>
- par¶
值的类型必须小于class“int”>
- rangePr¶
值的类型必须为<class'openpyxl.pivot.cache.rangepr'>
- tagname = 'fieldGroup'¶
- class openpyxl.pivot.cache.FieldUsage(x=None)[源代码]¶
基类:
openpyxl.descriptors.serialisable.Serialisable
- tagname = 'fieldUsage'¶
- x¶
值的类型必须小于class“int”>
- class openpyxl.pivot.cache.FieldsUsage(count=None, fieldUsage=None)[源代码]¶
基类:
openpyxl.descriptors.serialisable.Serialisable
- count¶
值的类型必须小于class“int”>
- fieldUsage¶
值的类型必须小于class“openpyxl.pivot.cache.fieldusage”>
- class openpyxl.pivot.cache.GroupItems(count=None, m=(), n=(), b=(), e=(), s=(), d=())[源代码]¶
基类:
openpyxl.descriptors.serialisable.Serialisable
- b¶
只能包含声明类型的对象的序列(列表或元组)
- property count¶
- d¶
只能包含声明类型的对象的序列(列表或元组)
- e¶
只能包含声明类型的对象的序列(列表或元组)
- m¶
只能包含声明类型的对象的序列(列表或元组)
- n¶
只能包含声明类型的对象的序列(列表或元组)
- s¶
只能包含声明类型的对象的序列(列表或元组)
- tagname = 'groupItems'¶
- class openpyxl.pivot.cache.GroupLevel(uniqueName=None, caption=None, user=None, customRollUp=None, groups=None, extLst=None)[源代码]¶
基类:
openpyxl.descriptors.serialisable.Serialisable
- caption¶
值的类型必须小于class'str'>
- customRollUp¶
值的类型必须小于class'bool'>
- extLst¶
值的类型必须为<class'openpyxl.descriptors.excel.extensionList'>
- groups¶
值的类型必须小于class“openpyxl.pivot.cache.groups”>
- tagname = 'groupLevel'¶
- uniqueName¶
值的类型必须小于class'str'>
- user¶
值的类型必须小于class'bool'>
- class openpyxl.pivot.cache.GroupLevels(count=None, groupLevel=None)[源代码]¶
基类:
openpyxl.descriptors.serialisable.Serialisable
- count¶
值的类型必须小于class“int”>
- groupLevel¶
值的类型必须为<class'openpyxl.pivot.cache.grouplevel'>
- class openpyxl.pivot.cache.GroupMember(uniqueName=None, group=None)[源代码]¶
基类:
openpyxl.descriptors.serialisable.Serialisable
- group¶
值的类型必须小于class'bool'>
- tagname = 'groupMember'¶
- uniqueName¶
值的类型必须小于class'str'>
- class openpyxl.pivot.cache.GroupMembers(count=None, groupMember=None)[源代码]¶
基类:
openpyxl.descriptors.serialisable.Serialisable
- count¶
值的类型必须小于class“int”>
- groupMember¶
值的类型必须为<class'openpyxl.pivot.cache.groupmember'>
- class openpyxl.pivot.cache.Groups(count=None, group=None)[源代码]¶
基类:
openpyxl.descriptors.serialisable.Serialisable
- count¶
值的类型必须小于class“int”>
- group¶
值的类型必须为<class'openpyxl.pivot.cache.levelgroup'>
- tagname = 'groups'¶
- class openpyxl.pivot.cache.LevelGroup(name=None, uniqueName=None, caption=None, uniqueParent=None, id=None, groupMembers=None)[源代码]¶
基类:
openpyxl.descriptors.serialisable.Serialisable
- caption¶
值的类型必须小于class'str'>
- groupMembers¶
值的类型必须为<class'openpyxl.pivot.cache.groupmembers'>
- id¶
值的类型必须小于class“int”>
- name¶
值的类型必须小于class'str'>
- tagname = 'levelGroup'¶
- uniqueName¶
值的类型必须小于class'str'>
- uniqueParent¶
值的类型必须小于class'str'>
- class openpyxl.pivot.cache.MeasureDimensionMap(measureGroup=None, dimension=None)[源代码]¶
基类:
openpyxl.descriptors.serialisable.Serialisable
- dimension¶
值的类型必须小于class“int”>
- measureGroup¶
值的类型必须小于class“int”>
- tagname = 'map'¶
- class openpyxl.pivot.cache.MeasureGroup(name=None, caption=None)[源代码]¶
基类:
openpyxl.descriptors.serialisable.Serialisable
- caption¶
值的类型必须小于class'str'>
- name¶
值的类型必须小于class'str'>
- tagname = 'measureGroup'¶
- class openpyxl.pivot.cache.OLAPSet(count=None, maxRank=None, setDefinition=None, sortType=None, queryFailed=None, tpls=None, sortByTuple=None)[源代码]¶
基类:
openpyxl.descriptors.serialisable.Serialisable
- count¶
值的类型必须小于class“int”>
- maxRank¶
值的类型必须小于class“int”>
- queryFailed¶
值的类型必须小于class'bool'>
- setDefinition¶
值的类型必须小于class'str'>
- sortByTuple¶
值的类型必须小于class“openpyxl.pivot.fields.tupleList”>
- sortType¶
Value must be one of {'ascending', 'descendingAlpha', 'descending', 'ascendingNatural', 'descendingNatural', 'ascendingAlpha'}
- tagname = 'set'¶
- tpls¶
值的类型必须小于class“openpyxl.pivot.fields.tupleList”>
- class openpyxl.pivot.cache.OLAPSets(count=None, set=None)[源代码]¶
基类:
openpyxl.descriptors.serialisable.Serialisable
- count¶
值的类型必须小于class“int”>
- set¶
值的类型必须小于class“openpyxl.pivot.cache.olapset”>
- class openpyxl.pivot.cache.PCDKPI(uniqueName=None, caption=None, displayFolder=None, measureGroup=None, parent=None, value=None, goal=None, status=None, trend=None, weight=None, time=None)[源代码]¶
基类:
openpyxl.descriptors.serialisable.Serialisable
- caption¶
值的类型必须小于class'str'>
- displayFolder¶
值的类型必须小于class'str'>
- goal¶
值的类型必须小于class'str'>
- measureGroup¶
值的类型必须小于class'str'>
- parent¶
值的类型必须小于class'str'>
- status¶
值的类型必须小于class'str'>
- tagname = 'pCDKPI'¶
- time¶
值的类型必须小于class'str'>
- trend¶
值的类型必须小于class'str'>
- uniqueName¶
值的类型必须小于class'str'>
- value¶
值的类型必须小于class'str'>
- weight¶
值的类型必须小于class'str'>
- class openpyxl.pivot.cache.PCDSDTCEntries(count=None, m=None, n=None, e=None, s=None)[源代码]¶
基类:
openpyxl.descriptors.serialisable.Serialisable
- count¶
值的类型必须小于class“int”>
- e¶
值的类型必须小于class“openpyxl.pivot.fields.error”>
- m¶
值的类型必须小于class“openpyxl.pivot.fields.missing”>
- n¶
值的类型必须小于class“openpyxl.pivot.fields.number”>
- s¶
值的类型必须小于class“openpyxl.pivot.fields.text”>
- tagname = 'pCDSDTCEntries'¶
- class openpyxl.pivot.cache.Page(count=None, pageItem=None)[源代码]¶
基类:
openpyxl.descriptors.serialisable.Serialisable
- property count¶
- pageItem¶
只能包含声明类型的对象的序列(列表或元组)
- tagname = 'PCDSCPage'¶
- class openpyxl.pivot.cache.PageItem(name=None)[源代码]¶
基类:
openpyxl.descriptors.serialisable.Serialisable
- name¶
值的类型必须小于class'str'>
- tagname = 'pageItem'¶
- class openpyxl.pivot.cache.PivotDimension(measure=None, name=None, uniqueName=None, caption=None)[源代码]¶
基类:
openpyxl.descriptors.serialisable.Serialisable
- caption¶
值的类型必须小于class'str'>
- measure¶
值的类型必须小于class'bool'>
- name¶
值的类型必须小于class'str'>
- tagname = 'dimension'¶
- uniqueName¶
值的类型必须小于class'str'>
- class openpyxl.pivot.cache.Query(mdx=None, tpls=None)[源代码]¶
基类:
openpyxl.descriptors.serialisable.Serialisable
- mdx¶
值的类型必须小于class'str'>
- tagname = 'query'¶
- tpls¶
值的类型必须小于class“openpyxl.pivot.fields.tupleList”>
- class openpyxl.pivot.cache.QueryCache(count=None, query=None)[源代码]¶
基类:
openpyxl.descriptors.serialisable.Serialisable
- count¶
值的类型必须小于class“int”>
- query¶
值的类型必须小于class“openpyxl.pivot.cache.query”>
- tagname = 'queryCache'¶
- class openpyxl.pivot.cache.RangePr(autoStart=True, autoEnd=True, groupBy=<class 'range'>, startNum=None, endNum=None, startDate=None, endDate=None, groupInterval=1)[源代码]¶
基类:
openpyxl.descriptors.serialisable.Serialisable
- autoEnd¶
值的类型必须小于class'bool'>
- autoStart¶
值的类型必须小于class'bool'>
- endDate¶
值的类型必须小于class“datetime.datetime”>
- endNum¶
值的类型必须小于class“float”>
- groupBy¶
Value must be one of {'days', 'months', 'hours', 'seconds', 'range', 'minutes', 'years', 'quarters'}
- groupInterval¶
值的类型必须小于class“float”>
- startDate¶
值的类型必须小于class“datetime.datetime”>
- startNum¶
值的类型必须小于class“float”>
- tagname = 'rangePr'¶
- class openpyxl.pivot.cache.RangeSet(i1=None, i2=None, i3=None, i4=None, ref=None, name=None, sheet=None)[源代码]¶
基类:
openpyxl.descriptors.serialisable.Serialisable
- i1¶
值的类型必须小于class“int”>
- i2¶
值的类型必须小于class“int”>
- i3¶
值的类型必须小于class“int”>
- i4¶
值的类型必须小于class“int”>
- name¶
值的类型必须小于class'str'>
- ref¶
值的类型必须小于class'str'>
- sheet¶
值的类型必须小于class'str'>
- tagname = 'rangeSet'¶
- class openpyxl.pivot.cache.ServerFormat(culture=None, format=None)[源代码]¶
基类:
openpyxl.descriptors.serialisable.Serialisable
- culture¶
值的类型必须小于class'str'>
- format¶
值的类型必须小于class'str'>
- tagname = 'serverFormat'¶
- class openpyxl.pivot.cache.ServerFormatList(count=None, serverFormat=None)[源代码]¶
基类:
openpyxl.descriptors.serialisable.Serialisable
- property count¶
- serverFormat¶
只能包含声明类型的对象的序列(列表或元组)
- tagname = 'serverFormats'¶
基类:
openpyxl.descriptors.serialisable.Serialisable
允许从部件建立多序列
从实例中排除 __elements__ 或 __attrs__ 实际上是别名
值的类型必须小于class'bool'>
值的类型必须小于class'bool'>
值的类型必须小于class'bool'>
值的类型必须小于class'bool'>
值的类型必须小于class'bool'>
值的类型必须小于class'bool'>
值的类型必须小于class'bool'>
值的类型必须小于class'bool'>
允许从部件建立多序列
从实例中排除 __elements__ 或 __attrs__ 实际上是别名
允许从部件建立多序列
从实例中排除 __elements__ 或 __attrs__ 实际上是别名
值的类型必须小于class'bool'>
允许从部件建立多序列
从实例中排除 __elements__ 或 __attrs__ 实际上是别名
值的类型必须小于class“datetime.datetime”>
值的类型必须小于class“float”>
值的类型必须小于class“datetime.datetime”>
值的类型必须小于class“float”>
允许从部件建立多序列
从实例中排除 __elements__ 或 __attrs__ 实际上是别名
允许从部件建立多序列
从实例中排除 __elements__ 或 __attrs__ 实际上是别名
- class openpyxl.pivot.cache.TupleCache(entries=None, sets=None, queryCache=None, serverFormats=None, extLst=None)[源代码]¶
基类:
openpyxl.descriptors.serialisable.Serialisable
- entries¶
值的类型必须小于class“openpyxl.pivot.cache.pcdsdtcentries”>
- extLst¶
值的类型必须为<class'openpyxl.descriptors.excel.extensionList'>
- queryCache¶
值的类型必须小于class“openpyxl.pivot.cache.querycache”>
- serverFormats¶
值的类型必须为<class'openpyxl.pivot.cache.serverFormatList'>
- sets¶
值的类型必须小于class“openpyxl.pivot.cache.olapsets”>
- tagname = 'tupleCache'¶